summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-09-27 21:54:37 +0000
committerphk <phk@FreeBSD.org>2002-09-27 21:54:37 +0000
commitf1d8f5aa089c376680a2bb65debde728e4b5dd20 (patch)
treebdc9178af8493d916410bc241437832dc57fd2e1 /lib/libc
parentbd4b8491399a8df6b7aea34dc30845289f3bc0f8 (diff)
downloadFreeBSD-src-f1d8f5aa089c376680a2bb65debde728e4b5dd20.zip
FreeBSD-src-f1d8f5aa089c376680a2bb65debde728e4b5dd20.tar.gz
Extensively rework the geom_bsd method, put a lot of comments in, betting
that this will make people use this for their future copy&paste operations. Rework the detection of raw-disk offsets in disklabels. This actually unearthed a number of bugs in the (now) previous version. Also accept labels which don't have a magic RAW_PART, provided they don't confuse us too much. Change the order of our sanity-checks on labels found on disks to be more robust. Check against MAXPARTITIONS in our sanity-check and reject disklabels we cannot cope with. Create new g_bsd_modify() function to implment disklabel modifying ioctls. Implement DIOCSDINFO and DIOCWDINFO with the provision that the latter still not writes your change back to disk. I didn't have the nerves for that yet. In the start routine, use g_call_me() for complex ioctls to prevent sleeping. Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud