Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2016 14:59:19 -0700 (MST)
From:      Jakub Lach <jakub_lach@mailplus.pl>
To:        freebsd-stable@freebsd.org
Subject:   Should 4K AF disk with FAT32 (newfs_msdos -F32 -S 4096) be unmountable?
Message-ID:  <1481752759263-6152018.post@n6.nabble.com>

next in thread | raw e-mail | index | archive | help

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1481752759263-6152018.post>