You are not logged in.

#1 2006-06-29 10:30:39

becho4
Member
From: Galicia, Spain
Registered: 2004-12-09
Posts: 84

Mount usb disk after boot

Hi,

How can I mount automatically an usb disk after boot?
Any suggestion would be appreciated.

Thanks

Offline

#2 2006-06-29 11:39:37

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

Re: Mount usb disk after boot

try either adding entry in fstab or set up udev rule to mount device

HTH


Mr Green

Offline

#3 2006-06-29 16:40:54

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: Mount usb disk after boot

Read this fine article and use it to set up a udev rule, to specifically name the device.  (Otherwise you may never know where it pops up in the disk naming scheme.)

Also note -- after reading the article -- there are plenty of examples of rules in /etc/udev/ files that may further help.

Offline

#4 2006-06-29 17:01:02

Ryujin
Forum Fellow
From: Centerville, Utah
Registered: 2005-05-12
Posts: 246
Website

Re: Mount usb disk after boot

dbus and hal interact with gnome and kde to do this kind of thing, if you have dbus and hal running then you can acceses the usb drive from the gnome desktop after pluging it in or through Konqueror > Storage Media (media:/)

This of course assumes you are using a DE and not a WM

Offline

#5 2006-06-30 14:20:41

becho4
Member
From: Galicia, Spain
Registered: 2004-12-09
Posts: 84

Re: Mount usb disk after boot

That is the rule that solves my problem:

BUS=="usb", KERNEL=="sd*", SYSFS{serial}=="Y47908SE", NAME="maxtor", GROUP="storage", RUN+="/bin/mount /dev/maxtor"

And of course that is for a server PC so there is not DE running.

Thanks all

Offline

Board footer

Powered by FluxBB