Jakub Lach
2016-Dec-14 21:59 UTC
Should 4K AF disk with FAT32 (newfs_msdos -F32 -S 4096) be unmountable?
Hello, FreeBSD 11.0-STABLE #0 r309991 here, if I use -S 4096 the mount_msdosfs complains about "mount_msdosfs: /dev/ada1s1: Invalid argument". Is this expected? See example: $ sudo newfs_msdos -F32 -S 4096 /dev/ada1s1 Password: newfs_msdos: trim 3 sectors to adjust to a multiple of 63 /dev/ada1s1: 244182720 sectors in 3815355 FAT32 clusters (262144 bytes/cluster) BytesPerSec=4096 SecPerClust=64 ResSectors=4 FATs=2 Media=0xf0 SecPerTrack=63 Heads=16 HiddenSecs=0 HugeSectors=244190205 FATsecs=3726 RootCluster=2 FSInfo=1 Backup=2 $ sudo mount_msdosfs -o large /dev/ada1s1 /mnt/ Password: $ sudo mount_msdosfs: /dev/ada1s1: Invalid argument $ sudo newfs_msdos -F32 /dev/ada1s1 Password: newfs_msdos: trim 24 sectors to adjust to a multiple of 63 /dev/ada1s1: 1953044736 sectors in 30516324 FAT32 clusters (32768 bytes/cluster) BytesPerSec=512 SecPerClust=64 ResSectors=32 FATs=2 Media=0xf0 SecPerTrack=63 Heads=16 HiddenSecs=0 HugeSectors=1953521640 FATsecs=238409 RootCluster=2 FSInfo=1 Backup=2 $ sudo mount_msdosfs -o large /dev/ada1s1 /mnt/ Password: $ etc... -- View this message in context: http://freebsd.1045724.x6.nabble.com/Should-4K-AF-disk-with-FAT32-newfs-msdos-F32-S-4096-be-unmountable-tp6152018.html Sent from the freebsd-stable mailing list archive at Nabble.com.