summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/libdisk.3
Commit message (Collapse)AuthorAgeFilesLines
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* + add u_long sector_size to struct disk (documented in libdisk.3)jkh2001-05-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | + 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>
* Fixed bitrot in prototype(s) in synopsis.bde2001-02-051-1/+1
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-291-1/+1
|
* logru2000-11-221-3/+5
|
* Use Fx macro wherever possible.ru2000-11-141-1/+3
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-2/+1
|
* Reassemble a sentence that has been botched in rev 1.4.joerg2000-04-251-1/+1
| | | | Reported by: Alexander Leidinger <Alexander@leidinger.net>
* Introduce .Lb macro to libdisk manpagephantom2000-04-221-1/+3
|
* Remove BAD144 supportphk1999-11-271-2/+0
|
* fix couple mdoc errorphantom1999-10-281-9/+7
| | | | mention library name in header (.Nd field) - it allows to use "man -k libdisk"
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Eliminate all dependence on boot1 and boot2. This is passed in byjkh1998-12-311-7/+2
| | | | | | Set_Boot_Blocks() anyway and should thus have never been a part of libdisk, it should have been provided by the client of libdisk since passing the information in is already part of the API.
* Spelling corrections.jkoshy1998-06-061-3/+3
| | | | | PR: 6868 Submitted by: Josh Gilliam <josh@quick.net>
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aqcharnier1998-03-191-3/+4
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Adds slice_type_name() which extends chunk_n[] for subtype's too.obrien1997-01-231-0/+19
| | | | Curorary review by: phk
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Make libdisk C++ aware:joerg1996-03-241-9/+14
| | | | | | | - add __BEGIN_DECLS and __END_DECLS, - add a bunch of ``const'' qualifiers all over the place, - rename the `private' struct member into `private_data' to avoid the clash with the C++ keyword.
* libdisk is now `adult':joerg1996-03-171-0/+315
. install libdisk.h into /usr/include . add a (preliminary) manpage, mostly featured after phk's comments in libdisk.h
OpenPOWER on IntegriCloud