<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libdisk/blocks.c, branch release/5.2.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2004-01-10T05:53:29Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2004-01-10T05:53:29Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2004-01-10T05:53:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=58c9ff44c8041f394c663cb9640e9b77fe07bb13'/>
<id>urn:sha1:58c9ff44c8041f394c663cb9640e9b77fe07bb13</id>
<content type='text'>
'RELENG_5_2_0_RELEASE'.

This commit was manufactured to restore the state of the 5.2-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</content>
</entry>
<entry>
<title>Style(9) improvements.</title>
<updated>2002-10-31T07:56:40Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2002-10-31T07:56:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fd4a61e8090a0dcad19db5721aa181b8c98edd4b'/>
<id>urn:sha1:fd4a61e8090a0dcad19db5721aa181b8c98edd4b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Untangle #ifdefs in the write-end of things by giving each arch its</title>
<updated>2002-10-23T19:52:32Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2002-10-23T19:52:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=532dd2fa864889891025b47b3eefcbbc19f14f44'/>
<id>urn:sha1:532dd2fa864889891025b47b3eefcbbc19f14f44</id>
<content type='text'>
own file and own copy of WriteDisk() to do things in.

This should have happened years ago, instead of adding #ifdefs all
over the place.
</content>
</entry>
<entry>
<title>Swing the weed-whacker around libdisk:</title>
<updated>2002-10-22T09:13:02Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2002-10-22T09:13:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fa9e908771585cd48cb5efa278a51c0026a4446d'/>
<id>urn:sha1:fa9e908771585cd48cb5efa278a51c0026a4446d</id>
<content type='text'>
Constify some things.
Staticize some things.
Remove some unused things.
Prototype some things.
Don't install a gazillion man-pages links.
Drop support for ON-TRACK disk-manager.
</content>
</entry>
<entry>
<title>Modernize my email address.</title>
<updated>2002-03-25T13:52:45Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2002-03-25T13:52:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=aaead0dfe93b3796585d8da75ce75be5583d4c72'/>
<id>urn:sha1:aaead0dfe93b3796585d8da75ce75be5583d4c72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add __FBSDID()s to libdisk</title>
<updated>2001-09-30T21:16:57Z</updated>
<author>
<name>Matthew Dillon</name>
<email>dillon@FreeBSD.org</email>
</author>
<published>2001-09-30T21:16:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=96be23e0be4a6c37c76836b5b0915f5745447e45'/>
<id>urn:sha1:96be23e0be4a6c37c76836b5b0915f5745447e45</id>
<content type='text'>
</content>
</entry>
<entry>
<title>+ add u_long sector_size to struct disk (documented in libdisk.3)</title>
<updated>2001-05-13T20:08:54Z</updated>
<author>
<name>Jordan K. Hubbard</name>
<email>jkh@FreeBSD.org</email>
</author>
<published>2001-05-13T20:08:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=96e426f43d27a6ffee029700fa433c292c9dc45a'/>
<id>urn:sha1:96e426f43d27a6ffee029700fa433c292c9dc45a</id>
<content type='text'>
+ make Open_Disk sense the sector size by trying 512, 1024 and 2048
  in this order. This makes the kernel note that
  dscheck(cd1): bio_bcount 512 is not on a sector boundary (ssize 2048)
  dscheck(cd1): bio_bcount 1024 is not on a sector boundary (ssize 2048)
  if 2048 is the sector size. If this worries anyone: the message is from
  /usr/src/sys/kern/subr_diskslice.c and shutups are to be placed there.
+ Have read_block and write_block use an additional parameter, the
  sector size.
+ replace all barfout calls with return NULL, 0, __LINE__, etc.
  Note that this does NOT emit diagnostics. More often than not,
  you don't want library functions to scribble on stderr -- it may
  not even be available. The right thing is to propagate the error
  condition to upper management. The app should take care of errors.
+ use d1-&gt;sector_size instead of 512 in various places. I've left many
  places untouched, especially those writing MBRs. I simply added
  another arg hardcoded as 512. This is because I would not know what
  I'm doing... I felt this approach would be reasonably backward
  compatible and not introduce any new bugs in critical software.
  Famous last words. Messing with MBRs might soon put me in the same
  screwup meister category as, uh, never mind.  :-)
+ bump the max no of disks from 20 to 32 (due to PR 24503).

PR:		8434 / 8436 / 24503
Submitted by:	Jens Schweikhardt &lt;schweikh@schweikhardt.net&gt;
</content>
</entry>
<entry>
<title>Add spaces around operators.</title>
<updated>2001-04-01T12:18:20Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2001-04-01T12:18:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e32cb81d24c61e968bcf831deb77169b75cccb99'/>
<id>urn:sha1:e32cb81d24c61e968bcf831deb77169b75cccb99</id>
<content type='text'>
It's OK, the Project and afford them now -- they aren't as expensive as
they used to be.
</content>
</entry>
<entry>
<title>Libraries should _never_ call exit() themselves (or its alternate spelling</title>
<updated>2001-03-18T21:30:11Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2001-03-18T21:30:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=135c56336aa54aa149984e8baf63abbc8cea33d5'/>
<id>urn:sha1:135c56336aa54aa149984e8baf63abbc8cea33d5</id>
<content type='text'>
`err()').  libdisk does! and additionally libdisk gets confused on Alpha
disks with foreign disklabels, throws up its hands and exits.  This is
the cause of the "going no where without my init" install bug on the Alpha.

So now on the Alpha, rather than call err(), we print the error string and
continue processing.

Submitted by:	jkh
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T00:22:10Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T00:22:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7f3dea244c40159a41ab22da77a434d7c5b5e85a'/>
<id>urn:sha1:7f3dea244c40159a41ab22da77a434d7c5b5e85a</id>
<content type='text'>
</content>
</entry>
</feed>
