Date: Sun, 7 Dec 1997 17:41:26 -0800 From: John-Mark Gurney <gurney_j@efn.org> To: Sean Eric Fagan <sef@FreeBSD.ORG> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/miscfs/procfs procfs_subr.c procfs_vfsops.c src/sys/kern kern_exit.c Message-ID: <19971207174126.62238@hydrogen.nike.efn.org> In-Reply-To: <199712080106.RAA27587@freefall.freebsd.org>; from Sean Eric Fagan on Sun, Dec 07, 1997 at 05:06:38PM -0800 References: <199712080106.RAA27587@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Sean Eric Fagan scribbled this message on Dec 7: > sef 1997/12/07 17:06:37 PST > > Modified files: > sys/miscfs/procfs procfs_subr.c procfs_vfsops.c > sys/kern kern_exit.c > Log: > Use at_exit() to invoke procfs_exit() instead of calling it directly. > Note that an unload facility should be used to call rm_at_exit() (if > procfs is being loaded as an LKM and is subsequently removed), but it > was non-obvious how to do this in the VFS framework. to do this, you will need to look at sys/mount.h and see how VFS_SET is defined... then you will need to roll your own _mod function that will handle the different functions (load/unload/stat) that the function normally does... hope this helps... -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971207174126.62238>