Skip to content

Commit cec86e9

Browse files
committed
Update README
1 parent 1797a9f commit cec86e9

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,12 @@ Please disconnect/reconnect your drive now.
250250

251251
On macOS:
252252
```
253-
computer:~ user$ ./format-udf.sh disk2 "My UDF External Drive"
253+
computer:~ user$ ./format-udf.sh /dev/disk4 "My UDF External Drive"
254254
[+] Validating arguments...
255255
[+] Testing dependencies...
256-
[+] Looking for drive info tool... using /usr/sbin/ioreg
256+
[+] Looking for drive detail tool... using /usr/sbin/ioreg
257257
[+] Looking for drive listing tool... using /usr/sbin/diskutil
258+
[+] Looking for drive info tool... using /usr/sbin/diskutil
258259
[+] Looking for drive summary tool... using (none)
259260
[+] Looking for unmount tool... using /usr/sbin/diskutil
260261
[+] Looking for UDF tool... using /sbin/newfs_udf
@@ -265,31 +266,32 @@ computer:~ user$ ./format-udf.sh disk2 "My UDF External Drive"
265266
[+] Validating file system block size...
266267
[*] Using file system block size of 512
267268
[+] Detecting total size...
268-
[*] Detected total size of 31040995328
269+
[*] Detected total size of 8019509248
269270
[+] Validating detected total size...
270271
[+] Gathering drive information...
271-
/dev/disk2 (external, physical):
272+
/dev/disk4 (external, physical):
272273
#: TYPE NAME SIZE IDENTIFIER
273-
0: Old Drive *31.0 GB disk2
274+
0: FDisk_partition_scheme *8.0 GB disk4
275+
1: Windows_FAT_32 Old Drive 8.0 GB disk4s1
274276
The above-listed device (and partitions, if any) will be completely erased.
275277
Type 'yes' if this is what you intend: yes
276278
[+] Unmounting device...
277279
Password:
278-
Unmount of all volumes on disk2 was successful
280+
Unmount of all volumes on disk4 was successful
279281
[+] Zeroing out first chunk of device...
280282
4096+0 records in
281283
4096+0 records out
282-
2097152 bytes transferred in 2.971664 secs (705716 bytes/sec)
283-
[+] Formatting /dev/disk2 ...
284-
write to block device: /dev/disk2 last written block address: 60626943
284+
2097152 bytes transferred in 3.113956 secs (673469 bytes/sec)
285+
[+] Formatting /dev/disk4 ...
286+
write to block device: /dev/disk4 last written block address: 15663103
285287
[+] Writing fake MBR...
286288
16+0 records in
287289
16+0 records out
288-
16 bytes transferred in 0.034208 secs (468 bytes/sec)
290+
16 bytes transferred in 0.000615 secs (26021 bytes/sec)
289291
2+0 records in
290292
2+0 records out
291-
2 bytes transferred in 0.002100 secs (952 bytes/sec)
292-
[+] Successfully formatted
293+
2 bytes transferred in 0.000644 secs (3106 bytes/sec)
294+
[+] Successfully formatted
293295
Please disconnect/reconnect your drive now.
294296
```
295297

0 commit comments

Comments
 (0)