Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Automounting
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
tomtomp
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2011
Posts: 89

PostPosted: Sun Oct 23, 2011 11:43 am    Post subject: [SOLVED]Automounting Reply with quote

Hi, how to automount disk (usb and in-hw) when I access the folder which is defined in fstab as mount-point of disk device. I read something about it but didnt quite understand it :S , also how to create mount shortcuts for thunar or pcmanfm?

Thank you :)

ps: I am using fluxbox with lxde panel.


Last edited by tomtomp on Fri Nov 04, 2011 5:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Sun Oct 23, 2011 9:34 pm    Post subject: Reply with quote

Mounts specified in /etc/fstab are mounted at boot or on request, but never automounted. For internal disks, it is simplest to let them mount on boot. For external disks, you could define them in /etc/fstab as noauto,user and issue a mount command when you connect the drive. You could also try using a udev rule to mount on detection. You could use autofs to mount on access.
Back to top
View user's profile Send private message
tomtomp
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2011
Posts: 89

PostPosted: Mon Oct 24, 2011 11:14 am    Post subject: Reply with quote

ok thanx :) I already have it in fstab so il just mount it in terminal.
Back to top
View user's profile Send private message
the_mgt
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 259
Location: Germany, near Hannover

PostPosted: Mon Oct 24, 2011 11:56 am    Post subject: Reply with quote

http://en.gentoo-wiki.com/wiki/Autofs This is the wikiarticle, I used it for quite a while in the early days of HAL, instead of HAL. But it wasnt as stable or comfy as HAL was. Today, there is the whole udisk stuff which in general is a pita to set up if you do not use gnome/kde: https://forums.gentoo.org/viewtopic-t-858965-highlight-udisk.html

Currently, udisks stuff does not work reliable for me, but your experience might differ
_________________
Citadel Groupware | Avahi Howto
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