Lines Matching refs:mount
0 /* mount.c - mount filesystems
5 * See http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/mount.html
9 * TODO mount -o loop,autoclear (linux git 96c5865559ce)
11 USE_MOUNT(NEWTOY(mount, "?O:afnrvwt:o*[-rw]", TOYFLAG_BIN|TOYFLAG_STAYROOT))
15 bool "mount"
18 usage: mount [-afFrsvw] [-t TYPE] [-o OPTION,] [[DEVICE] DIR]
24 -O Only mount -a entries that have this option
25 -f Fake it (don't actually mount)
36 You can also "mount -a /path" to mount everything in /etc/fstab under /path,
69 // mount.tests should check for all of this:
70 // TODO detect existing identical mount (procfs with different dev name?)
76 // TODO make "mount --bind,ro old new" work (implicit -o remount)
77 // TODO mount -a
78 // TODO mount -o remount
79 // TODO fstab: lookup default options for mount
81 // TODO "mount -a -o remount,ro" should detect overmounts
82 // TODO work out how that differs from "mount -ar"
83 // TODO what if you --bind mount a block device somewhere (file, dir, dev)
84 // TODO "touch servername; mount -t cifs servername path"
85 // TODO mount -o remount a user mount
86 // TODO mount image.img sub (auto-loopback) then umount image.img
87 // TODO mount UUID=blah
192 // Autodetect bind mount or filesystem type
200 // file on file or dir on dir is a --bind mount.
238 rc = mount(dev, dir, type, flags, opts);
258 // isn't good enough because "mount -t ext2 fs.img dir" is valid, but if
261 // because the fs module won't be loaded until you try the mount, and
263 // positive loopback mount (so "touch servername" becomes a potential
266 // Solution: try the mount, let the kernel tell us it wanted a block
267 // device, then do the loopback setup and retry the mount.
312 // If you realy, really want to mount a file named "--", we support it.
347 // "mount -a /path" to mount all entries under /path