Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2010 09:10:03 GMT
From:      walter@pelissero.de (Walter C. Pelissero)
To:        freebsd-geom@FreeBSD.org
Subject:   Re: kern/149762: volume labels with rogue characters
Message-ID:  <201008210910.o7L9A3LA069712@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/149762; it has been noted by GNATS.

From: walter@pelissero.de (Walter C. Pelissero)
To: Marcin =?iso-8859-2?Q?Wi=B6nicki?= <mwisnicki@gmail.com>
Cc: bug-followup <bug-followup@FreeBSD.org>
Subject: Re: kern/149762: volume labels with rogue characters
Date: Sat, 21 Aug 2010 01:08:44 +0200

 Marcin Wi=B6nicki writes:
  > How about using "percent encoding":
  > http://en.wikipedia.org/wiki/Percent-encoding
  >=20
  > It is well known and solves all issues.
 
 Which would have the advantage of being one byte more compact than the
 backslash-octal encoding.
 
 sanitise=5Fname performs a simple masking because the pathname built in=
 
 g=5Flabel=5Fcreate is limited to 64 chars, which I didn't know whether =
 it
 had some special meaning (on a second look, it seems as it didn't),
 and it looked rather tight for anything more elaborate.
 
 --=20
 walter pelissero
 http://www.pelissero.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008210910.o7L9A3LA069712>