Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo ignores /etc/fstab and mount fS as he wants![Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
nolim
n00b
n00b


Joined: 17 Dec 2005
Posts: 22
Location: Israel

PostPosted: Mon Feb 06, 2006 1:54 pm    Post subject: gentoo ignores /etc/fstab and mount fS as he wants![Solved] Reply with quote

Hello everybody!!I had recently noticed that after reboot, the devices o my system aren't mounted correctly.
here is my fstab file:
Code:
# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda2         /         ext3         rw,noatime      0 1
/dev/hda4         none         swap         sw            0 0
/dev/hda3         /home         ext3         rw,exec,user,noatime    0 0
/dev/hdc         /mnt/cdrom   iso9660      noauto,user      0 0
/dev/fd0         /mnt/floppy   vfat         noauto,user      0 0
/dev/hda1         /mnt/c      vfat      noauto,user,iocharset=utf8   0 2
# NOTE: The next line is critical for boot!
none            /proc         proc         defaults         0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm            /dev/shm      tmpfs      nodev,nosuid,noexec   0 0

And here is my mtab(I hadn't mount a thing after the reboot):
Code:
/dev/hda2 / ext3 rw,noatime 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
udev /dev tmpfs rw,nosuid 0 0
devpts /dev/pts devpts rw 0 0
/dev/hda3 /home ext3 rw,noexec,nosuid,nodev,noatime 0 0
shm /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0
usbfs /proc/bus/usb usbfs rw,devmode=0664,devgid=85 0 0

I don't know what is the ****ing problem, I to mount /home with the exec flag but it doesn't work.
Any ideas??
_________________
Linux, if it's broken fix it!
Gentoo, The Power To Be Free
FF is not FastForward...FireFox get ready!!
[img]http://nolim.er1.be/trust.gif[/img]


Last edited by nolim on Wed Mar 01, 2006 9:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
AllenJB
Veteran
Veteran


Joined: 02 Sep 2005
Posts: 1285

PostPosted: Mon Feb 06, 2006 3:18 pm    Post subject: Reply with quote

From man mount:
Code:
 user   Allow  an  ordinary  user  to  mount the file system.  The name of the mounting user is written to mtab so that he can unmount the file system again.  This
                     option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid).


This means that you must put "exec" AFTER "user"

Allen
Back to top
View user's profile Send private message
nolim
n00b
n00b


Joined: 17 Dec 2005
Posts: 22
Location: Israel

PostPosted: Tue Feb 07, 2006 12:43 pm    Post subject: Reply with quote

AllenJB wrote:
From man mount:
Code:
 user   Allow  an  ordinary  user  to  mount the file system.  The name of the mounting user is written to mtab so that he can unmount the file system again.  This
                     option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid).


This means that you must put "exec" AFTER "user"

Allen

10x...solved!
_________________
Linux, if it's broken fix it!
Gentoo, The Power To Be Free
FF is not FastForward...FireFox get ready!!
[img]http://nolim.er1.be/trust.gif[/img]
Back to top
View user's profile Send private message
Slimm
n00b
n00b


Joined: 15 Dec 2004
Posts: 14

PostPosted: Sat Apr 08, 2006 5:52 am    Post subject: Reply with quote

AllenJB wrote:
From man mount:
Code:
 user   Allow  an  ordinary  user  to  mount the file system.  The name of the mounting user is written to mtab so that he can unmount the file system again.  This
                     option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid).


This means that you must put "exec" AFTER "user"

Allen



Thanks double.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum