Renaming volumes

Richard Hughes hughsient at gmail.com
Fri Mar 23 11:40:03 PDT 2007


On Fri, 2007-03-23 at 14:30 -0400, David Zeuthen wrote:
> 
> > > <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?

Windows is able to set a volume label when mounted...

Richard.




More information about the hal mailing list