libpmount for Hurd and kNetBSD
I recently uploaded preliminar versions of libpmount to unstable, and I'm
currently working on it. libpmount is a portability library that pretends to
replace unportable mount() calls with a unified pmount() interface that has
the same API on all platforms.
I intend to push it as the general option for applications to mount in Debian.
This means when a number of packages are using it, they won't work on
unsupported kernels untill the kernel-specific extensions are written.
There are currently extensions for Linux and kFreeBSD. I'm looking forward to
kNetBSD and Hurd porters to write the respective extensions. The necessary
code is quite small and can be ripped from whatever is in the mount utility
you're currently using.
"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."
-- J.R.R.T., Ainulindale (Silmarillion)