The quota module depends on the mount module
which does not support netbsd, even though it should be
trivial to make it support netbsd.
Also even though there is a config-netbsd file in the
quota directory netbsd is not listed as a supported os
in the
module.info file.
Under Usermin quota can be made to work by adding netbsd
as a supported os in the module.info file.
Under webmin this doesnt seem to work. mainly because of
the dependancy on the mount module.
A possible fix would be to modify the openbsd support in
the mount module to work for netbsd and add netbsd to the
suppoerted os list.
OpenBSD is so similar to netbsd this shoudlnt be a
major effort.
Logged In: YES
user_id=129364
The real work would be updating the mount module to support
netbsd. This may actually be quite simple if it supports
similar filesystems and options to freebsd .. unfortunately
though I don't have a netbsd system to test a port on, and
last time I tried it couldn't be installed under vmware either.
Logged In: NO
I seem to have it working, using the OpenBSD code
slightly modified.
Just untar the linked tarball inside your webmin install root.
you will need to compile netbsd-mounts from netbsd-mounts.c
(which is a copy of openbsd-mounts-2.c) since the binary in
the tar is for netbsd/sparc64.
I have done minimal testing on this, but it appears to read
fstab
correctly, mount, unmount and save mounts correctly
As well as report quota support correctly to the quota module.
The tarball is at
http://fingers.shocking.com/~talon/netbsd-mount.tar.gz
If i have sufficient free time, i may also attempt to get the
network interface stuff working as well.
talon at fingers dot shocking dot com
Logged In: YES
user_id=129364
Submitted changes will be included in the next webmin release ..