From owner-svn-src-head@FreeBSD.ORG Wed Mar 9 08:10:38 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E0F9106564A; Wed, 9 Mar 2011 08:10:38 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from mail.sippysoft.com (mail.sippysoft.com [4.59.13.245]) by mx1.freebsd.org (Postfix) with ESMTP id 661078FC14; Wed, 9 Mar 2011 08:10:38 +0000 (UTC) Received: from s0106005004e13421.vs.shawcable.net ([70.71.175.212] helo=[192.168.1.79]) by mail.sippysoft.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1PxE2O-000JZA-HT; Tue, 08 Mar 2011 23:42:28 -0800 Message-ID: <4D772F5B.5050508@FreeBSD.org> Date: Tue, 08 Mar 2011 23:42:19 -0800 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Jaakko Heinonen References: <201103081700.p28H0V9A080455@svn.freebsd.org> <20110308173611.GA44635@ws64.jh.dy.fi> In-Reply-To: <20110308173611.GA44635@ws64.jh.dy.fi> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: sobomax@sippysoft.com X-ssp-trusted: yes 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-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2011 08:10:38 -0000 On 3/8/2011 9:36 AM, Jaakko Heinonen 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. I have only observed this issue with 7.4. It looks like r213526 might work as well, but unfortunately this revision is not directly applicable to the 7-STABLE. Do you have any plans to MFC it into 7.x? -Maxim