Menu

#32 the quota module does nto work under netbsd

closed
nobody
None
5
2003-05-18
2003-05-17
Anonymous
No

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.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2003-05-18
    • labels: 323071 -->
    • milestone: 301583 -->
    • assigned_to: jcameron --> nobody
     
  • Jamie Cameron

    Jamie Cameron - 2003-05-18

    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.

     
  • Nobody/Anonymous

    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

     
  • Jamie Cameron

    Jamie Cameron - 2003-05-18

    Logged In: YES
    user_id=129364

    Submitted changes will be included in the next webmin release ..

     
  • Jamie Cameron

    Jamie Cameron - 2003-05-18
    • status: open --> closed