Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Changes in the way USB devices are mounted
Date: Tue, 22 Jul 2008 22:23:12
Message-Id: 200807222323.04926.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Changes in the way USB devices are mounted by "Sebastian Günther"
1 On Tuesday 22 July 2008, Sebastian Günther wrote:
2 > * Mick (michaelkintzios@×××××.com) [22.07.08 20:08]:
3 > > Hi All,
4 > >
5 > > I suspect that something changed recently on the way that USB devices are
6 > > mounted. I noticed that mounting a USB flash drive has stopped working
7 > > as follows:
8 >
9 > No, I think pmount behavior changed:
10 >
11 > it now honors entries in the fstab.
12
13 I do not have entries in my fstab of USB devices - dbus daemon and hald are
14 looking for removable devices by scanning the MoBo's buses (as I understand
15 it).
16
17 > > $ pmount /dev/sda
18 > > Error: device /dev/sda is not removable
19 > > ==================================
20 >
21 > Normally you should mount by mountpoint not device node.
22
23 Well, pmount would normally create a corresponding
24 mountpoint /media/<device_name>, if called upon as:
25
26 $ pmount /dev/<device_name>
27
28 > > However, clicking on the device in Konqueror under media:/ mounts it
29 > > happily under /media/disk. Previously it would mount it under /media/sda
30 > > and the pmount command would not error out as shown above.
31 > > ==================================
32 >
33 > I think, there is an apropiate entry in the fstab, so pmount has not to
34 > create an new mountpoint.
35
36 No, there's no /dev/sda entry in my fstab:
37 ==================================
38 $ mount /dev/sda
39 mount: can't find /dev/sda in /etc/fstab or /etc/mtab
40 ==================================
41
42 > > $ mount
43 > > [snip...]
44 > > /dev/sda on /media/disk type vfat
45 > > (rw,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower)
46 > > ==================================
47 > >
48 > > I also noticed that "shortname=lower" is set as the default, which is
49 > > annoying because the file/folder names are forced to display in lower
50 > > case.
51 >
52 > OK what's in /etc/fstab?
53
54 Nothing.
55
56 > > I am using dbus and hald with a Fluxbox WM so the default KDE behaviour
57 > > with the automounting pop up dialog does not work here (unless I have
58 > > launched the full KDE DE).
59 >
60 > Then you should think about ivman if you want automounter support. And
61 > Fluxbox rocks :-)
62
63 Yes, Fluxbox flies even on a PIII, ;-)
64
65 I am not bothered about automounting and probably would get on my nerves. I
66 prefer how pmount used to work until recently.
67 --
68 Regards,
69 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: Changes in the way USB devices are mounted Nikos Chantziaras <realnc@×××××.de>
Re: [gentoo-user] Changes in the way USB devices are mounted Neil Bothwick <neil@××××××××××.uk>