git: linprocfs - Introduce /proc/mounts

Alex Hornung alexh at crater.dragonflybsd.org
Sat Mar 13 08:11:58 PST 2010


commit a3c5067f1b59372a02c39080ba86a779ee6661e1
Author: Alex Hornung <ahornung at gmail.com>
Date:   Sat Mar 13 15:39:37 2010 +0000

    linprocfs - Introduce /proc/mounts
    
    * Introudce the /proc/mounts entry to satisfy some installers, and df.
    
    * NOTE: if you intend to chroot into the linux base, you'll have to
      change your /compat/linux/etc/mtab symlink to point to /proc/mounts
      instead. Also note that the paths are not relative to the linux
      chroot.
    
    Reported-by: Sascha Wildner

Summary of changes:
 sys/emulation/linux/i386/linprocfs/linprocfs.h     |    2 +
 .../linux/i386/linprocfs/linprocfs_misc.c          |   60 ++++++++++++++++++++
 .../linux/i386/linprocfs/linprocfs_subr.c          |    4 +
 .../linux/i386/linprocfs/linprocfs_vnops.c         |   13 ++++-
 4 files changed, 78 insertions(+), 1 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list