Re: svn commit: r219400 - head/sys/geom/label

2011-03-09 Thread Maxim Sobolev
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

Re: svn commit: r219400 - head/sys/geom/label

2011-03-09 Thread Jaakko Heinonen
On 2011-03-08, Maxim Sobolev wrote: 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

Re: svn commit: r219400 - head/sys/geom/label

2011-03-09 Thread Maxim Sobolev
On 3/9/2011 7:19 AM, Jaakko Heinonen wrote: On 2011-03-08, Maxim Sobolev wrote: 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

Re: svn commit: r219400 - head/sys/geom/label

2011-03-09 Thread Jaakko Heinonen
On 2011-03-09, Maxim Sobolev wrote: OK, so what should I do to resolve the issue in question? Should I go forward and MFC less generic patch to geom_label code to strip out the leading slashes from the ext2fs labels? I am not against merging it. Maybe revert the hack in head after merging?

Re: svn commit: r219400 - head/sys/geom/label

2011-03-09 Thread Maxim Sobolev
On 3/9/2011 11:04 AM, Jaakko Heinonen wrote: On 2011-03-09, Maxim Sobolev wrote: OK, so what should I do to resolve the issue in question? Should I go forward and MFC less generic patch to geom_label code to strip out the leading slashes from the ext2fs labels? I am not against merging

svn commit: r219400 - head/sys/geom/label

2011-03-08 Thread Maxim Sobolev
Author: sobomax Date: Tue Mar 8 17:00:31 2011 New Revision: 219400 URL: http://svn.freebsd.org/changeset/base/219400 Log: 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

Re: svn commit: r219400 - head/sys/geom/label

2011-03-08 Thread Jaakko Heinonen
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