Skip to content

Commit 406b667

Browse files
authored
Merge pull request #42 from lafleurdeboum/lafleurdeboum-patch-1
mkudffs command syntax correction. Fixes #40.
2 parents 23bf9f4 + 427aa6b commit 406b667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

format-udf.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ if [[ $TOOL_UDF = "$TOOL_MKUDFFS" ]]; then
695695
# --lvid - logical volume identifier
696696
# --vid - volume identifier
697697
# --media-type - "hd" type covers both hard drives and USB drives
698-
($SUDO mkudffs --utf8 --blocksize="$FILE_SYSTEM_BLOCK_SIZE" --udfrev=0x0201 --lvid="$LABEL" --vid="$LABEL" --media-type=hd "/dev/$DEVICE") || (echo "[-] Format failed!" >&2; false)
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)
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.
701701
# -m - "blk" type covers both hard drives and USB drives

0 commit comments

Comments
 (0)