Package: mount Version: 2.12r-19etch1 Severity: normal File: /bin/mount Hi
I have a directory tree like /a /a/b /a/c where /a/b and /a/c mount --bind to /srv/b and /srv/c That normally works fine. Today I unmounted /a and tried to fsck the partition. $ sudo umount /dev/sda1 $ sudo fsck -C0 /dev/sda1 fsck 1.40-WIP (14-Nov-2006) e2fsck 1.40-WIP (14-Nov-2006) /dev/sda1 is mounted. WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage. Do you really want to continue (y/n)? no check aborted. After 30 mins messing around I finally noticed that mount still showed /a/b mounted on /srv/b etc. Please refuse to umount /a whilst /a/b is still bind mounted to /srv/b. (There are alternatives like automatically umounting /a/b when /a is umounted, or having the kernel somehow disable access to /srv/b when /a is umount. Both are not a good idea imo if the admin might have forgotten to stop services that access /srv/b). Thanks for your work in Debian. Andrew -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-686 Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Versions of packages mount depends on: ii lib 1.39+1.40-WIP-2006.11.14+dfsg-2etch1 block device id library ii lib 2.3.6.ds1-13etch5 GNU C Library: Shared libraries ii lib 1.39+1.40-WIP-2006.11.14+dfsg-2etch1 universally unique id library mount recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

