Gentoo Archives: gentoo-user-de

From: Wolfgang Jankowski <Wolfgang.Jankowski@×××.de>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] Mount usb-harddisk at startup
Date: Thu, 22 Nov 2007 16:44:05
Message-Id: 200711221742.19092.Wolfgang.Jankowski@gmx.de
In Reply to: [gentoo-user-de] Mount usb-harddisk at startup by Sebastian Meisel
1 Hallo Sebastian,
2 ich hoffe du verstehst mich auch so :-)
3 Ich habe das gleiche Spiel gespielt.
4 Erst einmal brauchst du coldplug (emerge coldplug).
5 Dann habe ich in den udev-Rules Einträge erstellt, so dass die Partitionen der
6 Festplatten feste Namen als Symlinks bekommen. Für diese Symlinks gibt es
7 Einträge in der /etc/fstab. In den Udev-Rules habe ich als letzte Regel noch
8 die RUN-Anweisung dazugeschrieben, die dann diesen Symlink montiert.
9 ---snip
10 BUS=="scsi", SYSFS{vendor}=="WDC WD25", SYMLINK="usb/medion-wdc%n",
11 RUN="/bin/mount /dev/usb/medion-wdc%n /mnt/medion%n"
12 --snip
13
14 HTH
15 Wolfgang
16
17 Am Donnerstag 22 November 2007 schrieb Sebastian Meisel:
18 > Hallo,
19 >
20 > I have a usb-harddisk attached to my desktop computer and would like to
21 > mount it, at boottime.
22 > What is the best way to do it. I thought about inittab.
23 >
24 > The disk is alway attached and the partitions get always the same
25 > devicenames:
26 >
27 > /dev/scd[1-3]
28 >
29 > Thank's for any hints
30 >
31 > Sebastian
32
33
34 --
35 gentoo-user-de@g.o mailing list