summaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-05 21:57:47 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-05 21:57:47 +0000
commitbf295dd5b67c1e192600f3510de2d5d1e686c685 (patch)
tree652596d819687154790512fc68b2047290c9efc9 /util-linux/mount.c
parentdf5bbb938ae73cf668778d1d54718fddb0f76130 (diff)
downloadbusybox-w32-bf295dd5b67c1e192600f3510de2d5d1e686c685.tar.gz
busybox-w32-bf295dd5b67c1e192600f3510de2d5d1e686c685.tar.bz2
busybox-w32-bf295dd5b67c1e192600f3510de2d5d1e686c685.zip
[u]mount: extend -t option (Roy Marples <uberlord@gentoo.org>)
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r--util-linux/mount.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 567514ccb..4a0237196 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -77,6 +77,7 @@ struct {
77 {"defaults", 0}, 77 {"defaults", 0},
78 /* {"quiet", 0}, - do not filter out, vfat wants to see it */ 78 /* {"quiet", 0}, - do not filter out, vfat wants to see it */
79 {"noauto", MOUNT_NOAUTO}, 79 {"noauto", MOUNT_NOAUTO},
80 {"sw", MOUNT_SWAP},
80 {"swap", MOUNT_SWAP}, 81 {"swap", MOUNT_SWAP},
81 USE_DESKTOP({"user", MOUNT_USERS},) 82 USE_DESKTOP({"user", MOUNT_USERS},)
82 USE_DESKTOP({"users", MOUNT_USERS},) 83 USE_DESKTOP({"users", MOUNT_USERS},)
@@ -1703,9 +1704,7 @@ int mount_main(int argc, char **argv)
1703 1704
1704 } else { 1705 } else {
1705 // Do we need to match a filesystem type? 1706 // Do we need to match a filesystem type?
1706 // TODO: support "-t type1,type2"; "-t notype1,type2" 1707 if (fstype && match_fstype(mtcur, fstype)) continue;
1707
1708 if (fstype && strcmp(mtcur->mnt_type, fstype)) continue;
1709 1708
1710 // Skip noauto and swap anyway. 1709 // Skip noauto and swap anyway.
1711 1710