linprocfs - Introduce /proc/mounts
commita3c5067f1b59372a02c39080ba86a779ee6661e1
authorAlex Hornung <ahornung@gmail.com>
Sat, 13 Mar 2010 15:39:37 +0000 (13 15:39 +0000)
committerAlex Hornung <ahornung@gmail.com>
Sat, 13 Mar 2010 16:09:22 +0000 (13 16:09 +0000)
treec721eba6c711ba4993068fde0e63f3a09ca0d75a
parent9452e1bc650881c69d3f13973f15d2e9246507ca
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
sys/emulation/linux/i386/linprocfs/linprocfs.h
sys/emulation/linux/i386/linprocfs/linprocfs_misc.c
sys/emulation/linux/i386/linprocfs/linprocfs_subr.c
sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c