kern/149762: volume labels with rogue characters

Walter C. Pelissero walter at pelissero.de
Sat Aug 21 09:10:04 UTC 2010


The following reply was made to PR kern/149762; it has been noted by GNATS.

From: walter at pelissero.de (Walter C. Pelissero)
To: Marcin =?iso-8859-2?Q?Wi=B6nicki?= <mwisnicki at gmail.com>
Cc: bug-followup <bug-followup at 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


More information about the freebsd-geom mailing list