]> err.no Git - util-linux/commit
mount: add shortoptions for bind, move and rbind
authormaximilian attems <max@stro.at>
Fri, 25 Jul 2008 07:29:25 +0000 (09:29 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 29 Jul 2008 11:20:03 +0000 (13:20 +0200)
commit6a99c0b286384c98a012620a94fbc50a7c1adcbb
treea5ce0a838cec3707b30a9ec5d3f4261ca9082a70
parent9615cd1d2fee4f306c50fb6978e87230111cc077
mount: add shortoptions for bind, move and rbind

Reserving uppercase letters for mount operations:

    --move  | -M
    --bind  | -B
    --rbind | -R

Add lowercase for the most needed mount operation that happen
in initramfs: mount -M /sys /root/sys

Note, we still have shared-subtree operations (--make-{slave,private,...})
without short options.

[kzak@redhat.com: minor change in mount.8]

Signed-off-by: maximilian attems <max@stro.at>
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/mount.8
mount/mount.c