DragonFly commits List (threaded) for 2009-06
DragonFly-22.214.171.124.g5b599 master bin/df df.1 sbin/mount mntopts.h mount.8 mount.c mount_ufs.c
Author: Sascha Wildner <firstname.lastname@example.org>
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
Submitted-by: Andreas Hauser <email@example.com>
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(-)
DragonFly BSD source repository