Date: Tue, 8 Mar 2011 17:00:31 +0000 (UTC) From: Maxim Sobolev <sobomax@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/geom/label g_label_ext2fs.c Message-ID: <201103081700.p28H0nt3012629@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sobomax 2011-03-08 17:00:31 UTC FreeBSD src repository Modified files: sys/geom/label g_label_ext2fs.c Log: SVN rev 219400 on 2011-03-08 17:00:31Z by sobomax 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. Strip any leading slashes before feeding the label to the geom_label code. Sponsored by: Sippy Software, Inc. MFC after: 1 week Revision Changes Path 1.4 +10 -4 src/sys/geom/label/g_label_ext2fs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103081700.p28H0nt3012629>