Skip to content

Commit a2545f2

Browse files
committed
Update comment
1 parent de8efe0 commit a2545f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

format-udf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,10 +691,10 @@ echo "[+] Formatting /dev/$DEVICE ..."
691691
if [[ $TOOL_UDF = "$TOOL_MKUDFFS" ]]; then
692692
# --utf8 - encode file names in UTF8 (since pali/udftools@52afdce, this must be specified as the first argument)
693693
# --blocksize - the size of blocks in bytes. should be the same as the drive's physical block size.
694+
# --media-type - "hd" type covers both hard drives and USB drives (since pali/udftools@3aef271, this must be specified before --udfrev)
694695
# --udfrev - the udf revision to use. 2.01 is the latest revision available that supports writing in Linux.
695696
# --lvid - logical volume identifier
696697
# --vid - volume identifier
697-
# --media-type - "hd" type covers both hard drives and USB drives
698698
($SUDO mkudffs --utf8 --blocksize="$FILE_SYSTEM_BLOCK_SIZE" --media-type=hd --udfrev=0x0201 --lvid="$LABEL" --vid="$LABEL" "/dev/$DEVICE") || (echo "[-] Format failed!" >&2; false)
699699
elif [[ $TOOL_UDF = "$TOOL_NEWFS_UDF" ]]; then
700700
# -b - the size of blocks in bytes. should be the same as the drive's physical block size.

0 commit comments

Comments
 (0)