Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottwalters/bd6010938a60fc17084cead02c701c11 to your computer and use it in GitHub Desktop.
Save scottwalters/bd6010938a60fc17084cead02c701c11 to your computer and use it in GitHub Desktop.
root@fluffy:/tmp# newfs_msdos -S 8192 -F 32 /dev/rsd3i
/dev/rsd3i: 1953286704 sectors in 244160838 FAT32 clusters (65536 bytes/cluster)
bps=8192 spc=8 res=4 nft=2 mid=0xf8 spt=63 hds=255 hid=16 bsec=1953525152 bspf=119220 rdcl=2 infs=1 bkbs=2
root@fluffy:/tmp# mount_msdos /dev/sd3i /mnt/flash
root@fluffy:/tmp# newfs_msdos -S $((8192*2)) -F 32 /dev/rsd3i'
/dev/rsd3i: 1953405920 sectors in 244175740 FAT32 clusters (131072 bytes/cluster)
bps=16384 spc=8 res=4 nft=2 mid=0xf8 spt=63 hds=255 hid=16 bsec=1953525152 bspf=59614 rdcl=2 infs=1 bkbs=2
root@fluffy:/tmp# mount_msdos /dev/sd3i /mnt/flash
mount_msdos: /dev/sd3i on /mnt/flash: not an MSDOS filesystem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment