2.4.0test1-ac45 - more mount blues

From: Marek Mentel (mmark@panda.ichpw.zabrze.pl)
Date: Tue May 30 2000 - 09:49:15 EST


On Tue, 30 May 2000 13:03:34 +0100 (BST), Alan Cox wrote:

>> 2.3.99-pre9 has the bug...
>>
>> Found it last night, as well. :)
>
>Actually thats a feature
>
>> > /dev/hdc /cdrom iso9660 ro,noexec,nosuid,nodev 0 0
>> > /dev/hdc /cdrom iso9660 ro,noexec,nosuid,nodev 0 0
>
>You can mount/dev/hdc in two places at once as well.
>
 But to the same mountpoint ?

 I was trying to ta make a little test and ...

bash-2.03# mount
/dev/sda2 on / type ext2 (rw)
/dev/sda3 on /var type ext2 (rw)
/dev/sda4 on /home type ext2 (rw)
none on /proc type proc (rw)
/dev/hdc on /cdrom type iso9660 (ro,noexec,nosuid,nodev)
bash-2.03# mount -t iso9660 /dev/hdc /mnt
mount: block device /dev/hdc is write-protected, mounting read-only
bash-2.03# mount
/dev/sda2 on / type ext2 (rw)
/dev/sda3 on /var type ext2 (rw)
/dev/sda4 on /home type ext2 (rw)
none on /proc type proc (rw)
/dev/hdc on /cdrom type iso9660 (ro,noexec,nosuid,nodev)
/dev/hdc on /mnt type iso9660 (ro)

 ok - /dev/hdc is mounted twice - to the different directories

 lets try to mount floppy with cdrom to the same mountpoint ( of
course by mistake :)
    
bash-2.03# mount -t msdos /dev/fd0 /mnt
mount: /dev/fd0 is not a valid block device

 I was expecting " /dev/hdc is already mounted to /mnt "

 I have in fstab line like this

     dev/fd0 /a msdos users,noauto 0 0
     Lets try ..
bash-2.03# mount /a
 
 no response - the system reboots suddenly !

 no core, no oops -

 kernellog :

14:30:40 koala kernel: inserting floppy driver for 2.4.0-test1-ac5
14:30:40 koala kernel: Floppy drive(s): fd0 is 1.44M
14:30:40 koala kernel: FDC 0 is a post-1991 82077
14:30:40 koala kernel: VFS: Disk change detected on device fd(2,0)
14:30:40 koala kernel: end_request: I/O error, dev 02:00 (floppy),
sector 0
14:31:21 koala kernel: VFS: Disk change detected on device fd(2,0)

--------------------------------------------------------
 Marek Mentel mmark@koala.ichpw.zabrze.pl 2:484/3.8
 INSTITUTE FOR CHEMICAL PROCESSING OF COAL , Zabrze , POLAND
 NOTE: my opinions are strictly my own and not those of my employer

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:24 EST