View previous topic :: View next topic |
Author |
Message |
nolim n00b
Joined: 17 Dec 2005 Posts: 22 Location: Israel
|
Posted: Mon Feb 06, 2006 1:54 pm Post subject: gentoo ignores /etc/fstab and mount fS as he wants![Solved] |
|
|
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 |
|
|
AllenJB Veteran
Joined: 02 Sep 2005 Posts: 1285
|
Posted: Mon Feb 06, 2006 3:18 pm Post subject: |
|
|
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 |
|
|
nolim n00b
Joined: 17 Dec 2005 Posts: 22 Location: Israel
|
Posted: Tue Feb 07, 2006 12:43 pm Post subject: |
|
|
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 |
|
|
Slimm n00b
Joined: 15 Dec 2004 Posts: 14
|
Posted: Sat Apr 08, 2006 5:52 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|