diff options
author | sobomax <sobomax@FreeBSD.org> | 2011-03-08 17:00:31 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2011-03-08 17:00:31 +0000 |
commit | e356b9f82bc64f86cd73c09b9aa1d563311aa214 (patch) | |
tree | ecb77aeabf0015fd1442e3bd558930a5c7bb35c7 /sys/compat/linux/linux_emul.h | |
parent | 269e1daa8fe439dcd0d7320b0f334d69afbf872e (diff) | |
download | FreeBSD-src-e356b9f82bc64f86cd73c09b9aa1d563311aa214.zip FreeBSD-src-e356b9f82bc64f86cd73c09b9aa1d563311aa214.tar.gz |
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
Diffstat (limited to 'sys/compat/linux/linux_emul.h')
0 files changed, 0 insertions, 0 deletions