git: devfs - implement mkdir/rmdir

Alex Hornung alexh at crater.dragonflybsd.org
Wed Jun 2 06:52:25 PDT 2010


commit 39a08947969568eb63556a0a1d68b5bb26a35ed5
Author: Alex Hornung <ahornung at gmail.com>
Date:   Wed Jun 2 00:04:52 2010 +0000

    devfs - implement mkdir/rmdir
    
    * Implement mkdir and rmdir support to allow for custom user directories
      as used by LVM. The same policy applies as does to symlinks:
      user-created directories won't be garbage collected and are the only
      ones deletable by rmdir. One cannot delete automatically created
      directories and empty user-created directories won't be garbage
      collected automatically as happens with automatic dirs.

Summary of changes:
 sys/vfs/devfs/devfs_core.c  |    3 +-
 sys/vfs/devfs/devfs_vnops.c |   87 ++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 87 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/39a08947969568eb63556a0a1d68b5bb26a35ed5


-- 
DragonFly BSD source repository





More information about the Commits mailing list