2.3.99-pre9: more problems with mount

From: Andris Pavenis (pavenis@latnet.lv)
Date: Thu May 25 2000 - 03:49:28 EST


I applied patch for copy_mount_options() in fs/super.c of 2.3.99-pre9 to fix
recent problems (mount -t smbfs didn't work). After that SMBFS filesystems
mounts normally but there are more problems which as I verified are present
also with not modified 2.3.99-pre9-2 but not with 2.3.99-pre6:

I'm able to mount some filesystem more that once and I'm getting more than
one entry in /proc/mounts:

For example

I run 'mount /cdrom' multiple times and got multiple entries in /proc/mounts:

hal:~$ cat /proc/mounts
none / shm rw 0 0
none pipe: pipefs rw 0 0
none / proc rw 0 0
/dev/ide/host0/bus0/target0/lun0/part2 / ext2 rw 0 0
none /dev devfs rw 0 0
/dev/hda1 /c vfat rw,noexec 0 0
/dev/hdb1 /d vfat rw,noexec 0 0
/dev/hdb5 /e vfat rw,noexec 0 0
/dev/hdb3 /disk2 ext2 rw 0 0
none /dev/pts devpts rw 0 0
none /proc proc rw 0 0
none /var/shm shm rw 0 0
//stargate/storage /storage smbfs rw 0 0
//stargate/upload /upload smbfs rw 0 0
//stargate/apps /apps smbfs rw 0 0
/dev/hdc /cdrom iso9660 ro,noexec,nosuid,nodev 0 0
/dev/hdc /cdrom iso9660 ro,noexec,nosuid,nodev 0 0
/dev/hdc /cdrom iso9660 ro,noexec,nosuid,nodev 0 0
/dev/hdc /cdrom iso9660 ro,noexec,nosuid,nodev 0 0
/dev/hdc /cdrom iso9660 ro,noexec,nosuid,nodev 0 0

As I wrote I have the same problem also with 2.3.99-pre9-2.
2.3.99-pre6 rejected attempts to mount filesystem more than once
(as it should do)

Andris

 

-
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:13 EST