| Summary: | "umount -a -t msdos" not work | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Nobuhiro Yasutomi <nobuhiro.yasutomi> |
| Component: | bin | Assignee: | Craig Rodrigues <rodrigc> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 5.4-BETA1 | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->rodrigc Grabbing rodrigc 2007-02-06 05:57:40 UTC
FreeBSD src repository
Modified files:
sbin/mount mount.c
Log:
Print warning that "-t msdos" is deprecated and being converted to
"-t msdosfs". The conversion has been happening since 1.43, but
no equivalent conversion happens in "umount -t", which led to some
confusion with some users.
PR: 79296
Submitted by: Nobuhiro Yasutomi <nobuhiro yasutomi nifty ne jp>
Revision Changes Path
1.94 +4 -1 src/sbin/mount/mount.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
rodrigc 2007-02-06 06:06:28 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sbin/mount mount.c
Log:
MFC 1.94
Warn that "-t msdos" will be converted to "-t msdosfs".
PR: 79296
Submitted by: Nobuhiro Yasutomi <nobuhiro yasutomi nifty ne jp>
Revision Changes Path
1.69.2.7 +4 -1 src/sbin/mount/mount.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed to HEAD and RELENG_6. rodrigc 2007-02-08 05:04:18 UTC
FreeBSD src repository
Modified files:
release/doc/de_DE.ISO8859-1/installation/common install.sgml
release/doc/en_US.ISO8859-1/installation/common install.sgml
release/doc/fr_FR.ISO8859-1/installation/common install.sgml
release/doc/ru_RU.KOI8-R/installation/common install.sgml
release/doc/zh_CN.GB2312/installation/common install.sgml
Log:
Replace "mount -t msdos" with "mount -t msdosfs".
PR: 79296
Reviewed by: remko
Revision Changes Path
1.12 +1 -1 src/release/doc/de_DE.ISO8859-1/installation/common/install.sgml
1.34 +1 -1 src/release/doc/en_US.ISO8859-1/installation/common/install.sgml
1.9 +1 -1 src/release/doc/fr_FR.ISO8859-1/installation/common/install.sgml
1.9 +1 -1 src/release/doc/ru_RU.KOI8-R/installation/common/install.sgml
1.6 +1 -1 src/release/doc/zh_CN.GB2312/installation/common/install.sgml
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
|
`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. Fix: Add same glue in `umount' or remove glue `mount'? /* Compatibility glue. */ - if (strcmp(vfstype, "msdos") == 0) + if (strcmp(vfstype, "msdos") == 0) { + warnx("use \"msdosfs\" in vfstype"); vfstype = "msdosfs"; + } argc = 0; argv[argc++] = vfstype;--VnHQM2m7EkLNDiKBuXxQymuconhQDAzghJjeovGq784beocv Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- 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"); How-To-Repeat: see Description.