* [gentoo-user] Changes in the way USB devices are mounted
@ 2008-07-22 18:03 Mick
2008-07-22 18:13 ` [gentoo-user] " Nikos Chantziaras
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Mick @ 2008-07-22 18:03 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2296 bytes --]
Hi All,
I suspect that something changed recently on the way that USB devices are
mounted. I noticed that mounting a USB flash drive has stopped working as
follows:
==================================
$ dmesg
[snip...]
usb 2-1: new full speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb 2-1: New USB device found, idVendor=1516, idProduct=8628
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: Gizmo! overdrive1492632974
usb 2-1: Manufacturer: Crucial
usb 2-1: SerialNumber: 1492632974
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 0:0:0:0: Direct-Access Crucial Gizmo! overdrive 1.00 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 1997312 512-byte hardware sectors (1023 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 1997312 512-byte hardware sectors (1023 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: unknown partition table
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
$ pmount /dev/sda
Error: device /dev/sda is not removable
==================================
However, clicking on the device in Konqueror under media:/ mounts it happily
under /media/disk. Previously it would mount it under /media/sda and the
pmount command would not error out as shown above.
==================================
$ mount
[snip...]
/dev/sda on /media/disk type vfat
(rw,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower)
==================================
I also noticed that "shortname=lower" is set as the default, which is annoying
because the file/folder names are forced to display in lower case.
I am using dbus and hald with a Fluxbox WM so the default KDE behaviour with
the automounting pop up dialog does not work here (unless I have launched the
full KDE DE).
Any ideas what has caused these changes? Are they reversible/configurable?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: Changes in the way USB devices are mounted
2008-07-22 18:03 [gentoo-user] Changes in the way USB devices are mounted Mick
@ 2008-07-22 18:13 ` Nikos Chantziaras
2008-07-22 19:04 ` Mick
2008-07-22 21:07 ` [gentoo-user] " Sebastian Günther
2008-08-10 16:41 ` Robert Cernansky
2 siblings, 1 reply; 13+ messages in thread
From: Nikos Chantziaras @ 2008-07-22 18:13 UTC (permalink / raw
To: gentoo-user
Mick wrote:
> [...]
> I am using dbus and hald with a Fluxbox WM so the default KDE behaviour with
> the automounting pop up dialog does not work here (unless I have launched the
> full KDE DE).
>
> Any ideas what has caused these changes? Are they reversible/configurable?
The DE is responsible for the mount options. Are you sure Fluxbox
doesn't provide a config tool to set up the mount parameters of hot-plug
USB devices?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Changes in the way USB devices are mounted
2008-07-22 18:03 [gentoo-user] Changes in the way USB devices are mounted Mick
2008-07-22 18:13 ` [gentoo-user] " Nikos Chantziaras
@ 2008-07-22 21:07 ` Sebastian Günther
2008-07-22 22:22 ` Mick
2008-08-10 16:41 ` Robert Cernansky
2 siblings, 1 reply; 13+ messages in thread
From: Sebastian Günther @ 2008-07-22 21:07 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1618 bytes --]
* Mick (michaelkintzios@gmail.com) [22.07.08 20:08]:
> Hi All,
>
> I suspect that something changed recently on the way that USB devices are
> mounted. I noticed that mounting a USB flash drive has stopped working as
> follows:
No, I think pmount behavior changed:
it now honors entries in the fstab.
> $ pmount /dev/sda
> Error: device /dev/sda is not removable
> ==================================
>
Normally you should mount by mountpoint not device node.
> However, clicking on the device in Konqueror under media:/ mounts it happily
> under /media/disk. Previously it would mount it under /media/sda and the
> pmount command would not error out as shown above.
> ==================================
I think, there is an apropiate entry in the fstab, so pmount has not to
create an new mountpoint.
> $ mount
> [snip...]
> /dev/sda on /media/disk type vfat
> (rw,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower)
> ==================================
>
> I also noticed that "shortname=lower" is set as the default, which is annoying
> because the file/folder names are forced to display in lower case.
>
OK what's in /etc/fstab?
> I am using dbus and hald with a Fluxbox WM so the default KDE behaviour with
> the automounting pop up dialog does not work here (unless I have launched the
> full KDE DE).
>
Then you should think about ivman if you want automounter support. And
Fluxbox rocks :-)
HTH
Sebastian
--
" Religion ist das Opium des Volkes. " Karl Marx
SEB@STI@N GÜNTHER mailto:samson@guenther-roetgen.de
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Changes in the way USB devices are mounted
2008-07-22 21:07 ` [gentoo-user] " Sebastian Günther
@ 2008-07-22 22:22 ` Mick
2008-07-22 22:41 ` [gentoo-user] " Nikos Chantziaras
2008-07-23 0:52 ` [gentoo-user] " Neil Bothwick
0 siblings, 2 replies; 13+ messages in thread
From: Mick @ 2008-07-22 22:22 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2278 bytes --]
On Tuesday 22 July 2008, Sebastian Günther wrote:
> * Mick (michaelkintzios@gmail.com) [22.07.08 20:08]:
> > Hi All,
> >
> > I suspect that something changed recently on the way that USB devices are
> > mounted. I noticed that mounting a USB flash drive has stopped working
> > as follows:
>
> No, I think pmount behavior changed:
>
> it now honors entries in the fstab.
I do not have entries in my fstab of USB devices - dbus daemon and hald are
looking for removable devices by scanning the MoBo's buses (as I understand
it).
> > $ pmount /dev/sda
> > Error: device /dev/sda is not removable
> > ==================================
>
> Normally you should mount by mountpoint not device node.
Well, pmount would normally create a corresponding
mountpoint /media/<device_name>, if called upon as:
$ pmount /dev/<device_name>
> > However, clicking on the device in Konqueror under media:/ mounts it
> > happily under /media/disk. Previously it would mount it under /media/sda
> > and the pmount command would not error out as shown above.
> > ==================================
>
> I think, there is an apropiate entry in the fstab, so pmount has not to
> create an new mountpoint.
No, there's no /dev/sda entry in my fstab:
==================================
$ mount /dev/sda
mount: can't find /dev/sda in /etc/fstab or /etc/mtab
==================================
> > $ mount
> > [snip...]
> > /dev/sda on /media/disk type vfat
> > (rw,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower)
> > ==================================
> >
> > I also noticed that "shortname=lower" is set as the default, which is
> > annoying because the file/folder names are forced to display in lower
> > case.
>
> OK what's in /etc/fstab?
Nothing.
> > I am using dbus and hald with a Fluxbox WM so the default KDE behaviour
> > with the automounting pop up dialog does not work here (unless I have
> > launched the full KDE DE).
>
> Then you should think about ivman if you want automounter support. And
> Fluxbox rocks :-)
Yes, Fluxbox flies even on a PIII, ;-)
I am not bothered about automounting and probably would get on my nerves. I
prefer how pmount used to work until recently.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Changes in the way USB devices are mounted
2008-07-22 18:03 [gentoo-user] Changes in the way USB devices are mounted Mick
2008-07-22 18:13 ` [gentoo-user] " Nikos Chantziaras
2008-07-22 21:07 ` [gentoo-user] " Sebastian Günther
@ 2008-08-10 16:41 ` Robert Cernansky
2 siblings, 0 replies; 13+ messages in thread
From: Robert Cernansky @ 2008-08-10 16:41 UTC (permalink / raw
To: gentoo-user
On Tue, 22 Jul 2008 19:03:34 +0100 Mick <michaelkintzios@gmail.com> wrote:
> I suspect that something changed recently on the way that USB devices are
> mounted. I noticed that mounting a USB flash drive has stopped working as
> follows:
[snip]
> $ pmount /dev/sda
> Error: device /dev/sda is not removable
Same problem here after upgrade to 2.6.25-r7. It seems that there is
a bug in sysfsutils: http://bugs.gentoo.org/show_bug.cgi?id=220347.
Robert
--
Robert Cernansky
E-mail: hslists2@zoznam.sk
Jabber: hs@jabber.sk
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-08-10 16:41 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-22 18:03 [gentoo-user] Changes in the way USB devices are mounted Mick
2008-07-22 18:13 ` [gentoo-user] " Nikos Chantziaras
2008-07-22 19:04 ` Mick
2008-07-22 21:07 ` [gentoo-user] " Sebastian Günther
2008-07-22 22:22 ` Mick
2008-07-22 22:41 ` [gentoo-user] " Nikos Chantziaras
2008-07-23 0:52 ` [gentoo-user] " Neil Bothwick
2008-07-23 7:40 ` Mick
2008-07-23 20:05 ` Neil Bothwick
2008-07-23 20:52 ` Mick
2008-07-23 22:27 ` Neil Bothwick
2008-07-24 6:25 ` Mick
2008-08-10 16:41 ` Robert Cernansky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox