Krisbee wrote: > CSOSR7 - Attaching a Local Disk tests: > > Testbed - VirtualBox VM - Fedora 20 + CSOS x86_64 + fedora/jivelite > users with auto login on tty1 etc. Booting kernel 3.13.7-200.fc20.x86_64 > with params video=vesafb vga=789 net.ifnames=0 biosdevname=0 selinux=0. > Updated to latest testing > > > Code: -------------------- > > [fedora@squeeze-v /]$ rpm -qa | grep squee > community-squeeze-repo-1-7.noarch > squeeze-web-gui-lua-1.0-0.4.gita9f6c5d.fc20.noarch > squeeze-player-scripts-1-8.noarch > squeeze-web-gui-ROOT-1-134.20140330gitb028e12.fc20.noarch > squeezelite-1.6-2.fc20.x86_64 > squeeze-web-gui-1-134.20140330gitb028e12.fc20.noarch > squeeze-web-gui-lua-httpd-1.0-0.4.gita9f6c5d.fc20.noarch > [fedora@squeeze-v /]$ rpm -qa | grep logi > logitechmediaserver-CPAN-7.8.0-0.17.20130904git1378237026.fc20.x86_64 > logitechmediaserver-7.8.0-0.79.20140322git1395395852.fc20.noarch > logitechmediaserver-vendor-7.8.0-0.6.20130303git1349179762.fc20.x86_64 -------------------- > > > > Tested various combinations of valid and invalid input and results > appears as you might expect. But what about this one? > > 10. condition - try to mount /dev/sdb1 on /storage when partition is > already mounted. > result - error message mount: /dev/sdb1 is already mounted or > /storage busy /dev/sdb1 is already mounted on /mnt/disk2 > > 11. condition - umount previous mount of /dev/sdb1 but do not > remove, then mount on another point. > > result : see screen gab > > 15799 > > > Code: -------------------- > > [fedora@squeeze-v ~]$ mount | grep sdb1 > /dev/sdb1 on /storage type ext4 (rw,relatime,data=ordered) > [fedora@squeeze-v ~]$ cat /etc/fstab > > # > # /etc/fstab > # Created by anaconda on Thu Mar 20 15:15:11 2014 > # > # Accessible filesystems, by reference, are maintained under '/dev/disk' > # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info > # > /dev/mapper/fedora-root / ext4 defaults 1 1 > UUID=25c5c703-fc86-4d19-b7f8-23e845f2cd02 /boot ext4 defaults 1 2 > /dev/mapper/fedora-swap swap swap defaults 0 0 > # start added by squeeze-web-gui-lua > 192.168.0.20:/media/allmusic/ToFile /mnt/disk1 nfs4 ro,rsize=8192,wsize=8192 0 0 > /dev/sdb1 /storage ext4 defaults,nofail 0 0 > /dev/sdb1 /mnt/disk2 ext4 ro 0 0 > # end added by squeeze-web-gui-lua -------------------- > > > > What happens if left like this and you reboot? Answer: see screen > grab: > > 15800 > > > Code: -------------------- > > fedora@squeeze-v ~]$ mount | grep sdb > /dev/sdb1 on /mnt/disk2 type ext4 (ro,relatime,data=ordered) > [fedora@squeeze-v ~]$ cat /etc/fstab > > # > # /etc/fstab > # Created by anaconda on Thu Mar 20 15:15:11 2014 > # > # Accessible filesystems, by reference, are maintained under '/dev/disk' > # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info > # > /dev/mapper/fedora-root / ext4 defaults 1 1 > UUID=25c5c703-fc86-4d19-b7f8-23e845f2cd02 /boot ext4 defaults 1 2 > /dev/mapper/fedora-swap swap swap defaults 0 0 > # start added by squeeze-web-gui-lua > 192.168.0.20:/media/allmusic/ToFile /mnt/disk1 nfs4 ro,rsize=8192,wsize=8192 0 0 > /dev/sdb1 /storage ext4 defaults,nofail 0 0 > /dev/sdb1 /mnt/disk2 ext4 ro 0 0 > # end added by squeeze-web-gui-lua -------------------- > > > > Mounts are swapped over. What is the expected/desired behaviour?
I knew I should have kept this simple and not have an unmount option - only a remove! I think what we are saying is that we should not give the option to mount to a location which is configured but not active? ------------------------------------------------------------------------ Triode's Profile: http://forums.slimdevices.com/member.php?userid=17 View this thread: http://forums.slimdevices.com/showthread.php?t=99395 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
