Hi everyone,
A quick question for the 'bind' option PROs...
Here is the case:
[root@XXX]:/data/local # grep "/tmp" /etc/fstab
/dev/vg_system/lv_tmp /tmp
ext3 rw,nodev,nosuid,noexec 0 2
/tmp /var/tmp
none rw,noexec,nosuid,nodev,bind 0 0
[root@XXX]:/data/local # grep "/tmp" /proc/mounts
/dev/mapper/vg_system-lv_tmp /tmp ext3
rw,nosuid,nodev,noexec,relatime,errors=continue,data=ordered 0 0
/dev/mapper/vg_system-lv_tmp /var/tmp ext3
rw,nosuid,nodev,noexec,relatime,errors=continue,data=ordered 0 0
As you can see everything is in order the source mount point and the
destination are all right.
Here is the catch
[root@XXX]:/data/local # mount -o remount,exec /tmp
[root@XXX]:/data/local # grep "/tmp" /proc/mounts
/dev/mapper/vg_system-lv_tmp /tmp ext3
rw,nosuid,nodev,noexec,relatime,errors=continue,data=ordered 0 0
/dev/mapper/vg_system-lv_tmp /var/tmp ext3
rw,nosuid,nodev,relatime,errors=continue,data=ordered 0 0
[root@XXX]:/data/local #
Unfortunately, I haven't found a way to change the source mount point
options, only the "/var/tmp" is affected, any idea if it is possible to
change the mount option of "/tmp"?
If you need info:
[root@XXX]:~ # cat /etc/debian_version
6.0.1
[root@XXX]:~ # dpkg -l mount
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
Description
+++-================================-================================-================================================================================
ii mount 2.17.2-9
Tools for mounting and manipulating filesystems
[root@XXX]:~ #
--
Regards,
JM
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dfa2a33.8000...@antidot.net