freebsd-dev/lib
jkh f235bbf938 + add u_long sector_size to struct disk (documented in libdisk.3)
+ 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->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 <schweikh@schweikhardt.net>
2001-05-13 20:08:54 +00:00
..
compat Add libssl and libcrypto compat4x libraries since the major number 2001-03-21 08:49:02 +00:00
csu Add rcsid's. 2001-01-04 10:37:25 +00:00
libalias MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libatm Replace beforeinstall target with new variables used by .mk system. 2000-01-14 07:57:47 +00:00
libbind Build more components to get named to build. 1999-11-30 04:40:54 +00:00
libc Extract the path from an AF_LOCAL sockaddr_un in a way that correctly 2001-05-12 20:05:26 +00:00
libc_r Properly copy the P_ALTSTACK flag in struct proc::p_flag to the child 2001-05-07 18:07:29 +00:00
libcalendar mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
libcam MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libcom_err MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libcompat MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libcrypt MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libdevinfo mdoc(7) police: fix markup. 2001-04-23 07:39:36 +00:00
libdevstat MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libdisk + add u_long sector_size to struct disk (documented in libdisk.3) 2001-05-13 20:08:54 +00:00
libedit Back out history.3 link removing - conflict fixed in libreadline instead 2001-04-12 09:57:12 +00:00
libfetch Apply 'const' liberally. 2001-04-24 00:06:21 +00:00
libform MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libftpio mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
libgnumalloc $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
libio Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
libipsec MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libipx MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libisc MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libkse Properly copy the P_ALTSTACK flag in struct proc::p_flag to the child 2001-05-07 18:07:29 +00:00
libkvm Avoid dividing by zero if kd->procbase->ki_structsize is uninitalised. 2001-05-03 11:26:46 +00:00
libm MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libmd mdoc(7) police: use proper markup for function arguments. 2001-04-04 10:23:27 +00:00
libmenu MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libncp Compensate for header dethreading. 2001-05-01 09:24:15 +00:00
libncurses MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libnetgraph MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libopie MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libpam Finish disconnecting pam_ssh from the build. 2001-05-04 20:40:53 +00:00
libpanel MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libpcap Fixed world breakage in previous commit (config.h was inaccessible 2001-04-03 10:08:51 +00:00
libpthread Properly copy the P_ALTSTACK flag in struct proc::p_flag to the child 2001-05-07 18:07:29 +00:00
libradius MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libresolv Don't build elf libresolv.so*, no elf freebsd binaries have used it ever. 1998-10-11 04:21:56 +00:00
librpcsvc Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
libsbuf Rewrite of the CAM error recovery code. 2001-03-27 05:45:52 +00:00
libskey mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
libsmdb Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
libsmutil Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
libss Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
libstand Compensate for header dethreading. 2001-05-01 09:37:01 +00:00
libtacplus MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libtelnet Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness. 2001-03-28 12:08:22 +00:00
libusb MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libusbhid MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libutil Don't pass NULL to the %s format. 2001-04-22 03:00:09 +00:00
libvgl MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libwrap MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
libxpg4 Bump major to preserve 3.x binaries compatibility 2000-06-13 00:41:38 +00:00
liby $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
libz MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
msun mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
ncurses MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
Makefile Turn on libdevinfo 2001-04-21 00:11:00 +00:00
Makefile.inc