Implement a new system call: getvfsstat(). This system call returns
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 1 Jun 2008 19:55:32 +0000 (19:55 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 1 Jun 2008 19:55:32 +0000 (19:55 +0000)
commit00fe9d4861e0ab82e7b4929f49a36ce0d017159a
tree9068d050a68de790c9f771ac02094291d0168607
parentd9fad06efb17ebed7dc91f2c8ed986184e89e0a1
Implement a new system call: getvfsstat().  This system call returns
an array of statfs and statvfs structures.  Unfortunately there is no way
to just return an array of statvfs structures because the statvfs structure
does not have sufficient information in it to identify the mount point.

    getvfsstat(struct statfs *buf, struct statvfs *vbuf,
       long vbufsize, int flags);
sys/kern/init_sysent.c
sys/kern/syscalls.c
sys/kern/syscalls.master
sys/kern/vfs_syscalls.c
sys/sys/mount.h
sys/sys/syscall-hide.h
sys/sys/syscall.h
sys/sys/syscall.mk
sys/sys/sysproto.h
sys/sys/sysunion.h