]>
git.ipfire.org Git - thirdparty/util-linux.git/log
Karel Zak [Tue, 3 Apr 2012 09:32:12 +0000 (11:32 +0200)]
libmount: clean up MNT_FMT_* usage in parser
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 2 Apr 2012 15:34:07 +0000 (17:34 +0200)]
mount: (old) check for LD_FLAGS_AUTOCLEAR more carefully
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=803799
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 2 Apr 2012 15:33:34 +0000 (17:33 +0200)]
lib/loopdev: more robust initialization
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 2 Apr 2012 11:21:33 +0000 (13:21 +0200)]
rtcwake: tiny coding style change
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Sun, 1 Apr 2012 18:19:31 +0000 (20:19 +0200)]
script: error in usage() output
Error originates to commit
3ff526391fb5c6b33418dc9cfec31c2ff9b4792e
which is bit more than year, and part or releases v2.20 & v2.21.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 1 Apr 2012 18:19:30 +0000 (20:19 +0200)]
tests: hwclock: locate ntpdate by using path
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Paul Fox [Fri, 30 Mar 2012 12:16:50 +0000 (08:16 -0400)]
rtcwake: only invoke RTC_AIE_ON/OFF ioctls in pairs
many rtc drivers don't implement the RTC_AIE_ON/OFF ioctls at all --
so if we never tried to enable the alarm interrupt, don't try to
disable it later.
Signed-off-by: Paul Fox <pgf@laptop.org>
Karel Zak [Fri, 30 Mar 2012 14:57:47 +0000 (16:57 +0200)]
delpart: improve error messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 30 Mar 2012 14:56:28 +0000 (16:56 +0200)]
addpart: improve error messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Sun, 18 Mar 2012 20:45:11 +0000 (21:45 +0100)]
tools: ko-release: make scripts bourne sh compliant [checkbashisms]
$ checkbashisms ko-release-gen
possible bashism in ko-release-gen line 31 ('function' is useless):
function die {
possible bashism in ko-release-gen line 36 ('function' is useless):
function add_file {
possible bashism in ko-release-gen line 68 ('function' is useless):
function add_html_dir {
possible bashism in ko-release-gen line 72 (brace expansion):
for fl in $(ls $src/*.{html,css,png}); do
$ checkbashisms ko-release-push
possible bashism in ko-release-push line 29 ('function' is useless):
function die {
possible bashism in ko-release-push line 34 ('function' is useless):
function push_file {
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 18 Mar 2012 20:38:39 +0000 (21:38 +0100)]
tools: config-gen: make scripts bourne sh compliant [checkbashisms]
$ checkbashisms config-gen
script config-gen does not appear to be a /bin/sh script
possible bashism in config-gen line 27 (export foo=bar should be foo=bar; export foo):
export CFLAGS="$CFLAGS"
$ checkbashisms config-gen-functions.sh
possible bashism in config-gen-functions.sh line 14 ('function' is useless):
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 18 Mar 2012 20:34:09 +0000 (21:34 +0100)]
tools: checkconfig.sh: make scripts bourne sh compliant [checkbashisms]
script checkconfig.sh does not appear to be a /bin/sh script
possible bashism in checkconfig.sh line 14 ('function' is useless):
function die() {
possible bashism in checkconfig.sh line 27 ('((' should be '$(('):
while (( "$#" )); do
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 18 Mar 2012 20:10:35 +0000 (21:10 +0100)]
reset: make scripts bourne sh compliant [checkbashisms]
In addition strict compliance the commit will take variable name
quoting, and $(command) substitution in use.
$ checkbashisms reset reset.033c
possible bashism in reset line 11 ('$[' should be '$(('):
bot=$[ ${LINES:-`tput lines`} - 1 ]
possible bashism in reset.033c line 11 (echo -e):
echo -e \\033c
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 18 Mar 2012 16:32:18 +0000 (17:32 +0100)]
fstrim: add --version and align with howto-usage-function.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 18 Mar 2012 16:22:57 +0000 (17:22 +0100)]
findmnt: remove dublicate usage() line
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 18 Mar 2012 15:46:42 +0000 (16:46 +0100)]
fallocate: add --version and align with howto-usage-function.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 18 Mar 2012 15:11:28 +0000 (16:11 +0100)]
swaplabel: add --version and align with howto-usage-function.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 18 Mar 2012 13:13:31 +0000 (14:13 +0100)]
fsck.minix: fix printf format warning
fsck.minix.c:1302:3: warning: ISO C does not support the '%m' gnu_printf format [-Wformat]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 18 Mar 2012 12:48:30 +0000 (13:48 +0100)]
fsck.minix: clean up coding style
$ indent -linux -psl -blf disk-utils/fsck.minix.c
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 18 Mar 2012 12:27:19 +0000 (13:27 +0100)]
fsck.minix: align with howto-usage-function.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 18 Mar 2012 12:11:46 +0000 (13:11 +0100)]
fsck.minix: use rpmatch() for yes/no question
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sun, 18 Mar 2012 12:09:33 +0000 (13:09 +0100)]
fsck.minix: use symbolic exit codes
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 17 Mar 2012 21:53:17 +0000 (22:53 +0100)]
fsck.cramfs: add long options
And align with howto-usage-function.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 17 Mar 2012 20:56:06 +0000 (21:56 +0100)]
pg: align with howto-usage-function.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 17 Mar 2012 20:28:33 +0000 (21:28 +0100)]
pg: correct version printing in help screen
Commit also adds -V option.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 17 Mar 2012 19:46:12 +0000 (20:46 +0100)]
raw: clean up coding style
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 17 Mar 2012 19:27:43 +0000 (20:27 +0100)]
raw: check numeric user inputs
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 17 Mar 2012 19:15:25 +0000 (20:15 +0100)]
raw: use pathnames.h for file locations
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 17 Mar 2012 19:05:56 +0000 (20:05 +0100)]
raw: use libc error printing facilities
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 17 Mar 2012 17:58:36 +0000 (18:58 +0100)]
raw: use symbolic exit numbers
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 17 Mar 2012 17:51:59 +0000 (18:51 +0100)]
raw: add long options and version printing
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 17 Mar 2012 17:38:53 +0000 (18:38 +0100)]
raw: align with howto-usage-function.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 17 Mar 2012 17:10:58 +0000 (18:10 +0100)]
delpart: align with util-linux coding standards
Add long options and usage function, use gnu errror printing
facilities and validate inputs.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Sat, 17 Mar 2012 17:04:37 +0000 (18:04 +0100)]
addpart: align with util-linux coding standards
Add long options and usage function, use gnu errror printing
facilities and validate inputs.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Thu, 15 Mar 2012 22:12:30 +0000 (23:12 +0100)]
partx: add --version option
Th commit
8275b7326e535c6d745414baca680f03e9eccdf3 added --version to
usage() but not as working option.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Thu, 15 Mar 2012 22:06:39 +0000 (23:06 +0100)]
setterm: correct manual page reference
An error from commit
faa0548de47df5691cf56dd49daaba8dbc89d34a
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Thu, 15 Mar 2012 21:58:09 +0000 (22:58 +0100)]
findfs: add --version & align with howto-usage-function.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Thu, 15 Mar 2012 21:32:48 +0000 (22:32 +0100)]
findmnt: add --version & align with howto-usage-function.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Sami Kerola [Thu, 15 Mar 2012 21:24:41 +0000 (22:24 +0100)]
mountpoint: add --version & align with howto-usage-function.txt
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Karel Zak [Fri, 30 Mar 2012 14:18:54 +0000 (16:18 +0200)]
hexdump: use strtosize_or_err()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 30 Mar 2012 14:18:30 +0000 (16:18 +0200)]
losetup: use strtosize_or_err()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 30 Mar 2012 14:18:18 +0000 (16:18 +0200)]
fstrim: use strtosize_or_err()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 30 Mar 2012 14:17:49 +0000 (16:17 +0200)]
wipefs: use strtosize_or_err()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 30 Mar 2012 14:17:36 +0000 (16:17 +0200)]
blkid: use strtosize_or_err()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 30 Mar 2012 14:11:31 +0000 (16:11 +0200)]
lib/strutils: add strtosize_or_err, clean up
* add strtosize_or_err(), we use strtosize() + err() on many places
* add STRTOXX_EXIT_CODE to overwrite the default EXIT_FAILURE
* remove else-after-noreturn (e.g. if (foo) err(...); else err(...))
* clean up indent...
Signed-off-by: Karel Zak <kzak@redhat.com>
Bernhard Voelker [Mon, 26 Mar 2012 09:30:16 +0000 (11:30 +0200)]
docs: clarify KiB vs. KB in man pages
Update the man pages of blkid, wipefs, fallocate, fstrim, losetup
and hexdump to clarify the suffixes for the numerical values of the
offset and size/length arguments regarding KiB=1024 vs KB=1000.
Also mention the ZiB/YiB and ZB/YB suffixes supported by strtosize().
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Karel Zak [Fri, 30 Mar 2012 11:43:45 +0000 (13:43 +0200)]
tools: improve ko-release-* scripts
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 29 Mar 2012 13:06:49 +0000 (15:06 +0200)]
blkid: add note about variable tags and devices order.
Reported-by: Michael Conrad <mconrad@intellitree.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 29 Mar 2012 10:56:17 +0000 (12:56 +0200)]
eject: remove obsolete code, use EXIT_* macros
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 29 Mar 2012 10:50:50 +0000 (12:50 +0200)]
tests: add umount-by-eject tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 29 Mar 2012 10:44:25 +0000 (12:44 +0200)]
eject: improve work with partitioned devices
* remove horrible regex based code
* use /sys to read list of the disk partitions
* use always whole-disk device for eject ioctl(s)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 29 Mar 2012 10:42:24 +0000 (12:42 +0200)]
lib/sysfs: improve sysfs_is_partition_dirent()
... to work with absolute disk device path too.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 28 Mar 2012 12:24:57 +0000 (14:24 +0200)]
eject: call umount <mountpoint> rather than <device>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 28 Mar 2012 12:14:19 +0000 (14:14 +0200)]
eject: use libmount to detect if cdrom is mounted
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 16:03:14 +0000 (18:03 +0200)]
eject: make the code robust
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 15:55:30 +0000 (17:55 +0200)]
eject: use SG_IO ioctl for scsi
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 15:53:00 +0000 (17:53 +0200)]
eject: support CDIOCEJECT ioctl
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 15:49:38 +0000 (17:49 +0200)]
eject: new close_tray code from Fedora
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 15:47:40 +0000 (17:47 +0200)]
eject: new auto_eject code from Fedora
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 15:36:47 +0000 (17:36 +0200)]
eject: add -X from Fedora
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 15:09:12 +0000 (17:09 +0200)]
eject: add --manualeject from fedora
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 14:34:59 +0000 (16:34 +0200)]
eject: clean up devname usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 14:00:46 +0000 (16:00 +0200)]
eject: clean up verbose messages
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 13:01:29 +0000 (15:01 +0200)]
eject: remove unnecessary variable
Karel Zak [Tue, 27 Mar 2012 12:59:01 +0000 (14:59 +0200)]
eject: use xstrdup()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 12:53:37 +0000 (14:53 +0200)]
eject: rename handle_x_option to set_device_speed
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 12:49:59 +0000 (14:49 +0200)]
eject: clean unmount_devices()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 12:41:18 +0000 (14:41 +0200)]
eject: clean up umount stuff
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 12:24:42 +0000 (14:24 +0200)]
eject: clean up eject_* functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 12:08:02 +0000 (14:08 +0200)]
eject: remove unnecessary function
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 12:05:56 +0000 (14:05 +0200)]
eject: remove unnecessary checks
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 11:56:09 +0000 (13:56 +0200)]
eject: clean up argv parsing code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 11:44:09 +0000 (13:44 +0200)]
eject: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 11:41:25 +0000 (13:41 +0200)]
lslocks: minor fix in usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 11:35:06 +0000 (13:35 +0200)]
eject: coding style fixes
Signed-off-by: Karel Zak <kzak@redhat.com>
Michal Luscon [Wed, 29 Feb 2012 16:24:40 +0000 (17:24 +0100)]
sysfs: move blkid_devno_to_wholedisk to sysfs_devno_to_wholedisk
Signed-off-by: Michal Luscon <mluscon@redhat.com>
Karel Zak [Mon, 13 Feb 2012 10:16:57 +0000 (11:16 +0100)]
eject: fix compiler warnings [-Wformat]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 13 Feb 2012 09:48:38 +0000 (10:48 +0100)]
build-sys: add eject to .gitignore
Signed-off-by: Karel Zak <kzak@redhat.com>
Michal Luscon [Wed, 8 Feb 2012 17:19:35 +0000 (18:19 +0100)]
eject: unification of coding style
Signed-off-by: Michal Luscon <mluscon@redhat.com>
Michal Luscon [Wed, 8 Feb 2012 15:27:08 +0000 (16:27 +0100)]
eject: simplify find_device
Signed-off-by: Michal Luscon <mluscon@redhat.com>
Michal Luscon [Wed, 8 Feb 2012 15:14:38 +0000 (16:14 +0100)]
eject: remove MountableDevice function
Signed-off-by: Michal Luscon <mluscon@redhat.com>
Michal Luscon [Wed, 8 Feb 2012 15:01:51 +0000 (16:01 +0100)]
eject: use canonicalize_path to treat symbolic links
Signed-off-by: Michal Luscon <mluscon@redhat.com>
Michal Luscon [Wed, 8 Feb 2012 12:33:57 +0000 (13:33 +0100)]
eject: replace fprintf with err and warn
Signed-off-by: Michal Luscon <mluscon@redhat.com>
Michal Luscon [Thu, 2 Feb 2012 17:29:18 +0000 (18:29 +0100)]
eject: briefer usage
Signed-off-by: Michal Luscon <mluscon@redhat.com>
Michal Luscon [Thu, 2 Feb 2012 16:58:25 +0000 (17:58 +0100)]
eject: modification of parse_arg function
Signed-off-by: Michal Luscon <mluscon@redhat.com>
Michal Luscon [Thu, 2 Feb 2012 15:34:20 +0000 (16:34 +0100)]
eject: use program_invocation_short_name instead of programName
Signed-off-by: Michal Luscon <mluscon@redhat.com>
Michal Luscon [Wed, 18 Jan 2012 13:19:42 +0000 (14:19 +0100)]
eject: replace CLOSE and FCLOSE macros by e_close and e_fclose functions
Signed-off-by: Michal Luscon <mluscon@redhat.com>
Michal Luscon [Tue, 17 Jan 2012 17:23:40 +0000 (18:23 +0100)]
eject: clean up includes
Signed-off-by: Michal Luscon <mluscon@redhat.com>
Michal Luscon [Thu, 8 Dec 2011 15:10:18 +0000 (16:10 +0100)]
eject: initial merge eject and util-linux
Signed-off-by: Michal Luscon <mluscon@redhat.com>
Karel Zak [Tue, 27 Mar 2012 10:23:07 +0000 (12:23 +0200)]
build-sys: move obsolete lib/fsprobe to mount/
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 10:13:24 +0000 (12:13 +0200)]
swapon: use directly blkid rather than fsprobe wrapper
* remove dependence on lib/fsprobe.c
* reuse already read swap header for --fixpgsz (don't re-read the
header by libblkid)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 27 Mar 2012 10:11:53 +0000 (12:11 +0200)]
tests: add swapon tests for --fixpgsz and fix signature
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 26 Mar 2012 11:09:27 +0000 (13:09 +0200)]
docs: mark udev and list blkid(8) output formats deprecated
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 26 Mar 2012 08:25:19 +0000 (10:25 +0200)]
tests: update
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 26 Mar 2012 08:08:48 +0000 (10:08 +0200)]
Revert "lib/canonicalize: always remove tailing slash"
It's overkill to modify unknown paths in a generic function like
canonicalize_path().
for example:
mount -t fuse 'sshfs#marty@thee:/' /media/thee
will be canonicalized to
mount -t fuse 'sshfs#marty@thee:' /media/thee
and this obvious bug.
Reported-by: Martin Panter <vadmium+floss@gmail.com>
This reverts commit
28074a0952469aebf021821d95238cfb964d13ff .
Karel Zak [Fri, 23 Mar 2012 17:17:10 +0000 (18:17 +0100)]
hexdump: update man page for -n and -s
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 21 Mar 2012 18:43:49 +0000 (19:43 +0100)]
tests: update iso tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 21 Mar 2012 18:35:22 +0000 (19:35 +0100)]
hexdump: use strtosize() for -n and -s
strtosize() is based on uintmax_t and supports all possible suffixes
(B,M,G,T ...)
Reported-by: Simon de Vlieger <simon@ikanobori.jp>
Signed-off-by: Karel Zak <kzak@redhat.com>
Andreas Vogel [Wed, 21 Mar 2012 12:43:35 +0000 (13:43 +0100)]
libblkid: generate pseudo-UUID for ISO9660 image file
The UUID is generated from the modification date in the ISO volume
descriptor. As GRUB 2 is using this definition for the pseudo UUID for
ISO9660 files libblkid would be perfectly compatible with GRUB 2.
Signed-off-by: Andreas Vogel <Andreas.Vogel@anvo-it.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Dong Hao [Wed, 21 Mar 2012 05:50:14 +0000 (13:50 +0800)]
mount: fix recursively propagation mounting
Provide the recursive flag of propagation mounting. Recursive flag could
be used together with propagation flag.
[kzak@redhat.com: - add MS_SILENT to acceptable propagation flags,
- fix new code in libmount too]
Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Dong Hao <haodong@linux.vnet.ibm.com>