You are not logged in.

#1 2010-04-02 19:44:54

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Mount without HAL in pcmanfm

Kind of a dumb question, but: can I get pcmanfm's mount ability to work with static mountpoints in /etc/fstab? That would be a heck of a lot nicer than relying on HAL.

Offline

#2 2010-04-02 20:20:47

sonoran
Member
From: sonoran desert
Registered: 2009-01-12
Posts: 192

Re: Mount without HAL in pcmanfm

From the pcmanfm README:

If a device is defined in /etc/fstab, PCManFM will call mount/umount directly.
  Otherwise, HAL will be called to mount the devices. This is usually the case of
  removable devices such as usb disks or SD cards which are not described in fstab.
  Default options to mount various file systems on these devices can be changed
  via editing /usr/share/pcmanfm/mount.rules. The file format is easy to understand.
  Newer versions of HAL force applications to handle these options themselves.
  (http://www.linuxfromscratch.org/blfs/vi … l/hal.html)

Also:

while PCManFM has a new version in the making which uses udisks, but it does so via gnome-disk-utility, which is ugh.

That's from post #4 in this thread: http://bbs.archlinux.org/viewtopic.php?id=93958

I'm still using HAL.

Offline

#3 2010-04-02 20:33:59

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Mount without HAL in pcmanfm

Ah okay... I'd tried using just /etc/fstab before but it hadn't worked, the devices hadn't shown up in pcmanfm's list. Weird.

Offline

#4 2010-04-02 21:08:19

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Mount without HAL in pcmanfm

You may already know, but you can also automount using udev, independently of any file manager. I've no idea, though, if this is compatible with whatever pcmanfm tries to do - maybe you could disable pcmanfm automounting, and just use udev?

/etc/fstab is fine for your static devices, but I presume you're not planning to edit it every time you need to mount some random usb stick? smile

Offline

#5 2010-04-02 23:28:27

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Mount without HAL in pcmanfm

No, for random USB sticks I would just use the command line. smile

Offline

#6 2010-04-09 18:19:17

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: Mount without HAL in pcmanfm

gnome-disk-utility works great. Though a bit overweight, but it works.

Offline

Board footer

Powered by FluxBB