misc/72117: umount -a does not unmount msdosfs device

Nehal nehalmistry at gmx.net
Thu Sep 30 18:20:24 PDT 2004

The following reply was made to PR misc/72117; it has been noted by GNATS.

From: Nehal <nehalmistry at gmx.net>
To: Peter Edwards <peter.edwards at vordel.com>
Cc: freebsd-gnats-submit at FreeBSD.org, ru at freebsd.org,
	peadar at freebsd.org
Subject: Re: misc/72117: umount -a does not unmount msdosfs device
Date: Thu, 30 Sep 2004 18:09:35 -0700

 On Thu, 30 Sep 2004 19:26:21 +0100
 Peter Edwards <peter.edwards at vordel.com> wrote:
 > Did you give the FS type as "msdos" or "msdosfs" in /etc/fstab?
 > Some time ago, the filesystem "msdos" was renamed with "msdosfs"
 > for consistency.
 > There was code added to "mount" to cope with the rename, but not
 > to umount, the result being that filesystems marked as type
 > "msdos" will mount properly (with or without -a), but won't
 > unmount with -a. You can just update your /etc/fstab, but I've
 > attached a patch to add the compatibilty glue to unmount.
 > Ruslan, you did the original rename: Can I commit this?
 > Alternatively, I can work up a similar hack for "getfsent()" in
 > libc, and take the glue out of mount/unmount: It'd be more
 > intrusive, but less likely to surprise other consumers of
 > getfsent/getvfsent.
 > Cheers,
 > Peadar.
 apparently i did use 'msdos' in fstab.
 i changed it to 'msdosfs', 'umount -a' works fine now.
 - Nehal

More information about the freebsd-bugs mailing list