removable drives no longer automount after upgrade to dapper

Florian Diesch diesch at spamfence.net
Fri Jun 23 21:12:55 UTC 2006


"OOzy Pal" <oozypal at gmail.com> wrote:

> On 6/15/06, Florian Diesch <diesch at spamfence.net> wrote:
>> Florian Diesch <diesch at spamfence.net> wrote:
>>
>> > "OOzy Pal" <oozypal at gmail.com> wrote:
>> >
>> >> On 6/13/06, Florian Diesch <diesch at spamfence.net> wrote:
>> >>> "OOzy Pal" <oozypal at gmail.com> wrote:
>> >>>
>> >>> > I did a clean install like crystal. I even removed the partition. How
>> >>> > clean is that? I still have a problem with my three USB drives (two
>> >>> > sticks and one hard drive). They get mounted as sdc1, sdc2 but not
>> >>> > like in breezy where they get mounted by their labels.
>> >>>
>> >>> AFAIK in breezy this was done by hotplug and now is done by udev, and for
>> >>> some reasons it's more difficult now to use the labels. I think there
>> >>> has been a discussion about that on ubuntu-dev.
>> >>
>> >> Can I revert back to hotplug
>> >
>> > It seems there is not hotplug package in Dapper.
>> > As far as I can see udev just lets HAL to do the work now. I never played
>> > around with HAL so I can't help you much but maybe it's at least a
>> > starting point to get more meaningful mountpoints.
>>
>> Toll a closer look at HAL. As far as I understand the filesystem label
>> is used as mountpoint if it contains only ASCII chracters and is not a
>> path (like "/home", "/")
>>
>>
>> What does
>>   /lib/udev/vol_id /dev/sda1
>> say (replace /dev/sda1 if needed)?
>>
>>
>> Search the output of lshal for
>>  volume.policy.desired_mount_point = 'sdc1'
>> (replace sdc1 with the mountpoint). If you find it please post the
>> section (starting with something like
>> "udi = '/org/freedesktop/Hal/devices/volume_uuid_4491_AC1C'") it is
>> contained in. If you don't find it try to find a section containing a
>>    volume.mount.valid_options =
>> statement that seems to match your USB drive
>>
> Hmm, my USB's are mounted ok with their labels on the desktop but when
> I go to /media I don't find them. For example, my USB label is Fox.
> When I plug it in, I see the USB icon on the desktop with name Fox but
> when I go to /media I don't see Fox, I see for example sdc1. When I
> click on the USB icon, Knoqueror is launched with the location of the
> use drive as media:/sdc1.

What does lshal say (see above)?


   Florian
-- 
<http://www.florian-diesch.de/>




More information about the ubuntu-users mailing list