Gentoo Archives: gentoo-user

From: Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] help with UDEV and USB flash drive
Date: Fri, 09 Jun 2006 11:21:52
Message-Id: 200606091315.10901.ext-dirk.heinrichs@nokia.com
In Reply to: Re: [gentoo-user] help with UDEV and USB flash drive by Neil Bothwick
1 Am Freitag, 9. Juni 2006 12:16 schrieb ext Neil Bothwick:
2 > On Fri, 9 Jun 2006 10:59:13 +0200, Dirk Heinrichs wrote:
3 > > > That's because you are trying to mount the whole device, not the
4 > > > partition.
5 > >
6 > > Even the whole device should be a block device, shouldn't it?
7 >
8 > Yes it should, it's podd that is appears as a character device.
9
10 It isn't. Read my very first answer.
11
12 > > And if it
13 > > had a filesystem, you could even mount it, having one partition is as
14 > > good as having no partition, at least for Linux.
15 >
16 > It's not the same. A filesystem on a single partition filling the device
17 > is not the same as a filesystem on the device itself. Both are possible,
18 > and mountable, but not at the same time. I've just checked with with a
19 > single partition device to be sure, it didn't work.
20
21 Of course not at the same time, thought that would be clear :-)
22
23 > I do that for some drives, but my USB sticks are always a single
24 > partition, so I give the name to the partition not the device. I also set
25 > NAME and put %k in SYMLINK, because pmount uses the name to create the
26 > directory in /media, and I want the device mounted
27 > at /media/somethingmeaningful, not /media/sdxn.
28
29 Good point, I switched to hal/dbus not long ago. Seems I need to rework my
30 rules :-)
31
32 Bye...
33
34 Dirk
35 --
36 Dirk Heinrichs | Tel: +49 (0)162 234 3408
37 Configuration Manager | Fax: +49 (0)211 47068 111
38 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
39 Hambornerstraße 55 | Web: http://www.capgemini.com
40 D-40472 Düsseldorf | ICQ#: 110037733
41 GPG Public Key C2E467BB | Keyserver: www.keyserver.net