Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
automatically mounting dvd/external hds
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
moaxcp
n00b
n00b


Joined: 17 Dec 2014
Posts: 52
Location: Ashburn, VA USA

PostPosted: Wed Feb 25, 2015 1:19 pm    Post subject: automatically mounting dvd/external hds Reply with quote

Hello I was wondering what is the best way to automatically mount things in Gentoo? It looks like the choices are udisks or autofs. autofs uses the kernel automounter and udisks uses dbus. Are there any reasons to choose one over the other?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Wed Feb 25, 2015 4:14 pm    Post subject: Reply with quote

It's up to you. It depends on what kind of user interface you expect, I suspect the dbus method is more pleasant to the desktop environment user as it was designed from the ground up for that purpose so it will show your disks when plugged in, and removed when you unplug. Automount/autofs I feel is more for NFS but it works for both.

If you install a DE with udisks/dbus support automount tends to be set up for you. Autofs for disks requires a little configuration, but I think autofs is more for devices that are rarely removed/inserted on the system (used for a long period of time, known origin/destinations.) udisks is more for when you don't necessarily know much about the media being inserted, other than being on the console somewhere.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
moaxcp
n00b
n00b


Joined: 17 Dec 2014
Posts: 52
Location: Ashburn, VA USA

PostPosted: Wed Feb 25, 2015 8:20 pm    Post subject: Reply with quote

I am using LXDE. I will look into how it works with udisks if at all.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Thu Feb 26, 2015 11:32 pm    Post subject: Reply with quote

The file manager for LXDE (pcmanfm?) looks like it should report udisks, so it should work fine if it was built properly.

I've used udisks with XFCE/thunar and Gnome/nautilus, they work very well, saves a lot of effort for single user machines.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
moaxcp
n00b
n00b


Joined: 17 Dec 2014
Posts: 52
Location: Ashburn, VA USA

PostPosted: Fri Feb 27, 2015 1:08 am    Post subject: Reply with quote

Oh wow. I didn't realize that. I was trying to open a win95 cd and it wasn't working. The cd works it just isn't getting mounted for some reason.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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