Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Mar 2006 01:59:50 +0100
From:      Jakob Breivik Grimstveit <jakob@grimstveit.no>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-questions-local@be-well.ilk.org
Subject:   Re: Problems mounting msdosfs
Message-ID:  <20060312015950.5c6348d9@corona.grimstveit.no>
In-Reply-To: <441wxb3h8i.fsf@be-well.ilk.org>
References:  <20060308025057.2ada3a35@corona.grimstveit.no> <441wxb3h8i.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Lowell Gilbert wrote on Thu, 09 Mar 2006 08:00:

> Jakob Breivik Grimstveit <jakob@grimstveit.no> writes:
>=20
> > I'm still experiencing same problems Christer Solskogen reported two ye=
ars
> > ago on FreeBSD 5.2.1 with msdosfs mount failure upon boot making it go
> > into single-user-mode (having to press enter (into shell) and ctrl+d (to
> > continue booting) to get box up after reboot:
> >=20
> > http://groups.google.no/group/mailing.freebsd.current/browse_thread/thr=
ead/4e660419935ea6e5/80580ef045e0e1d1
> >=20
> > However, doing a `mount -a` after boot brings them both in.
> >=20
> > I have the following in my fstab:
> >=20
> > $ grep msdosfs /etc/fstab =20
> > /dev/ad4s5 /mnt/share1 msdosfs rw 2 2
> > /dev/ad4s6 /mnt/share2 msdosfs rw 2 2
> >=20
> > $ uname -r
> > 5.4-RELEASE-p7
> >=20
> > $ grep 'boot.c' /usr/src/sbin/fsck_msdosfs/boot.c=20
> > __RCSID("$NetBSD: boot.c,v 1.9 2003/07/24 19:25:46 ws Exp $");
> >   "$FreeBSD: src/sbin/fsck_msdosfs/boot.c,v 1.4 2004/04/20 11:41:57 tjr
> > Exp $";
> >=20
> > Any suggestions as to what to do with this?
>=20
> Maybe it's having trouble loading the msdosfs kernel module before
> boot?  Try building that into your kernel.

Actually, this seems to be a very strict parsing of the fstab when it comes=
 to
msdosfs file systems. I Googled a lot (even further, I've been struggling
with this problem for several years now), and suddenly, the below worked
nicely. Case closed!

$ cat /etc/fstab | grep share
/dev/ad4s5 /mnt/share1 msdosfs rw,-m644,-M755,-ujakobbg,-gjakobbg 0 0
/dev/ad4s6 /mnt/share2 msdosfs rw,-m644,-M755,-ujakobbg,-gjakobbg 0 0

Thanks for a great list!

--=20
Jakob Breivik Grimstveit, <http://www.grimstveit.no/jakob/>, 48298152
Bes=F8k Newsergalleriet: <http://www.newsergalleriet.no/>;

All power corrupts, but we need electricity.



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