git: sbin/mount_autofs: Port mount_autofs(8) from NetBSD

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Jan 15 09:02:17 PST 2018


commit e0c81dfeccab0e0b23107566dabd926fb90eafa9
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Jan 15 17:37:53 2018 +0200

    sbin/mount_autofs: Port mount_autofs(8) from NetBSD
    
    Christos added this to NetBSD, so why not for DragonFly.
    One will write something simlar to this when porting autofs,
    until autofs(5)/automount(8)/automountd(8) become usable enough.
    
    While I try to minimize diff from FreeBSD for autofs userspace
    by not making trivial style fixes, new things from NetBSD are
    appreciated.
    
    -o getargs support is dropped since unsupported on DragonFly.

Summary of changes:
 sbin/Makefile                                      |   1 +
 sbin/mount_autofs/Makefile                         |  10 ++
 .../amdsmb.4 => sbin/mount_autofs/mount_autofs.8   |  50 ++++---
 sbin/mount_autofs/mount_autofs.c                   | 147 +++++++++++++++++++++
 .../suspend.c => sbin/mount_autofs/mount_autofs.h  |  26 +---
 5 files changed, 194 insertions(+), 40 deletions(-)
 create mode 100644 sbin/mount_autofs/Makefile
 copy share/man/man4/amdsmb.4 => sbin/mount_autofs/mount_autofs.8 (65%)
 create mode 100644 sbin/mount_autofs/mount_autofs.c
 copy lib/libpuffs/suspend.c => sbin/mount_autofs/mount_autofs.h (77%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e0c81dfeccab0e0b23107566dabd926fb90eafa9


-- 
DragonFly BSD source repository



More information about the Commits mailing list