kern/149762: volume labels with rogue characters

Walter C. Pelissero walter at pelissero.de
Fri Aug 20 10:01:57 UTC 2010


jhell writes:
 > Putting aside whats written below, please don't feel that this is an
 > attack on your work to make this happen.

Attack on my work?
Amusing.


 > I feel your work is very viable for what it is supposed to do but
 > to the same effect does not address the issue that this might
 > happen elsewhere to anything new that may be introduced to the
 > system at a later point in time

What don't you understand in:
  Now kern.geom.label.sanitation can be set to zero (default)
  obtaining the usual behaviour without "hack".


 > In a previous post I mentioned a proper full term solution based on
 > adjusting devfs/devd instead that would fit future situations and
 > not call for individual adjustments for pieces of geom or anything
 > related.

I failed to see the devfs/devd solution you mention.


 > It has be ~6 years that GEOM_LABEL was introduced to the system.
 > r131476 | pjd | 2004-07-02 15:40:36 -0400 (Fri, 02 Jul 2004) | 22 lines

conf/37569
Mon Apr 29 08:40:01 PDT 2002

The common issue of all the already mentioned PRs is: mounting volumes
with names that are not compatible with fstab (and a lot of other
things).  Which this modification of geom_label could mitigate.

There is a related PR of mine, which tackles the problem from the
fstab stand point, that does more or less what the other PR has been
already suggesting since 2002 and Linux has been doing for more than a
decade.

It was closed by a sulky baby boy on the same grounds as this.

-- 
walter pelissero
http://www.pelissero.de


More information about the freebsd-bugs mailing list