Date: Mon, 25 Jul 2011 00:17:20 +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: <201107250017.p6P0HbYJ020892@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sobomax 2011-07-25 00:17:20 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/geom/label g_label_ext2fs.c
Log:
SVN rev 224301 on 2011-07-25 00:17:20Z by sobomax
MFC: Strip any leading slashes before feeding the label to the geom_label
code. 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.
Revision Changes Path
1.2.10.3 +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?201107250017.p6P0HbYJ020892>
