DragonFly-2.3.1.218.g5b599 master bin/df df.1 sbin/mount mntopts.h mount.8 mount.c mount_ufs.c

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Jun 10 10:13:02 PDT 2009


commit 5b5993715687ebe260d77ff5cbc8528e6af1e807
Author: Sascha Wildner <saw at online.de>
Date:   Wed Jun 10 19:09:29 2009 +0200

    mount(8): Add an 'ignore' option.
    
    The actual infrustructure was already in place (MNT_IGNORE) but it
    couldn't be set, i.e. df(1) already had code to ignore MNT_IGNORE
    mounts and an option to also show ignored mounts (-a), but the user
    couldn't set the ignored option.
    
    This is useful for procfs, amd, nullfs, filebacked fs, etc.
    To test it with procfs you also need to recompile mount_std(8).
    
    Some systems call the option 'hidden', but it doesn't seem any better
    (both aren't very good), but at least 'ignore' corresponds to
    MNT_IGNORE.
    
    Submitted-by:  Andreas Hauser <andy at splashground.de>
    Dragonfly-bug: <http://bugs.dragonflybsd.org/issue200>

Summary of changes:
 bin/df/df.1            |    7 ++++---
 sbin/mount/mntopts.h   |    4 +++-
 sbin/mount/mount.8     |    6 +++++-
 sbin/mount/mount.c     |    2 ++
 sbin/mount/mount_ufs.c |    1 +
 5 files changed, 15 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5b5993715687ebe260d77ff5cbc8528e6af1e807


-- 
DragonFly BSD source repository





More information about the Commits mailing list