David Walser wrote:

>--- Martin Ma�ok <[EMAIL PROTECTED]> wrote:
>
>>No, supermount mounts/umounts partitions
>>automagically when the
>>dir/files are accessed. Explicit mount/umount
>>commands shouldn't be
>>ever used on supermount partitions.
>>
>
>Actually mount/umount commands on supermount
>partitions just don't do anything.
>

Not true. When you umount a mount point that is handled by supermount, 
it get removed from the supermount table, and the mount point is free to 
use on the filesystem. Example:

[root@fulgore:~]# mount
/dev/md0 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev type devfs (rw)
/dev/hdh1 on /backup type ext3 (ro)
/dev/hde1 on /boot type ext3 (rw)
/dev/hdg1 on /boot2 type ext3 (rw)
/dev/vg1/usr on /usr type ext3 (rw)
/dev/vg1/var on /var type ext3 (rw)
/dev/vg1/home on /home type ext3 (rw)
/dev/hdc1 on /home/temp type ext3 (rw)
/dev/hdf1 on /home/irix type ext3 (rw)
/mnt/cdrom0 on /mnt/cdrom0 type supermount 
(ro,dev=/dev/scd0,fs=iso9660,--,iocharset=iso8859-1)
/mnt/cdrom1 on /mnt/cdrom1 type supermount 
(ro,dev=/dev/scd1,fs=iso9660,--,iocharset=iso8859-1)
/mnt/floppy on /mnt/floppy type supermount 
(rw,sync,dev=/dev/fd0,fs=vfat,--,iocharset=iso8859-1,umask=0,codepage=850)
none on /dev/pts type devpts (rw,mode=0620)
none on /dev/shm type tmpfs (rw)
none on /tmp type tmpfs (rw)
none on /proc/bus/usb type usbdevfs (rw,devmode=0664,devgid=43)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
[root@fulgore:~]# touch /mnt/floppy/test
touch: creating `/mnt/floppy/test': Input/output error
[root@fulgore:~]# umount /mnt/floppy/
[root@fulgore:~]# touch /mnt/floppy/test
[root@fulgore:~]# ls -l /mnt/floppy/    
total 0
-rw-r--r--    1 root     root            0 Jul  7 23:53 test
[root@fulgore:~]# rm /mnt/floppy/test
rm: remove `/mnt/floppy/test'? y
[root@fulgore:~]# mount
/dev/md0 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev type devfs (rw)
/dev/hdh1 on /backup type ext3 (ro)
/dev/hde1 on /boot type ext3 (rw)
/dev/hdg1 on /boot2 type ext3 (rw)
/dev/vg1/usr on /usr type ext3 (rw)
/dev/vg1/var on /var type ext3 (rw)
/dev/vg1/home on /home type ext3 (rw)
/dev/hdc1 on /home/temp type ext3 (rw)
/dev/hdf1 on /home/irix type ext3 (rw)
/mnt/cdrom0 on /mnt/cdrom0 type supermount 
(ro,dev=/dev/scd0,fs=iso9660,--,iocharset=iso8859-1)
/mnt/cdrom1 on /mnt/cdrom1 type supermount 
(ro,dev=/dev/scd1,fs=iso9660,--,iocharset=iso8859-1)
none on /dev/pts type devpts (rw,mode=0620)
none on /dev/shm type tmpfs (rw)
none on /tmp type tmpfs (rw)
none on /proc/bus/usb type usbdevfs (rw,devmode=0664,devgid=43)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
[root@fulgore:~]# mount /mnt/floppy/
[root@fulgore:~]# mount
/dev/md0 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev type devfs (rw)
/dev/hdh1 on /backup type ext3 (ro)
/dev/hde1 on /boot type ext3 (rw)
/dev/hdg1 on /boot2 type ext3 (rw)
/dev/vg1/usr on /usr type ext3 (rw)
/dev/vg1/var on /var type ext3 (rw)
/dev/vg1/home on /home type ext3 (rw)
/dev/hdc1 on /home/temp type ext3 (rw)
/dev/hdf1 on /home/irix type ext3 (rw)
/mnt/cdrom0 on /mnt/cdrom0 type supermount 
(ro,dev=/dev/scd0,fs=iso9660,--,iocharset=iso8859-1)
/mnt/cdrom1 on /mnt/cdrom1 type supermount 
(ro,dev=/dev/scd1,fs=iso9660,--,iocharset=iso8859-1)
none on /dev/pts type devpts (rw,mode=0620)
none on /dev/shm type tmpfs (rw)
none on /tmp type tmpfs (rw)
none on /proc/bus/usb type usbdevfs (rw,devmode=0664,devgid=43)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/mnt/floppy on /mnt/floppy type supermount 
(rw,sync,dev=/dev/fd0,fs=vfat,--,iocharset=iso8859-1,umask=0,codepage=850)
[root@fulgore:~]#


Also check your desktop for the floppy icon if you are running X ...


-- 
Eugenio Diaz, BSEE/BSCE
Linux Engineer
[EMAIL PROTECTED]




Reply via email to