Strage mount behaviour in 2.3.99-pre8 bug or feature?

From: Thorsten Knabe (tek@thorsten-knabe.de)
Date: Sun May 14 2000 - 08:59:42 EST


Hello Linux gurus.

Is this expected behaviour? I don't think so:

> df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 7747977 5285069 2061285 72% /

> mount /cdrom
> df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 7747977 5285069 2061285 72% /
/dev/hdc 707446 707446 0 100% /cdrom

> mount /cdrom
> df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 7747977 5285069 2061285 72% /
/dev/hdc 707446 707446 0 100% /cdrom
/dev/hdc 707446 707446 0 100% /cdrom

> mount /cdrom
> df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 7747977 5285069 2061285 72% /
/dev/hdc 707446 707446 0 100% /cdrom
/dev/hdc 707446 707446 0 100% /cdrom
/dev/hdc 707446 707446 0 100% /cdrom

> umount /cdrom
umount: it seems /cdrom is mounted multiple times

# umount -f /cdrom
> df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 7747977 5285069 2061285 72% /

[remove cd from drive]

> ls /cdrom
01.2000
02.2000
03.2000
04.2000

[insert another cd]

> mount /cdrom
> df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 7747977 5285069 2061285 72% /
/dev/hdc 333666 333666 0 100% /cdrom

> ls /cdrom
01.2000
02.2000
03.2000
04.2000

-- 
              E-Mail: tek@thorsten-knabe.de
___              WWW: http://tek.thorsten-knabe.de
 |        | /    ICQ: 5472045
 |horsten |/\nabe     Linux AD1816 sound driver developer

- 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 : Mon May 15 2000 - 21:00:24 EST