From owner-svn-src-all@FreeBSD.ORG Tue Mar 8 17:55:05 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFF00106566B; Tue, 8 Mar 2011 17:55:04 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from gw03.mail.saunalahti.fi (gw03.mail.saunalahti.fi [195.197.172.111]) by mx1.freebsd.org (Postfix) with ESMTP id A54538FC12; Tue, 8 Mar 2011 17:55:04 +0000 (UTC) Received: from ws64.jh.dy.fi (a91-153-115-208.elisa-laajakaista.fi [91.153.115.208]) by gw03.mail.saunalahti.fi (Postfix) with SMTP id 0B6CA216668; Tue, 8 Mar 2011 19:36:11 +0200 (EET) Date: Tue, 8 Mar 2011 19:36:12 +0200 From: Jaakko Heinonen To: Maxim Sobolev Message-ID: <20110308173611.GA44635@ws64.jh.dy.fi> References: <201103081700.p28H0V9A080455@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201103081700.p28H0V9A080455@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219400 - head/sys/geom/label X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2011 17:55:05 -0000 On 2011-03-08, Maxim Sobolev wrote: > Some linux distros put mount point into the ext2fs labels, such as '/', or > '/boot', which confuses the devfs code and can cause userland programs to > fail reading /dev/ext2fs directory with weird error code, such as any > program that uses pwlib. Do you still see such behavior after r214063? > Strip any leading slashes before feeding the label to the geom_label code. make_dev*() should strip redundant slashes since r213526. -- Jaakko