You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-5
Original file line number
Diff line number
Diff line change
@@ -26,9 +26,13 @@ format-udf was created to address some OS-specific quirks that prevent a naively
26
26
* Windows does not support hard disks without a partition table. (This is strange because Windows does not apply the same limitation to flash drives.)
27
27
* macOS seems to only mount UDF file systems that utilize the full disk (not just a partition)
28
28
29
-
At first glance, these constraints appear to be in partial conflict. The solution, as suggested by [Pieter](https://web.archive.org/web/20151103171649/http://sipa.ulyssis.org/2010/02/filesystems-for-portable-disks/), is to place a fake partition table (via [MBR](https://en.wikipedia.org/wiki/Master_boot_record)) in the first block of the drive, which lists a single entire-disk partition. This works because UDF (perhaps intentionally) doesn't utilize the first block. Unfortunately, there has been no easy way to do this, while juggling all of the other variables (such as device logical block size).
29
+
At first glance, these constraints appear to be in partial conflict. The solution, as suggested by [Pieter](https://web.archive.org/web/20151103171649/http://sipa.ulyssis.org/2010/02/filesystems-for-portable-disks/), is to place a fake partition table (via [MBR](https://en.wikipedia.org/wiki/Master_boot_record)) in the first block of the drive, which lists a single entire-disk partition. This works because UDF (perhaps intentionally) doesn't utilize the first block. Unfortunately, there has been no easy way to do this, while juggling all of the other variables (such as device logical block size). format-udf writes such a fake MBR for added compatibility on Windows. If this is not what you desire, you can disable the MBR with `-p none`.
30
30
31
-
format-udf writes such a fake MBR for added compatibility on Windows. If this is not what you desire, you can disable the MBR with `-p none`.
31
+
The goal of this project is to **provide access to a cross-platform file system with modern features**, in such a way that is:
32
+
1. Easy to use for the average user
33
+
2. Maximally compatible across operating systems
34
+
3. As compliant as is reasonable with the UDF specification
35
+
4. Maximally flexible to help users with uncommon needs
This is an expert-only option. Please consult the README for details.
132
135
133
136
-f
134
137
Forces non-interactive mode. Useful for scripting.
@@ -281,7 +284,7 @@ Please disconnect/reconnect your drive now.
281
284
# Caveats
282
285
283
286
### Block Size
284
-
If's extremely important that format-udf use the correct block size when formatting your drive. format-udf will attempt to detect and use the correct (logical) block size. However, in rare cases, Linux can [lie](https://bugzilla.kernel.org/show_bug.cgi?id=102271) about the block size. macOS is known to report the incorrect block size in certain scenarios as well. In these cases, the format-udf `-b BLOCK_SIZE` option can be used to explicitly override the detected block size value.
287
+
If's extremely important that format-udf use the correct block size when formatting your drive. format-udf will attempt to detect and use the correct (logical) block size. If you know what you're doing, the format-udf `-b BLOCK_SIZE` option can be used to explicitly override the detected block size value.
285
288
286
289
If the wrong block size is used while formatting (i.e. one that doesn't match the logical block size of your drive), the resultant drive will likely have OS compatibility issues and suffer from non-optimal performance issues.
0 commit comments