#26 Mounting twice or more

open
nobody
None
5
2002-03-13
2002-03-13
Anonymous
No

It is possible to mount the same directory a lot of
times. I think it could be dangerous, although it
hasn't happened anything bad to me. See an example:

debian:~# uname -a
Linux debian 2.4.17 i686 unknown
debian:~# cat /etc/fstab | grep ftp
none /hb ftpfs ip=XXX,user=XXX,pass=XXX,uid=1000,
gid=1000,root=/users/SL 0 0
debian:~# mount /hb
debian:~# mount /hb
debian:~# mount | grep ftp
none on /hb type ftpfs (rw,ip=XXX,user=XXX,pass=XXX,
uid=1000,gid=1000,root=/users/SL)
none on /hb type ftpfs (rw,ip=XXX,user=XXX,pass=XXX,
uid=1000,gid=1000,root=/users/SL)
debian:~# umount /hb
debian:~# umount /hb
debian:~# umount /hb
umount: /hb: not mounted

Is it dangerous or not, this behavior is inconsistent
with the other filesystems.

Max.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks