bin/79296: "umount -a -t msdos" not work
Nobuhiro Yasutomi
nobuhiro.yasutomi at nifty.ne.jp
Sun Mar 27 23:10:03 PST 2005
>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 at 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:
More information about the freebsd-bugs
mailing list