You are not logged in.

#1 2010-12-25 21:11:34

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

What is the current state of device mounting in Arch?

I'm about to install Arch on a new laptop (yay, Christmas!). On my desktop I have HAL and udisks installed and Thunar-devel and PCManFM.

So basically, I don't know what is actually required to do what...

Can somebody give me the 1-2-3's of how I *should* set up my new laptop for use with Openbox to have CD's and USB sticks automounted. Is HAL needed for power management stuff?

Offline

#2 2010-12-25 21:15:04

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: What is the current state of device mounting in Arch?

Think Arch wiki can answer most of your questions


Mr Green

Offline

#3 2010-12-25 21:36:13

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: What is the current state of device mounting in Arch?

Well, I do know that I can do the homework myself, but I was more looking for opinions and tips that people have already figured out.

Since it seems we're in a transitional phase with this mounting thing I was just wondering if most people are still just installing HAL and Udisks or if some people are nixing HAL or maybe some are putting off UDisks for now.

Also wondering what people would do if they were to be installing Arch tomorrow.

Offline

#4 2010-12-25 22:24:05

useradded
Member
From: Edinburgh, UK
Registered: 2010-05-15
Posts: 77

Re: What is the current state of device mounting in Arch?

A few conclusions I came to in my looking into automounting:


(1) HAL is deprecated and most projects seem to be moving away from it, so there seems little point in basing a new automounting setup on HAL.  As far as I know, HAL is not needed for power management.

(2) I have been unable to find a lightweight, stable file manager that automounts with udisks, although I believe the thunar-devel you're using does.

(3) Udev rules are the simplest, cleanest solution to automounting usb HDD/sticks.  I use a slightly modified version of the rules in our esteemed wiki.  I have not been able to get CDs to automount using udev rules, however all I ever do with CDs is ripping and that doesn't require mounting.

I use openbox too, by the way.  I hope this is of some use.

Last edited by useradded (2010-12-25 22:24:50)

Offline

#5 2010-12-25 22:30:47

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: What is the current state of device mounting in Arch?

useradded wrote:

A few conclusions I came to in my looking into automounting:


(1) HAL is deprecated and most projects seem to be moving away from it, so there seems little point in basing a new automounting setup on HAL.  As far as I know, HAL is not needed for power management.

(2) I have been unable to find a lightweight, stable file manager that automounts with udisks, although I believe the thunar-devel you're using does.

(3) Udev rules are the simplest, cleanest solution to automounting usb HDD/sticks.  I use a slightly modified version of the rules in our esteemed wiki.  I have not been able to get CDs to automount using udev rules, however all I ever do with CDs is ripping and that doesn't require mounting.

I use openbox too, by the way.  I hope this is of some use.


That's exactly the kind of info I was looking for.

Unfortunately Thunar-devel doesn't want to auto-mount my CD's either

Offline

#6 2010-12-25 23:07:51

eduardo.eae
Member
From: Reconquista - Argentina
Registered: 2010-01-24
Posts: 68

Re: What is the current state of device mounting in Arch?

What about autofs? Its in community. It mounts hdd partitions, usb drives, CDs and DVDs without problem.

Offline

#7 2010-12-25 23:53:35

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: What is the current state of device mounting in Arch?

Udiskie seems to be working well for me over the last few weeks with everything I've thrown at it.

Offline

#8 2010-12-26 02:27:36

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: What is the current state of device mounting in Arch?

+1 for using udev rules. I haven't needed to use CD/DVDs in years though.

Offline

#9 2010-12-26 05:31:40

mechoid9
Member
From: North America
Registered: 2010-12-26
Posts: 9

Re: What is the current state of device mounting in Arch?

I'm somewhere between a minimalist and a pragmatist, so I'm going to say use gvfs (gvfs and gvfs-*) with PCmanFM. It's light-weight without the headache. If I'm not mistaken, gvfs needs HAL and dbus. I agree that you shouldn't need hal for power management, unless you use gnome-power-management. My system is currently using some bastardization of dbus, hal and udisks, (thanks to my using a Dell XPS M1520). This is primarily a result of my ignorance concerning udisk rules.

I use openbox, also.

Last edited by mechoid9 (2010-12-26 06:38:30)

Offline

#10 2010-12-26 08:34:49

ChemBro
Member
Registered: 2008-10-22
Posts: 703

Re: What is the current state of device mounting in Arch?

pogeymanz wrote:

Unfortunately Thunar-devel doesn't want to auto-mount my CD's either

Is it a audio cd? If yes, then this is a normal behaviour.

Offline

#11 2010-12-26 15:43:10

ctarwater
Member
Registered: 2009-02-05
Posts: 300

Re: What is the current state of device mounting in Arch?

I just recently reinstalled Arch on my laptop and here's what I had to do (using openbox + pcmanfm)

- install pcmanfm, gamin, udisk
- add dbus to daemons in rc.conf
- start openbox with the following line in ~/.xinitrc

exec ck-launch-session dbus-launch --sh-syntax --exit-with-session openbox-session

Right now it automounts my sd card, my usb/external hard drive, and data discs.

Now - I also installed gvfs for trash support but I'm fairly confident I remember it working fine before that...the .xinitrc line was the missing piece.  I found it somewhere while scouring the forums here.

Last edited by ctarwater (2010-12-26 15:44:25)

Offline

#12 2010-12-26 17:41:44

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: What is the current state of device mounting in Arch?

ctarwater wrote:

I just recently reinstalled Arch on my laptop and here's what I had to do (using openbox + pcmanfm)

- install pcmanfm, gamin, udisk
- add dbus to daemons in rc.conf
- start openbox with the following line in ~/.xinitrc

exec ck-launch-session dbus-launch --sh-syntax --exit-with-session openbox-session

Right now it automounts my sd card, my usb/external hard drive, and data discs.

Now - I also installed gvfs for trash support but I'm fairly confident I remember it working fine before that...the .xinitrc line was the missing piece.  I found it somewhere while scouring the forums here.


Great. I will try this approach.

To answer a previous question: This was a data CD-RW that didn't get automounted.

Offline

#13 2010-12-26 19:57:46

mechoid9
Member
From: North America
Registered: 2010-12-26
Posts: 9

Re: What is the current state of device mounting in Arch?

@ctarwater - thanks for clearing that up for me.

Offline

#14 2010-12-27 18:36:15

ctarwater
Member
Registered: 2009-02-05
Posts: 300

Re: What is the current state of device mounting in Arch?

so did that work out for you guys?  If so I'd like to add it to the wiki but I want to make sure my results can be duplicated beforehand.

Offline

#15 2010-12-28 03:08:21

mechoid9
Member
From: North America
Registered: 2010-12-26
Posts: 9

Re: What is the current state of device mounting in Arch?

I never explicitly installed gamin, but what you said about dbus worked/works for me.

Offline

#16 2010-12-28 09:45:28

broken pipe
Member
Registered: 2010-12-10
Posts: 238

Re: What is the current state of device mounting in Arch?

cd/dvd automounting works after i created the mountpoints in /media/. thanks!

however it doesn't work for my stick, any ideas!? sad

Offline

#17 2010-12-28 18:18:32

jwbwater
Member
From: US, Arizona
Registered: 2009-07-22
Posts: 14

Re: What is the current state of device mounting in Arch?

@ctarwater:
Your recommendation worked for me with pcmanfm and openbox.  I don't use cdroms though so I can't comment on their automounting.

Thanks.

Offline

#18 2010-12-28 18:53:09

ctarwater
Member
Registered: 2009-02-05
Posts: 300

Re: What is the current state of device mounting in Arch?

ok, I updated the pcmanfm wiki with the above-mentioned .xinitrc command.

Offline

#19 2010-12-30 06:28:23

phlaaj
Member
Registered: 2010-12-24
Posts: 13

Re: What is the current state of device mounting in Arch?

I followed ctarwater's solution exactly (post #11, also now in the pcmanfm wiki article), but my USBs still will not automount. Ideally I would prefer not to have to install gvfs - am I missing any other packages, or permissions?

Edit: Couldn't wait to figure it out, installed gvfs, automount now works like a charm (I was also able to remove the dbus-launch part from my .xinitrc, but I still needed ck-launch-session). I am just wondering if automount on pcmanfm 0.9.8-2 is possible without gvfs (i.e., with only udisks)? If not, then the pcmanfm wiki should be edited, as it implies that automounting can be achieved without gvfs...

Last edited by phlaaj (2010-12-30 16:52:40)

Offline

Board footer

Powered by FluxBB