hal doesn't handle invalid partitions sane

Bug #35781 reported by Kai F. Lahmann
10
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
Invalid
Low
Martin Pitt

Bug Description

if you have a drive without any valid partitions those get ignored (should ask to start gparted); if you have an unformated partition, you'll get an nautilus window showing the content of the last opened folder, but named as this device.

Revision history for this message
Martin Pitt (pitti) wrote :

I just tried to reproduce this: I did

  dd if=/dev/zero of=/dev/sda1

i. e. I cleaned the first partition of my USB stick entirely. Now I do not get anything for /dev/sda1.

Can you please do 'lshal > lshal.txt' and attach lshal.txt here?

Changed in hal:
assignee: nobody → pitti
status: Unconfirmed → Needs Info
Revision history for this message
Kai F. Lahmann (kfl) wrote :

it might be, that this only happenes at the moment, when you create the partition.

Revision history for this message
Martin Pitt (pitti) wrote :

I tried to reproduce that here: I removed the /dev/sda1partition, unplugged, replugged and only got /dev/sda and sda2. Then I created a partition sda1, but it doens't get recognized until I replug the stick, and at that time we are in the situation of my first reply.

Do you have a recipe for reproducing this?

Revision history for this message
Martin Pitt (pitti) wrote :

Kai, I'm unable to reproduce this, and without at least an 'lshal' output there is little I can do about this. A ful hal debug output (see second half of http://wiki.ubuntu.com/DebuggingRemovableDevices) would be helpful as well. Thank you!

Revision history for this message
Martin Pitt (pitti) wrote :

This bug lacks the necessary information to fix it and has not been updated for several months, thus I am closing it now.

I will reopen it when more information arrives. Thank you!

Changed in hal:
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.