Date: Sun, 9 Oct 2005 11:21:45 -0400 From: Craig Rodrigues <rodrigc@crodrigues.org> To: freebsd-arch@freebsd.org Subject: Re: [RFC] Teaching mount(8) to use nmount() Message-ID: <20051009152145.GA7180@crodrigues.org> In-Reply-To: <20051009150459.GA6810@crodrigues.org> References: <20051008024620.GA29824@crodrigues.org> <20051009131253.GB7463@garage.freebsd.pl> <20051009150459.GA6810@crodrigues.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, By the way, one side benefit of adding nmount() to mount(8) is that we can eliminate unnecessary mount_* binaries from /rescue and free up space. For example, on my system: -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount_cd9660 -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount_devfs -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount_ext2fs -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount_fdescfs -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount_linprocfs -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount_msdosfs -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount_nfs -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount_ntfs -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount_nullfs -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount_procfs -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount_std -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount_udf -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount_umapfs -r-xr-xr-x 131 root wheel 3256200 Oct 8 21:49 mount_unionfs I've found that mount_devfs, mount_std, mount_procfs, mount_fdescfs, mount_nullfs, and mount_ext2fs are basically thin wrappers around nmount() (i.e. no special arguments) and can go right away. -- Craig Rodrigues rodrigc@crodrigues.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051009152145.GA7180>