christos
52e8eb1316
Fix the 3 programs that use DTYPE_ (disklabel disk types) constants from the
...
kernel. Two of them are inside ifdefs.
2015-01-02 19:46:02 +00:00
christos
2a26fd0cf9
sprinkle vax
2013-11-03 00:48:52 +00:00
joerg
0a04fd0539
static + __dead
2011-11-25 13:13:33 +00:00
plunky
9f61b80465
NULL does not need a cast
2011-08-31 16:24:54 +00:00
lukem
24d76f1bcc
Fix -Wsign-compare issues
2009-04-16 06:27:43 +00:00
abs
515e52158b
Convert more MACHINE tests to MACHINE_ARCH
2009-02-14 13:50:50 +00:00
reed
221899b84e
Mention that the program is only installed on supported platforms.
...
(Also add a paragraph break.)
I didn't specifically mention the platforms or what support is needed.
At least someone reading the manpage will have some idea why the tool
is missing from their system.
(Some manual pages mention this in the BUGS section, but I didn't do that.)
2008-09-25 22:44:51 +00:00
lukem
9c1945664c
Remove the \n and tabs from the __COPYRIGHT() strings.
...
Tweak to use a consistent format.
2008-07-21 13:36:57 +00:00
apb
eaa27e0a0c
Make this compile again. Reported by Steven Bellovin.
2006-10-08 18:00:30 +00:00
elad
0bc9c7b601
PR/10429: Takahiro Kambe: bad144(8) dosen't show disk device.
...
Patch adapted to -current, thanks!
2006-10-08 14:52:14 +00:00
christos
bc796bc129
Coverity CID 1567: Fix memory leak.
2006-05-24 21:39:33 +00:00
christos
ce35e5d7d7
Coverity CID 1567: Don't leak memory.
2006-05-23 01:18:19 +00:00
agc
326b2259b7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-08-07 11:25:11 +00:00
wiz
e12ef9aab2
Uppercase DEC. PR 19678 by Igor Sobrado.
2003-03-30 21:24:48 +00:00
wiz
41a412a662
Uppercase MASSBUS, addresses PR 20722.
2003-03-21 23:42:45 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
fvdl
a3ff3a3038
Bump daddr_t to 64 bits. Replace it with int32_t in all places where
...
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
wiz
d1677084c1
Use getopt instead of manual command line grovelling, put usage
...
in a function and adapt it the man page, and some lint cleanups.
2002-06-13 15:27:09 +00:00
wiz
ff7391b803
Note -f is vax only.
2002-06-13 15:25:58 +00:00
wiz
07daf36181
Use a defined value instead of a magic number; make a global local;
...
more ANSIfication.
2002-06-13 13:49:08 +00:00
wiz
663979c9bb
#ifdef i386 -> #ifdef __i386__ (ok'd by fvdl)
...
Don't shadow variable.
WARNS=2
2002-06-13 13:32:47 +00:00
wiz
e8288082fa
de-__P, ANSIfy.
2002-06-13 11:01:08 +00:00
ross
2a76afae02
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:36:18 +00:00
wiz
99fc854a8f
Whitespace nit, sort sections.
2002-01-19 03:06:26 +00:00
hubertf
5e5f388806
* Make it a tiny bit clearer that this also works for IDE disks (by
...
listing 'wd0' as example device besides 'hk0' and whatnot)
* We don't have format(8), remove from the SEE ALSO section.
2000-10-02 21:14:05 +00:00
garbled
d1407362ba
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:43:46 +00:00
bouyer
3e3f9c7795
#include machine/bswap.h and remove -lutil.
1999-01-15 13:32:05 +00:00
matt
f8bd2123f3
vax -> __vax__
1998-10-20 01:48:14 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
lukem
e4e7016851
WARNSify, use err/warn, use opendisk
1997-10-17 05:31:02 +00:00
kleink
66105c37fc
Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
...
use SEEK_SET/SEEK_CUR/SEEK_END instead.
1997-08-25 19:31:43 +00:00
mikel
308f4db973
bring bad144 into at least the 80s:
...
include <stdlib.h> and <unistd.h> for prototypes, remove old declarations
add prototypes for internal functions
make all implicit int return and argument types explicit, make some void
eliminate 'register'
cast lseek(2) offset arguments to off_t
1997-06-24 07:48:12 +00:00
mrg
0553741950
move man pages into share/man.
1997-06-23 04:51:16 +00:00
mikel
bcecfb0095
merge lite-2 changes (just SCCS IDs).
...
RCSid police, update 'struct dkbad' definition in manpage.
1997-03-06 06:12:18 +00:00
cgd
1c4dda6b52
include string.h for protos
1997-02-03 20:12:34 +00:00
mycroft
7ae2c7538b
Eliminate extra `/' when prefixing the device name with _PATH_DEV.
1995-06-10 21:01:08 +00:00
cgd
d8806814a6
specify man pages the new way.
1994-12-22 11:32:57 +00:00
mycroft
e087c4f7fe
Fix ugly printf().
1994-06-13 22:34:29 +00:00
mycroft
e7d448d9d6
Merge local changes.
1994-06-13 22:29:11 +00:00
cgd
2d9a6f19c6
include file frobbing
1994-06-13 20:47:16 +00:00
jtc
281c9594a0
vmunix -> netbsd
1994-02-03 17:41:21 +00:00
cgd
6d6ecb06a5
more ifdef changes. eventually have to move raw partition for the i386 to c
1993-12-06 09:28:52 +00:00
mycroft
e3c9b730c0
Miscellaneous cast to shut up compiler.
1993-12-03 10:04:50 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
mycroft
c3e42d1c64
Add RCS indentifiers.
1993-08-01 07:22:47 +00:00
mycroft
b465cf4697
Add RCS identifiers.
1993-07-30 22:11:51 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00