View previous topic :: View next topic |
Author |
Message |
newmario n00b
Joined: 23 Mar 2004 Posts: 49
|
Posted: Fri Mar 24, 2006 10:23 pm Post subject: automounting with pmount, hal etc. |
|
|
From where gets pmount the mounting options ?
problem: my homedir is on a separate partition (dev/hda8) of my harddisk and pmount mount that partition with "noexec" ??? and "nodev 0 0" ?
(i want to execute some files in my home dir )
here is my /etc/mtab:
/dev/hda7 / 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/hda6 /boot ext2 rw,noatime 0 0
/dev/hda8 /home/mario ext3 rw,noexec,nosuid,nodev,noatime 0 0 <------ !!!!!!
/dev/hda5 /mnt/share vfat rw,nosuid,nodev,noatime,umask=000 0 0
shm /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0
capifs /dev/capi capifs rw 0 0
usbfs /proc/bus/usb usbfs rw,devmode=0664,devgid=85 0 0
here is my fstab :
/dev/hda6 /boot ext2 defaults,noatime 1 2
/dev/hda7 / ext3 noatime 0 1
/dev/hda8 /home/mario ext3 noatime,users,rw 0 1
/dev/hda9 none swap sw 0 0
#/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/hdc /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
/dev/hda5 /mnt/share vfat noatime,users,rw,umask=000 0 0
#/dev/ipod /mnt/ipod vfat sync,nodev,nosuid,user,rw,noauto 0 0
#/dev/extern /mnt/extern vfat nodev,nosuid,user,rw,noauto 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
capifs /dev/capi capifs defaults 0 0
proc /proc proc defaults 0 0
please help me, i'am totally confused about this pmount and automounting things. |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Sat Mar 25, 2006 4:14 pm Post subject: |
|
|
pmount isn't used to mount that partition. Just add the options you want to your /etc/fstab file. Code: | /dev/hda8 /home/mario ext3 rw,exec,dev,noatime 0 0 |
|
|
Back to top |
|
|
The Rancid n00b
Joined: 22 Mar 2006 Posts: 15
|
Posted: Sun Apr 30, 2006 8:14 am Post subject: |
|
|
Sure, home partition shouldn't be mounted through pmount, but that's indeed an interesting question. How can I tell pmount about the options I want to add to a specific entry? Should I use hal configuration files or there is an obscure config file for pmount (or maybe udev)? _________________ "They exist only so long as the living take no notice."
-Kifimbo, Shadow Guildmage
I am The Rancid
Homepage: http://therancid.cjb.net/ |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Sun Apr 30, 2006 1:21 pm Post subject: |
|
|
The Rancid wrote: | Sure, home partition shouldn't be mounted through pmount, but that's indeed an interesting question. How can I tell pmount about the options I want to add to a specific entry? Should I use hal configuration files or there is an obscure config file for pmount (or maybe udev)? |
Pmount should respect fstab entries if they exist. |
|
Back to top |
|
|
The Rancid n00b
Joined: 22 Mar 2006 Posts: 15
|
Posted: Tue May 02, 2006 1:00 pm Post subject: |
|
|
Right, but what about entries which does not exists in fstab? Where do I set an entry's options? _________________ "They exist only so long as the living take no notice."
-Kifimbo, Shadow Guildmage
I am The Rancid
Homepage: http://therancid.cjb.net/ |
|
Back to top |
|
|
coolsnowmen Veteran
Joined: 30 Jun 2004 Posts: 1479 Location: No.VA
|
Posted: Fri May 05, 2006 3:49 pm Post subject: |
|
|
I don't know, but
Can you be more specific, If its a static device, then it should be in fstab.
If its not, what kind of option does it have that you need (having trouble understanding). |
|
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
|
|