Date: Sat, 13 Dec 2008 20:30:59 +0200 From: Jaakko Heinonen <jh@saunalahti.fi> To: "Rick C. Petty" <rick-freebsd2008@kiwi-computer.com> Cc: freebsd-fs@freebsd.org Subject: Re: UFS label limitations Message-ID: <20081213183058.GA20992@a91-153-125-115.elisa-laajakaista.fi> In-Reply-To: <20081213173902.GA96883@keira.kiwi-computer.com> References: <20081213173902.GA96883@keira.kiwi-computer.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On 2008-12-13, Rick C. Petty wrote: > I applied the attached (inline) patch and have had no troubles creating, > editing, or mounting via UFS labels. The patch allows you to create > labels with any characters except '/' (for obvious reasons) and should > work with most locales (with the tiny exception that multibyte characters > which use 0x2F in subsequent bytes should be rejected, since geom_label > is locale-agnostic). geom_label has problems with other characters too. The problem is that it doesn't encode characters for XML output properly. See these PRs: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/104389 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/120044 This already causes problems with file systems which allow non-ASCII label names. IMO the problem should be addressed before extending allowed characters in UFS labels. -- Jaakko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081213183058.GA20992>