[PATCH] replace '/' in volume labels with '_'

Danny Kukawka danny.kukawka at web.de
Tue Jul 3 03:23:26 PDT 2007


On Dienstag, 3. Juli 2007, David Zeuthen wrote:
> On Mon, 2007-07-02 at 16:11 +0200, Danny Kukawka wrote:
> > Hi,
> >
> > this patch fixes fd.o #11401 by replacing '/' in volume labels with '_'.
> > This should avoid trouble with D-Bus if the volume label get part of the
> > UDI.
>
> A better and less invasive fix is probably to fix the place where we use
> the volume label to compute the UDI. Any chance you can rework the patch
> to do that? Thanks!

Commited attached patch.

Danny

 blockdev.c |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-fd.o11401_fixVolumeLabel_v2.diff
Type: text/x-diff
Size: 1652 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070703/61a72894/attachment.diff 


More information about the hal mailing list