Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 1997 09:26:35 -0500
From:      Bill Sommerfeld <sommerfeld@orchard.east-arlington.ma.us>
To:        Jonathan Stone <jonathan@dsg.stanford.edu>
Cc:        Terry Lambert <terry@lambert.org>, perry@piermont.com, hackers@freebsd.org, port-i386@netbsd.org
Subject:   Re: how to name fs specific programs 
Message-ID:  <199703261426.OAA10034@orchard.east-arlington.ma.us>
In-Reply-To: Your message of "Tue, 25 Mar 1997 22:46:15 -0800 ." <199703260646.WAA14086@Pescadero.DSG.Stanford.EDU> 

next in thread | previous in thread | raw e-mail | index | archive | help
I believe I understand what Terry's suggesting.

He wants to be able to be able to have a new filesystem type appear by
simply mounting (or symlinking, or copying) the implementation of a
new filesystem type into /sbin/fs/foo, and he believes that the name
of the filesystem type should be defined purely by the name used in
the /sbin/fs directory, and not by anything inherent in the binaries
found inside /sbin/fs/foo/.

so that, as an extreme case, one could do
	mv /sbin/fs/{nfs,losefs}
and 
	sed 's/nfs/losefs/' </etc/fstab >/etc/fstab.NEW && mv /etc/fstab{.NEW,}

and reboot, and everything will keep working..

						- Bill




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703261426.OAA10034>