Package: mount Version: 2.12r-19 Severity: normal Mount's option -f (fake a mount) does update mtab when doing a remount.
Since mtab is updated, but the mount-options are unmodified, one can get a false impression of having correctly remounted the fs. As an example see the following command sequence: ,----- | /tmp# cat echo.sh | #!/bin/sh | echo $* | /tmp# mount|grep /tmp | tmpfs on /tmp type tmpfs (rw) | /tmp# ./echo.sh 1 2 3 | 1 2 3 | /tmp# mount -f -o remount,noexec . | /tmp# mount|grep /tmp | tmpfs on /tmp type tmpfs (rw,noexec) | /tmp# ./echo.sh 1 2 3 | 1 2 3 `----- >From this point of view mount should not update mtab when doing a remount and the 'proper' entry is already in mtab. Kind regards, Marcus Fritzsch -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.20.1-r1 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages mount depends on: ii libblkid 1.39+1.40-WIP-2006.11.14+dfsg-1 block device id library ii libc6 2.3.6.ds1-12 GNU C Library: Shared libraries ii libuuid1 1.39+1.40-WIP-2006.11.14+dfsg-1 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]