[RFC] Teaching mount(8) to use nmount()

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Oct 9 00:07:04 PDT 2005


In message <20051009064053.GA7261 at garage.freebsd.pl>, Pawel Jakub Dawidek write
s:

>My suggestion (which I discusses with Craig on IRC a bit already) is as
>follows:
>
>- We create one mount(8) program.
>
>- When it is called with '-t <fs>' switch, we look for
>  /lib/mount/mount_<fs>.so and try to dlopen() it.

No way.

Doing that would take much more code than having separate mount
binaries because it would add yet another ABI which has to be
versioned and managed etc etc.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list