[Bug 8566] New: umount: add support for the -O option
bugzilla at busybox.net
bugzilla at busybox.net
Wed Dec 23 20:08:33 UTC 2015
https://bugs.busybox.net/show_bug.cgi?id=8566
Bug ID: 8566
Summary: umount: add support for the -O option
Product: Busybox
Version: 1.24.x
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at busybox.net
Reporter: austinenglish at gmail.com
CC: busybox-cvs at busybox.net
austin at austin1:~$ busybox umount -O
umount: invalid option -- 'O'
BusyBox v1.24.1 (2015-12-08 17:41:42 CST) multi-call binary.
Usage: umount [OPTIONS] FILESYSTEM|DIRECTORY
Unmount file systems
-a Unmount all file systems in /etc/mtab
-n Don't erase /etc/mtab entries
-r Try to remount devices as read-only if mount is busy
-l Lazy umount (detach filesystem)
-f Force umount (i.e., unreachable NFS server)
-D Don't free loop device even if it has been used
note that mount supports -O, already:
austin at austin1:~$ busybox mount -O
mount: option requires an argument -- 'O'
BusyBox v1.24.1 (2015-12-08 17:41:42 CST) multi-call binary.
This is needed by OpenRC:
OpenRC uses "umount -O _netdev" in the netmount script as part of the
process to unmount all network file systems on Linux.
However, the busybox umount command does not support -O.
If it did, I believe we could just use this command to unmount *all*
network file systems on Linux and not worry about fs types.
See https://bugs.gentoo.org/show_bug.cgi?id=468604
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list