GNOME Files doesn't see the resulting drive of format-udf.sh as mountable.
[+] Testing dependencies...
[+] Looking for drive listing tool...which: no diskutil in (/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin)
using /sbin/blockdev
[+] Looking for unmount tool...which: no diskutil in (/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin)
using /usr/bin/umount
[+] Looking for UDF tool...which: no newfs_udf in (/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin)
using /usr/bin/mkudffs
[+] Parsing options...
[+] Validating arguments...
[+] Gathering drive information...
BUP Fast HDD
RO RA SSZ BSZ StartSec Size Device
rw 1024 512 512 0 4000797859328 /dev/sdc
The above-listed device (and partitions, if any) will be completely erased.
Type 'yes' if this is what you intend: yes
[+] Detecting total size...
[*] Using total size of 4000797859328
[+] Validating detected total size...
[+] Detecting physical block size...
[*] Using block size of 4096
[+] Validating detected block size...
[+] Unmounting device...
umount: /dev/sdc: not mounted
[+] Zeroing out first chunk of device...
4096+0 records in
4096+0 records out
16777216 bytes (17 MB, 16 MiB) copied, 0.848001 s, 19.8 MB/s
[+] Formatting /dev/sdc ...
start=0, blocks=8, type=RESERVED
start=8, blocks=3, type=VRS
start=11, blocks=245, type=USPACE
start=256, blocks=1, type=ANCHOR
start=257, blocks=16, type=PVDS
start=273, blocks=1, type=LVID
start=274, blocks=976756758, type=PSPACE
start=976757032, blocks=1, type=ANCHOR
start=976757033, blocks=239, type=USPACE
start=976757272, blocks=16, type=RVDS
start=976757288, blocks=1, type=ANCHOR
[+] Writing fake MBR...
16+0 records in
16+0 records out
16 bytes copied, 0.000415576 s, 38.5 kB/s
2+0 records in
2+0 records out
2 bytes copied, 0.0398515 s, 0.1 kB/s
[+] Successfully formatted /dev/sdc: PTTYPE="dos"
Please disconnect/reconnect your drive now.
taohansen@nohostname:~/Documents> ./format-udf.sh sdc Morrow
[+] Testing dependencies...
[+] Looking for drive listing tool...which: no diskutil in (/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin)
using /sbin/blockdev
[+] Looking for unmount tool...which: no diskutil in (/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin)
using /usr/bin/umount
[+] Looking for UDF tool...which: no newfs_udf in (/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin)
using /usr/bin/mkudffs
[+] Parsing options...
[+] Validating arguments...
[+] Gathering drive information...
/dev/sdc: PTTYPE="dos"
BUP Fast HDD
RO RA SSZ BSZ StartSec Size Device
rw 1024 512 512 0 4000797859328 /dev/sdc
rw 1024 512 512 0 500099731968 /dev/sdc1
The above-listed device (and partitions, if any) will be completely erased.
Type 'yes' if this is what you intend: yes
[+] Detecting total size...
[*] Using total size of 4000797859328
[+] Validating detected total size...
[+] Detecting physical block size...
[*] Using block size of 4096
[+] Validating detected block size...
[+] Unmounting device...
umount: /dev/sdc: not mounted
[+] Zeroing out first chunk of device...
4096+0 records in
4096+0 records out
16777216 bytes (17 MB, 16 MiB) copied, 0.872517 s, 19.2 MB/s
[+] Formatting /dev/sdc ...
start=0, blocks=8, type=RESERVED
start=8, blocks=3, type=VRS
start=11, blocks=245, type=USPACE
start=256, blocks=1, type=ANCHOR
start=257, blocks=16, type=PVDS
start=273, blocks=1, type=LVID
start=274, blocks=976756758, type=PSPACE
start=976757032, blocks=1, type=ANCHOR
start=976757033, blocks=239, type=USPACE
start=976757272, blocks=16, type=RVDS
start=976757288, blocks=1, type=ANCHOR
[+] Writing fake MBR...
16+0 records in
16+0 records out
16 bytes copied, 0.000392997 s, 40.7 kB/s
2+0 records in
2+0 records out
2 bytes copied, 0.000148946 s, 13.4 kB/s
[+] Successfully formatted /dev/sdc: PTTYPE="dos"
Please disconnect/reconnect your drive now.