File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -691,10 +691,10 @@ echo "[+] Formatting /dev/$DEVICE ..."
691
691
if [[ $TOOL_UDF = " $TOOL_MKUDFFS " ]]; then
692
692
# --utf8 - encode file names in UTF8 (since pali/udftools@52afdce, this must be specified as the first argument)
693
693
# --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)
694
695
# --udfrev - the udf revision to use. 2.01 is the latest revision available that supports writing in Linux.
695
696
# --lvid - logical volume identifier
696
697
# --vid - volume identifier
697
- # --media-type - "hd" type covers both hard drives and USB drives
698
698
($SUDO mkudffs --utf8 --blocksize=" $FILE_SYSTEM_BLOCK_SIZE " --media-type=hd --udfrev=0x0201 --lvid=" $LABEL " --vid=" $LABEL " " /dev/$DEVICE " ) || (echo " [-] Format failed!" >&2 ; false)
699
699
elif [[ $TOOL_UDF = " $TOOL_NEWFS_UDF " ]]; then
700
700
# -b - the size of blocks in bytes. should be the same as the drive's physical block size.
You can’t perform that action at this time.
0 commit comments