From: Jolly F. <fre...@ex...> - 2005-02-01 09:30:58
|
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. |