Renaming volumes
David Zeuthen
david at fubar.dk
Fri Mar 23 11:30:21 PDT 2007
On Fri, 2007-03-23 at 18:50 +0100, Kay Sievers wrote:
> On 3/23/07, Richard Hughes <hughsient at gmail.com> wrote:
> > Today my friend gave me a usb key and asked me to rename the volume name
> > of the disk so it got mounted with a sensible name.
> >
> > <bzzz>Nope, I can't do that in the GUI.
> >
> > What about adding to the .Volume namespace in HAL to support renaming
> > volumes? I appreciate we don't want to rename partitions on fixed disks,
> > but what about just removable volumes?
>
> You can only set the label of a fat filesystem while it's not mounted,
> otherwise you can't be sure that the directory will not be corrupted
> during that operation. The only sane solution would be kernel
> filesystem-support for setting such labels.
Yes, this would be nice; what would the userspace interface be - a
system call?
David
More information about the hal
mailing list