Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Auto-mounting USB drive?
Date: Mon, 25 May 2009 19:00:53
Message-Id: 5bdc1c8b0905251200g2ccb7466l3008fe8a2b4c56ed@mail.gmail.com
1 Hi,
2 I'm wondering what I need to read about and do to get a USB drive
3 to auto-mount reliably at boot time? I don't know anything about udev
4 so I tried what I thought used to work in my /etc/fstab file but it
5 doesn't work. The drive mounts by hand just fine:
6
7 MacMini linux # cat /etc/fstab | grep video
8 /dev/sda1 /video ext3 auto,rw 0 2
9 MacMini linux # df
10 Filesystem 1K-blocks Used Available Use% Mounted on
11 /dev/hda4 75890040 60601600 11433376 85% /
12 udev 10240 164 10076 2% /dev
13 shm 257396 0 257396 0% /dev/shm
14 MacMini linux # mount /dev/sda1 /video
15 MacMini linux # df
16 Filesystem 1K-blocks Used Available Use% Mounted on
17 /dev/hda4 75890040 60601604 11433372 85% /
18 udev 10240 164 10076 2% /dev
19 shm 257396 0 257396 0% /dev/shm
20 /dev/sda1 157566568 192068 149370520 1% /video
21 MacMini linux #
22
23 Must I use udev (and if so how - what do I study to make this work)
24 or can I do this in fstab and I've just forgotten something simple?
25
26 Also, what's the feeling these days about the reliability of
27 automounting by device? Would I be better to use e2label on the
28 partition?
29
30 Thanks in advance,
31 Mark

Replies

Subject Author
Re: [gentoo-user] Auto-mounting USB drive? Jarry <mr.jarry@×××××.com>
Re: [gentoo-user] Auto-mounting USB drive? "Альфар" <slaughterofshudras@×××××.com>