Date: Sat, 10 Aug 2002 13:19:04 -0700 (PDT) From: Maxime Henrion <mux@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys mount.h src/sys/kern vfs_subr.c src/bin/df df.c src/lib/libc/gen getvfsbyname.3 getvfsbyname.c getvfsent.c src/usr.bin/lsvfs Makefile lsvfs.c src/usr.bin/find function.c src/sbin/nfsiod Makefile nfsiod.8 nfsiod.c src/sbin/umount ... Message-ID: <200208102019.g7AKJ4Gn010774@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mux 2002/08/10 13:19:04 PDT Modified files: sys/sys mount.h sys/kern vfs_subr.c bin/df df.c lib/libc/gen getvfsbyname.3 getvfsbyname.c getvfsent.c usr.bin/lsvfs Makefile lsvfs.c usr.bin/find function.c sbin/nfsiod Makefile nfsiod.8 nfsiod.c sbin/umount umount.c Log: - Introduce a new struct xvfsconf, the userland version of struct vfsconf. - Make getvfsbyname() take a struct xvfsconf *. - Convert several consumers of getvfsbyname() to use struct xvfsconf. - Correct the getvfsbyname.3 manpage. - Create a new vfs.conflist sysctl to dump all the struct xvfsconf in the kernel, and rewrite getvfsbyname() to use this instead of the weird existing API. - Convert some {set,get,end}vfsent() consumers to use the new vfs.conflist sysctl. - Convert a vfsload() call in nfsiod.c to kldload() and remove the useless vfsisloadable() and endvfsent() calls. - Add a warning printf() in vfs_sysctl() to tell people they are using an old userland. After these changes, it's possible to modify struct vfsconf without breaking the binary compatibility. Please note that these changes don't break this compatibility either. When bp will have updated mount_smbfs(8) with the patch I sent him, there will be no more consumers of the {set,get,end}vfsent(), vfsisloadable() and vfsload() API, and I will promptly delete it. Revision Changes Path 1.41 +20 -11 src/bin/df/df.c 1.13 +22 -7 src/lib/libc/gen/getvfsbyname.3 1.9 +22 -18 src/lib/libc/gen/getvfsbyname.c 1.19 +0 -31 src/lib/libc/gen/getvfsent.c 1.9 +1 -0 src/sbin/nfsiod/Makefile 1.16 +2 -4 src/sbin/nfsiod/nfsiod.8 1.13 +5 -5 src/sbin/nfsiod/nfsiod.c 1.30 +1 -1 src/sbin/umount/umount.c 1.390 +58 -18 src/sys/kern/vfs_subr.c 1.134 +24 -3 src/sys/sys/mount.h 1.47 +1 -1 src/usr.bin/find/function.c 1.8 +1 -0 src/usr.bin/lsvfs/Makefile 1.16 +17 -11 src/usr.bin/lsvfs/lsvfs.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208102019.g7AKJ4Gn010774>