From nobody@FreeBSD.org  Sun Sep 26 21:59:51 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8823816A4E2
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 Sep 2004 21:59:50 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7DA3943D45
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 Sep 2004 21:59:50 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i8QLxom2084621
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 Sep 2004 21:59:50 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i8QLxodg084620;
	Sun, 26 Sep 2004 21:59:50 GMT
	(envelope-from nobody)
Message-Id: <200409262159.i8QLxodg084620@www.freebsd.org>
Date: Sun, 26 Sep 2004 21:59:50 GMT
From: Nehal Mistry <nehalmistry@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: umount -a does not unmount msdosfs device
X-Send-Pr-Version: www-2.3

>Number:         72117
>Category:       misc
>Synopsis:       umount -a does not unmount msdosfs device
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 26 22:00:42 GMT 2004
>Closed-Date:    Fri Oct 01 03:26:45 GMT 2004
>Last-Modified:  Fri Oct 01 03:26:45 GMT 2004
>Originator:     Nehal Mistry
>Release:        FreeBSD 5.3-BETA5 i386
>Organization:
>Environment:
FreeBSD Nehal 5.3-BETA5 FreeBSD 5.3-BETA5 #0: Sun Sep 19 02:35:12 UTC 2004     root@wv1u.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
if i have a msdosfs filesystem mounted via /etc/fstab, and i try unmounting it with 'umount -a', it doesn't unmount. although devices with other filesystems unmount just fine.
>How-To-Repeat:
1. add an entry for 'msdosfs' device in /etc/fstab
2. mount it with 'mount -a'
3. unmount it with 'umount -a', it will not unmount.

>Fix:
      
>Release-Note:
>Audit-Trail:

From: Nehal <nehalmistry@gmx.net>
To: Peter Edwards <peter.edwards@vordel.com>
Cc: freebsd-gnats-submit@FreeBSD.org, ru@freebsd.org,
	peadar@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@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
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Fri Oct 1 03:26:32 GMT 2004 
State-Changed-Why:  
Submitter reports problem resolved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72117 
>Unformatted:
