FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 06-16-2011, 04:07 PM
Jeremy MAURO
Default bind option

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,da ta=ordered 0 0
/dev/mapper/vg_system-lv_tmp /var/tmp ext3
rw,nosuid,nodev,noexec,relatime,errors=continue,da ta=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,da ta=ordered 0 0
/dev/mapper/vg_system-lv_tmp /var/tmp ext3
rw,nosuid,nodev,relatime,errors=continue,data=orde red 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
[root@XXX]:~ # dpkg -l mount

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version

+++-================================-================================-================================================== ==============================
ii mount 2.17.2-9
Tools for mounting and manipulating filesystems

[root@XXX]:~ #


To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4DFA2A33.8000800@antidot.net">http://lists.debian.org/4DFA2A33.8000800@antidot.net

Thread Tools

All times are GMT. The time now is 08:49 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org