-CURRENT does not recognize standard mount options

Joe Marcus Clarke marcus at FreeBSD.org
Mon May 29 21:08:07 PDT 2006


I'm trying to mount a USB stick with an MS-DOS file system on it, and
I'm specifying -o sync.  This mount works in RELENG_6, and the source
for mount_msdosfs.c makes me think it should work in -CURRENT.  However,
this is what I see:

# mount_msdosfs -o sync /dev/da1s1 /mnt
mount_msdosfs: /dev/da1s1: Invalid argument

And in dmesg:

mount option <sync> is unknown
Mount point /mnt had 1 dangling refs

So the kernel is rejecting this option.  I looked through the kernel
code, and it doesn't look like this option is in fact supported by
msdosfs.  However, I can't see why it works in -STABLE.  Give that
mount_msdosfs.c looks like it wants to support MNT_STDOPTS as well as
MNT_SYNC, I'd think that sync should work.  I haven't tracked down
exactly why this is happening yet, but I'd appreciate any pointers.

I'm running:

FreeBSD fugu.marcuscom.com 7.0-CURRENT FreeBSD 7.0-CURRENT #72: Sun May
7 00:51:14 EDT 2006
gnome at fugu.marcuscom.com:/space2/obj/usr/src/sys/FUGU  i386

But others have reported the same thing on more recent -CURRENT as well.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060530/c775a7e4/attachment.pgp


More information about the freebsd-current mailing list