bin/108751: mount_msdosfs chokes on "noauto" fstab option

Neil Hoggarth neil at hoggarth.me.uk
Sun Feb 4 11:40:16 UTC 2007


>Number:         108751
>Category:       bin
>Synopsis:       mount_msdosfs chokes on "noauto" fstab option
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 04 11:40:15 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Neil Hoggarth
>Release:        RELENG_6
>Organization:
>Environment:
FreeBSD neilhoggarth-2.dsl.easynet.co.uk 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Feb  3 15:04:42 GMT 2007     root at neilhoggarth-2.dsl.easynet.co.uk:/usr/obj/home/src/sys/SHADOWFAX  i386
>Description:
I updated my 6-STABLE system on 3rd February, the previous rebuild being on 2nd 
January.

I have the following line in my /etc/fstab file, for mounting a removable USB
flash drive with an MSDOSFS filesystem:

  /dev/da0s1 /flash msdosfs rw,noauto,-m=0777 0 0

Following yesterday's update, the command "mount flash" fails with the error:

  mount_msdosfs: /dev/da0s1: Invalid argument

and the following kernel error is logged:

  mount option <auto> is unknown

If I remove the noauto option then the mount succeeds normally.

I would guess that this change is due CVS revision 1.36.2.1 to
src/sbin/mount_msdosfs/mount_msdosfs.c (Sun Jan 28 18:01:28 2007 UTC by rodrigc).
 
>How-To-Repeat:
List an msdosfs filesystem in /etc/fstab with "noauto" amongst the options.
Attempt to mount it with "mount /mountpointname".

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list