summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/labs.c
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2012-09-28 10:49:41 +0000
committerae <ae@FreeBSD.org>2012-09-28 10:49:41 +0000
commit604c9734ea49f5072fc39f3632193811b465f2c6 (patch)
tree4c8602bd4b8c2c6a4b3e4c70bf9953627a02e04b /lib/libc/stdlib/labs.c
parent785571bd2b886e6694a7a9a08f7bdd6f1ce8ce7a (diff)
downloadFreeBSD-src-604c9734ea49f5072fc39f3632193811b465f2c6.zip
FreeBSD-src-604c9734ea49f5072fc39f3632193811b465f2c6.tar.gz
Make the loader a bit smarter, when it tries to open disk and the slice
number is not exactly specified. When the disk has MBR, also try to read BSD label after ptable_getpart() call. When the disk has GPT, also set d_partition to 255. Mostly, this is how it worked before.
Diffstat (limited to 'lib/libc/stdlib/labs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud