Package: mount
Version: 2.12p-4sarge1
Severity: normal

The following is the relevant extract from my /etc/fstab file:

tmpfs           /mnt/tmpfs      tmpfs   size=10G,mode=755 0     0
proc            /proc           proc    defaults                0       0

If I have a directory or file called tmpfs in the current directory
when I invoke mount -a then an additional tmpfs is created and mounted
on top of the one mounted on /mnt/tmpfs .  This does not occur with
proc .

A transcript follows: 

cleopatra:~# mkdir bug
cleopatra:~# cd bug
cleopatra:~/bug# df -a | grep -E tmpfs\|proc
proc                         0         0         0   -  /proc
tmpfs                 10485760   2280832   8204928  22% /mnt/tmpfs
tmpfs                   257476         0    257476   0% /dev/shm
cleopatra:~/bug# mount -a
cleopatra:~/bug# df -a | grep -E tmpfs\|proc
proc                         0         0         0   -  /proc
tmpfs                 10485760   2280832   8204928  22% /mnt/tmpfs
tmpfs                   257476         0    257476   0% /dev/shm
cleopatra:~/bug# touch proc tmpfs
cleopatra:~/bug# mount -a
cleopatra:~/bug# df -a | grep -E tmpfs\|proc
proc                         0         0         0   -  /proc
tmpfs                 10485760         0  10485760   0% /mnt/tmpfs
tmpfs                   257476         0    257476   0% /dev/shm
/root/bug/tmpfs       10485760         0  10485760   0% /mnt/tmpfs
cleopatra:~/bug# umount /root/bug/tmpfs
cleopatra:~/bug# df -a | grep -E tmpfs\|proc
proc                         0         0         0   -  /proc
tmpfs                 10485760   2280832   8204928  22% /mnt/tmpfs
tmpfs                   257476         0    257476   0% /dev/shm


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.32
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mount depends on:
ii  libblkid1             1.37-2sarge1       block device id library
ii  libc6                 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
ii  libuuid1              1.37-2sarge1       universally unique id library

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to