summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/libdisk.3
Commit message (Collapse)AuthorAgeFilesLines
* Instead of printing several pieces with .Sy just enclose the 'Note' blockharti2006-01-301-4/+6
| | | | | | into a .Bf/.Ef pair. Submitted by: ru
* The .Nm macro prints Open_Disk() instead of libdisk, so use an expliciteharti2006-01-271-2/+2
| | | | argument to get 'libdisk'. Also bump the date of the man page.
* Revert 1.45 now that snmp_hostres uses libgeom.harti2006-01-271-0/+7
|
* Fix prototypes.ru2005-11-241-8/+8
|
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Various markup and spelling fixes.trhodes2004-12-291-3/+3
| | | | | PR: 75574 Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> (original version)
* Mechanically kill hard sentence breaks.ru2004-07-021-5/+10
|
* Change libdisk and sysinstall to use d_addr_t rather than u_long for diskjhb2004-03-161-15/+15
| | | | | | | | | | | | | | | | addresses. For arch's with 64-bit longs, this is a nop, but for i386 this allows sysinstall to properly handle disks and filesystems > 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
* The .Nm librarycharnier2003-03-241-2/+3
|
* Consistently mark std(in|out|err) with .Dv, because that's how theyru2002-12-041-1/+2
| | | | | | | are marked up in stdio(3), and because they are defined expressions of type "FILE *". Approved by: re
* - Document the chunk_name() function that replaces chunk_n[].davidc2002-11-111-5/+10
| | | | - Rearrange things a tiny bit.
* Swing the weed-whacker around libdisk:phk2002-10-221-15/+0
| | | | | | | | | 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.
* Fixed bitrot in synopsis. The change of the return type ofbde2001-10-031-1/+1
| | | | | Set_Boot_Blocks() from void to int had not reached here. Callers still don't check the new return value.
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-2/+2
|
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-1/+3
|
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-101-1/+1
| | | | with a trailing zero-width space: `e.g.\&'.
* 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