hal cannot read hard disk partition labels
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | hal (Ubuntu) |
Wishlist
|
Martin Pitt | ||
Bug Description
The volumes in Computer:// have no names by default (jast Disk or something like
this). It's unconvinient for user then size of disk - the only way to recognise
the one of disks.
I sugest to add label to disk properties or to /etc/fstab, if there is any
option for that.
Hope it increase usability of Linux.
| Sebastien Bacher (seb128) wrote : | #1 |
| Sergey Smirnov (sergous) wrote : | #2 |
My vfat partition have name, but nautilus dont use it as disk label. Why?
| Martin Pitt (pitti) wrote : | #3 |
The problem is that hal and other unprivileged programs cannot read the raw hard
disk partition since this requires root privileges or membership in group "disk"
(which is equivalent to root). We could add a setuid root wrapper to hal to read
device labels, but this is nontrivial. Maybe hal 0.6 changes this when the
architecture is changed to be more modular.
| Sergey Smirnov (sergous) wrote : | #4 |
I see. As a temporary way (may be alternative) user can give there own label to disk and over
devices (by default use labels, given by root). This is a way for users, which should not get
access to raw hard disk information. IMHO read disk partition label can not require root
privileges.
| Martin Pitt (pitti) wrote : | #5 |
*** Bug 24956 has been marked as a duplicate of this bug. ***
| Martin Pitt (pitti) wrote : | #6 |
This was fixed some time ago in Dapper; hal can now read all partition labels.
| Changed in hal: | |
| status: | Confirmed → Fix Released |


Thanks for your bug. Nautilus respects the label you set for a volume, you just
have to set one. How do you want to put one automatically? hal already sets the
name according to the device used.