[webmin-devel] Adding some cheks to the Mount module

Jolly Frederic <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
Hello,

I'm wondering if it could be useful (and possible) to add in the Mount module 
some checks to help the sysadmin, when mounting and unmountiong an NFS 
filesystem.
This checks would display a warning to the user, to let him choose either to 
continue or modify his choices.

I was thinking to add the following checks:
- when mounting a filesystem, detect if the local directory is not empty or is 
a previous mount. This, to prevent the local directory from being masked.
- when unmounting a filesystem, display a list of the local users who are 
using this filesystem
- sort /etc/fstab, so parent directories are mounted before subdirectories (to 
prevent conflicts)
- when mounting a filesystem, detect if the directory on the remote host is 
not already a filesystem mounted from another host (but how is it possible?) 
This could be very useful in big networks to prevent mounting mounts.

What do you think?

Fred.


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.