summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_bsd.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-01-10 19:25:38 +0000
committerjhb <jhb@FreeBSD.org>2003-01-10 19:25:38 +0000
commit533d214b966f695a9fa4dee381b20aa03e6b4a91 (patch)
tree68409884412a822f295542088b024e0d863a89ab /sys/geom/geom_bsd.c
parent48b15bd431779863408d2bd33e7f0c8192bfe6de (diff)
downloadFreeBSD-src-533d214b966f695a9fa4dee381b20aa03e6b4a91.zip
FreeBSD-src-533d214b966f695a9fa4dee381b20aa03e6b4a91.tar.gz
- Make New_Disk() non-static so it can be used in Create_Chunk_DWIM().
- In Create_Chunk_DWIM(), if there is a freebsd chunk that has no children chunks, then trying to add a child part chunk will fail even though there is free space. Handle this special case by adding an unused chunk the full size of the freebsd chunk as a child of the freebsd chunk before adding the new part chunk. This situation can happen when changing the type of an existing slice to be a FreeBSD slice type or when installing onto a blank disk on Alpha (which has no slices.) Reviewed by: phk MFC after: 2 days
Diffstat (limited to 'sys/geom/geom_bsd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud