From owner-cvs-all Sat Aug 10 13:19:12 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3288137B400; Sat, 10 Aug 2002 13:19:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C266543E70; Sat, 10 Aug 2002 13:19:04 -0700 (PDT) (envelope-from mux@FreeBSD.org) Received: from freefall.freebsd.org (mux@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7AKJ4JU010775; Sat, 10 Aug 2002 13:19:04 -0700 (PDT) (envelope-from mux@freefall.freebsd.org) Received: (from mux@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7AKJ4Gn010774; Sat, 10 Aug 2002 13:19:04 -0700 (PDT) Message-Id: <200208102019.g7AKJ4Gn010774@freefall.freebsd.org> From: Maxime Henrion Date: Sat, 10 Aug 2002 13:19:04 -0700 (PDT) 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 ... X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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