Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
automounting with pmount, hal etc.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
newmario
n00b
n00b


Joined: 23 Mar 2004
Posts: 49

PostPosted: Fri Mar 24, 2006 10:23 pm    Post subject: automounting with pmount, hal etc. Reply with quote

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
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sat Mar 25, 2006 4:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
The Rancid
n00b
n00b


Joined: 22 Mar 2006
Posts: 15

PostPosted: Sun Apr 30, 2006 8:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sun Apr 30, 2006 1:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
The Rancid
n00b
n00b


Joined: 22 Mar 2006
Posts: 15

PostPosted: Tue May 02, 2006 1:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
coolsnowmen
Veteran
Veteran


Joined: 30 Jun 2004
Posts: 1479
Location: No.VA

PostPosted: Fri May 05, 2006 3:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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