Date: Mon, 28 Mar 2005 16:04:05 +0900 From: Nobuhiro Yasutomi <nobuhiro.yasutomi@nifty.ne.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/79296: "umount -a -t msdos" not work Message-ID: <4247AC65.7020400@nifty.ne.jp> Resent-Message-ID: <200503280710.j2S7A2T3084833@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4247AC65.7020400>