From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 1 01:20:24 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EC1416A4D0 for ; Fri, 1 Oct 2004 01:20:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D009943D2F for ; Fri, 1 Oct 2004 01:20:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i911KEAF044988 for ; Fri, 1 Oct 2004 01:20:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i911KE0g044987; Fri, 1 Oct 2004 01:20:14 GMT (envelope-from gnats) Date: Fri, 1 Oct 2004 01:20:14 GMT Message-Id: <200410010120.i911KE0g044987@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Nehal Subject: Re: misc/72117: umount -a does not unmount msdosfs device X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nehal List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2004 01:20:24 -0000 The following reply was made to PR misc/72117; it has been noted by GNATS. From: Nehal To: Peter Edwards 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 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