From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 28 07:10:02 2005 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 D37AA16A4CE for ; Mon, 28 Mar 2005 07:10:02 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E02C43D3F for ; Mon, 28 Mar 2005 07:10:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2S7A21Y084834 for ; Mon, 28 Mar 2005 07:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2S7A2T3084833; Mon, 28 Mar 2005 07:10:02 GMT (envelope-from gnats) Resent-Date: Mon, 28 Mar 2005 07:10:02 GMT Resent-Message-Id: <200503280710.j2S7A2T3084833@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nobuhiro Yasutomi Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24ECB16A4CE for ; Mon, 28 Mar 2005 07:04:21 +0000 (GMT) Received: from mail530.nifty.com (mail530.nifty.com [202.248.37.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4760743D2D for ; Mon, 28 Mar 2005 07:04:20 +0000 (GMT) (envelope-from nobuhiro.yasutomi@nifty.ne.jp) Received: from [192.168.0.20] (p299b23.tkyoac00.ap.so-net.ne.jp [218.41.155.35]) (authenticated) by mail530.nifty.com with ESMTP id j2S743Rc008692 for ; Mon, 28 Mar 2005 16:04:04 +0900 Message-Id: <4247AC65.7020400@nifty.ne.jp> Date: Mon, 28 Mar 2005 16:04:05 +0900 From: Nobuhiro Yasutomi To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/79296: "umount -a -t msdos" not work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 07:10:03 -0000 >Number: 79296 >Category: bin >Synopsis: "umount -a -t msdos" not work >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 28 07:10:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Nobuhiro Yasutomi >Release: FreeBSD 5.4-BETA1 i386 >Organization: Personal >Environment: System: FreeBSD alex.mysite.jp 5.4-BETA1 FreeBSD 5.4-BETA1 #0: Fri Mar 18 09:28:57 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: `mount' include compatiblity glue `msdos' to `msdosfs' and `umount' is not. In `/etc/fstab' write fs-type to `msdos', "mount -t msdos -a" to working, but "umount -t msdos -a" not work. >How-To-Repeat: see Description. >Fix: Add same glue in `umount' or remove glue `mount'? --- sbin/mount/mount.c.orig Tue Apr 27 00:13:45 2004 +++ sbin/mount/mount.c Mon Mar 28 15:26:30 2005 @@ -435,8 +435,10 @@ optbuf = catopt(optbuf, "update"); /* Compatibility glue. */ - if (strcmp(vfstype, "msdos") == 0) + if (strcmp(vfstype, "msdos") == 0) { + warnx("use \"msdosfs\" in vfstype"); vfstype = "msdosfs"; + } argc = 0; argv[argc++] = vfstype; >Release-Note: >Audit-Trail: >Unformatted: