<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libdisk/create_chunk.c, branch releng/9.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2005-01-05T14:07:31Z</updated>
<entry>
<title>Remove an unnecessary defination of New_Chunk, which has been</title>
<updated>2005-01-05T14:07:31Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2005-01-05T14:07:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=122dc5646e8ec6144f244233d8988d6991674b5e'/>
<id>urn:sha1:122dc5646e8ec6144f244233d8988d6991674b5e</id>
<content type='text'>
defined in libdisk.h.
</content>
</entry>
<entry>
<title>PowerPC support.</title>
<updated>2004-04-21T23:21:13Z</updated>
<author>
<name>Peter Grehan</name>
<email>grehan@FreeBSD.org</email>
</author>
<published>2004-04-21T23:21:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=acc2f44a41cf520cb845155706c85afbf43c49a8'/>
<id>urn:sha1:acc2f44a41cf520cb845155706c85afbf43c49a8</id>
<content type='text'>
submitted by:  Suleiman Souhlal &lt;refugee@segfaulted.com&gt;
approved by:   phk, jhb
</content>
</entry>
<entry>
<title>Change libdisk and sysinstall to use d_addr_t rather than u_long for disk</title>
<updated>2004-03-16T17:07:06Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2004-03-16T17:07:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=707e509a1e1d79fb387c3480fd8a67d40e4e2db7'/>
<id>urn:sha1:707e509a1e1d79fb387c3480fd8a67d40e4e2db7</id>
<content type='text'>
addresses.  For arch's with 64-bit longs, this is a nop, but for i386 this
allows sysinstall to properly handle disks and filesystems &gt; 1 TB.

Changes from the original patch include:
- Use d_addr_t rather than inventing a blkcnt type based on int64_t.
- Use strtoimax() rather than strtoull() to parse d_addr_t's from config
  files.
- Use intmax_t casts and %jd rather than %llu to printf d_addr_t values.

Tested on:	i386
Tested by:	kuriyama
Submitted by:	julian
MFC after:	1 month
</content>
</entry>
<entry>
<title>The partition naming on ia64 (e.g. da0p1) cannot be selected based</title>
<updated>2003-11-12T17:44:37Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2003-11-12T17:44:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d55a27339259abb2f643406f767cf518e68f1311'/>
<id>urn:sha1:d55a27339259abb2f643406f767cf518e68f1311</id>
<content type='text'>
on whether the parent chunk is of type whole. This also applies to
MBR slices for non-GPT disks. Since most of the GPT handling is
conditionally compiled, do the same with the partition naming.

This fixes a braino that caused slices to be named as GPT partitions
and generally messing up an install.

Pointy hat: marcel
</content>
</entry>
<entry>
<title>o  Move Int_Open_Disk() from disk.c to open_disk.c for use by all</title>
<updated>2003-11-02T08:39:08Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2003-11-02T08:39:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f5ea9b34c6eb57643f328200a84f5823c7b94b98'/>
<id>urn:sha1:f5ea9b34c6eb57643f328200a84f5823c7b94b98</id>
<content type='text'>
   platforms except ia64 and use Int_Open_Disk() in open_ia64_disk.c
   on ia64. We need to know more than GEOM can provide us so we're
   forced to read from the disk. Move uuid_type() to open_ia64_disk.c
   and remove all references on non-ia64.
o  Pass the GEOM conftxt to Int_Open_Disk() so that only Open_Disk()
   needs to know about GEOM and libdisk can more easily be used with
   media not handled by GEOM.
o  Create an ia64 specific definiton of struct disk on ia64, because
   we don't need/have most of the fields other platforms need and
   other fields not applicable on platforms other than ia64.
o  Do not compile change.c on ia64. It's too PC specific.
o  In Fixup_Names() in create_chunk.c, try all partition numbers
   that are valid for the GPT disk. We have the total number of
   partitions that can be allocated in the disk structure on ia64.
   Also, use the GPT partition naming if we're creating one under
   a chunk of type "whole". It's a GPT partition in that case.
o  In Create_Chunk(), compile-out the PC specific code on ia64 that
   checks BIOS geometry restrictions.
o  In Debug_Disk() in disk.c, dump the ia64 specific fields.
o  Save the partition index in the chunk on ia64 so that we can
   preserve it when we write the data back to disk. This avoids that
   partitions get moved around or swapped after installing FreeBSD,
   which may render a disk unusable.
</content>
</entry>
<entry>
<title>Teach libdisk that AMD64 works just like i386</title>
<updated>2003-04-30T21:03:16Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2003-04-30T21:03:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2512cd4e8f11e6eca32e4daaee54ac3ebc742dc3'/>
<id>urn:sha1:2512cd4e8f11e6eca32e4daaee54ac3ebc742dc3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Libdisk does not need to include &lt;sys/diskslice.h&gt; any more.</title>
<updated>2003-04-04T16:35:16Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-04-04T16:35:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=197e5e73ef2943d90f1afc5317ade21513ea1bf3'/>
<id>urn:sha1:197e5e73ef2943d90f1afc5317ade21513ea1bf3</id>
<content type='text'>
Move the remaining bits of &lt;sys/diskslice.h&gt; to &lt;i386/include/bootinfo.h&gt;

Move i386/pc98 specific bits from &lt;sys/reboot.h&gt; to
&lt;i386/include/bootinfo.h&gt; as well.

Adjust includes in sys/boot accordingly.
</content>
</entry>
<entry>
<title>Remove mostly unused disk arguments from Fixup_*_Names() functions.</title>
<updated>2003-02-04T17:26:45Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2003-02-04T17:26:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=58b5f01edce6b7a1d1441836501c9fdf3ac555cc'/>
<id>urn:sha1:58b5f01edce6b7a1d1441836501c9fdf3ac555cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Make New_Disk() non-static so it can be used in Create_Chunk_DWIM().</title>
<updated>2003-01-10T19:25:38Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2003-01-10T19:25:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=53465bf736fab55182314a19c7b4d7a7c4257469'/>
<id>urn:sha1:53465bf736fab55182314a19c7b4d7a7c4257469</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>Fixed style(9)</title>
<updated>2002-11-15T13:24:29Z</updated>
<author>
<name>Yoshihiro Takahashi</name>
<email>nyan@FreeBSD.org</email>
</author>
<published>2002-11-15T13:24:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=021587f8c1a3070a8b179fa295a1a098ae3c0f18'/>
<id>urn:sha1:021587f8c1a3070a8b179fa295a1a098ae3c0f18</id>
<content type='text'>
</content>
</entry>
</feed>
