Commit Graph

2815 Commits

Author SHA1 Message Date
itojun
27dfc9236f style (tab around $NetBSD$) 2002-08-16 23:54:52 +00:00
itojun
2abe377059 defend against malicious line in ut_line, which could cause unwanted
writes to anything under /dev.  revoke setuid/gid privs earlier.
From: xs@kittenz.org
2002-08-16 20:21:48 +00:00
soren
1f8cf74815 Typo. 2002-08-15 19:17:04 +00:00
mycroft
b916651e58 Correct the check for whether SMART is enabled. 2002-08-15 18:57:51 +00:00
matt
0228ca2671 Add support for printing out messages about missing packet gaps. This is
done with the -v switch.  If -q is also given with -v, then only the
packet gap messages will be printed along with summary after each gap
message.
2002-08-12 18:24:53 +00:00
itojun
dbf388bc4f calloc() arg mistake. it's (nelem, size). from openbsd 2002-08-12 02:40:20 +00:00
itojun
e93a4e6b0f bitmask operation mistake audit (s/&&/&/). from openbsd 2002-08-08 15:10:51 +00:00
soren
236006d5dc Remove extraneous \n's in {err,warn}{,x} that used to be printfs. 2002-08-08 13:24:12 +00:00
soren
26bc587db9 Clean up printf->err conversions. 2002-08-08 13:19:18 +00:00
jwise
ad8bd5db78 Fix mandoc glitch in description of `eui64' command. 2002-08-06 19:29:35 +00:00
soren
1cbfe6af00 Print symbolic names for SMART STATUS attributes. 2002-08-06 01:16:56 +00:00
wiz
7553d4030f Ispell. Drop .Pp before .Sh. 2002-08-06 00:44:36 +00:00
soren
1cc6ec32e5 s/smart info/smart status/ to better fit in with the standard's feature set. 2002-08-06 00:00:21 +00:00
soren
9e129fde67 Add ATA SMART reporting support from Ben Collver in kern/12787. 2002-08-05 23:29:27 +00:00
ross
08c3bcd192 shut up assembler warnings 2002-08-04 20:29:44 +00:00
ross
626a25bc13 deal with assembler warnings 2002-08-04 20:27:22 +00:00
wiz
42ec3bd114 Support wtmpx. 2002-08-02 15:05:57 +00:00
wiz
d9deaad608 de__P(), ANSIfy. 2002-08-02 14:59:40 +00:00
christos
0f38e42a7a fix typos that prevented us from cleaning utmpx. Noted by wiz 2002-08-02 14:03:22 +00:00
scw
451eb422ae Fix dump_lfs build following recent utmp changes. 2002-08-02 12:29:36 +00:00
simonb
8cd68a2ff9 Setting BINMODE=555 is redundant, as is setting BIN{OWN,GRP} of we're
using the default BINMODE.
2002-08-02 03:58:09 +00:00
christos
8e5a0987a4 support utmpx 2002-08-02 02:07:09 +00:00
itojun
f104c36660 u_short cleansing (use u_int16_t where appropriate) 2002-08-01 08:56:59 +00:00
wiz
92b80e91d7 Format the path to a file with .Pa. 2002-07-29 21:08:30 +00:00
thorpej
1384fef106 Note that not all watchdog timers can be disarmed once armed, and that
when such a case is encountered, an error message will be displayed and
the timer will remain armed if an attempt to disarm it is made.
2002-07-29 21:00:15 +00:00
manu
3966af389b Enable USE_MBR for all arm ports. 2002-07-28 15:17:38 +00:00
christos
06596adfbd add utmpx/wtmpx processing support. 2002-07-27 23:49:47 +00:00
manu
3f13baf349 Added fdisk on hpcarm 2002-07-26 17:22:51 +00:00
joda
72d8f527fb various spelling 2002-07-24 14:14:10 +00:00
grant
6742cb1812 sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:36:17 +00:00
tsutsui
4b541a44d0 Drop a trailing space in bootstr[] properly. 2002-07-20 06:44:45 +00:00
wiz
7b1f0f9426 Remove duplicate 'to'. From Ryo HAYASAKA in bin/17562. 2002-07-11 15:06:04 +00:00
wiz
1322c69689 Nit. 2002-07-09 22:51:13 +00:00
jdolecek
0fb4a207d2 This isn't i386 specific (also macppc) 2002-07-09 22:11:50 +00:00
dbj
913e76340c get pdisk compiling on macppc and mac68k 2002-07-09 05:57:32 +00:00
yamt
e9ae5a9bbd add a new command, "keeplabel". 2002-07-01 18:49:57 +00:00
dbj
c88ccea33d commit fix from pr bin/15449
this fixes FS_42POSTBLFMT compatibility
2002-06-30 22:57:30 +00:00
lukem
71764f4db5 KNF, remove unnecessary crap, ... 2002-06-30 14:17:44 +00:00
lukem
5f212d76c6 use strnode_add() to implement add_before() 2002-06-30 13:31:15 +00:00
grant
97a9e02381 disallow creation of partitions which start beyond (or extend beyond)
the end of the disk.
2002-06-29 15:24:03 +00:00
wiz
5081d82d22 Punctuation vs. markup nits, and use .Dq instead of double quotes. 2002-06-26 18:07:21 +00:00
mjacob
41194c0e70 Add a bunch of stuff from Bob Nestor that fixes format to allow one to
specify device logical blocksize.

Furthermore, it also adds an 'immediate' option, which then sends more modern
devices into formatting in the background. scsictl still waits around and
sends a TEST UNIT READY every 10 seconds and, based upon the sense data
it gets back after the invariable CHECK CONDITION, prints out a progress
indicator (based upon SKSV progress in the sense data).

While we're at it, add a 'tur', 'reserve', 'release', 'start' and 'stop'
functions to the device commands.

Fix a long standing bug in scsi_command- the value in retsts is an integral
value- not a bitmask.
2002-06-26 16:04:11 +00:00
jdolecek
d1f10f9f74 Support 'dp' as mount option for 'sw' fstype, so it DTRT for entries like:
/dev/wd0b none swap sw,dp 0 0
2002-06-21 09:04:16 +00:00
itojun
53daf81056 correct usage (-n) 2002-06-21 07:48:53 +00:00
itojun
a532d33818 USE_MBR on macppc too 2002-06-18 00:21:53 +00:00
itojun
cd668e919e need disklabel_mbr.h for USE_MBR build 2002-06-18 00:19:27 +00:00
itojun
245453be61 mbr for FDISK-formatted macppc disk 2002-06-17 15:25:45 +00:00
itojun
b11bd24490 fdisk is now useful for macppc, build it 2002-06-17 15:11:46 +00:00
wrstuden
0e65ecc5d2 Catch error code from mount command, and if it's the
error given when we ask for a v3 mount on a v2-only kernel,
*and* we weren't forcing v3, try the mount again as a v2 mount
before erroring out.
2002-06-16 02:27:31 +00:00
itojun
e923169715 grab eui64 only from the same interface. 2002-06-14 09:12:08 +00:00