install correct aliases file
[unix-history] / usr / src / usr.sbin / bad144 / bad144.8
index c74574c..def660e 100644 (file)
@@ -1,8 +1,8 @@
-.\" Copyright (c) 1980 Regents of the University of California.
+.\" Copyright (c) 1980, 1988 Regents of the University of California.
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)bad144.8    6.2 (Berkeley) %G%
+.\"    @(#)bad144.8    6.5 (Berkeley) %G%
 .\"
 .TH BAD144 8 ""
 .UC 4
 .\"
 .TH BAD144 8 ""
 .UC 4
@@ -17,7 +17,7 @@ bad144 \- read/write dec standard 144 bad sector information
 ] [
 .B \-v
 ]
 ] [
 .B \-v
 ]
-disktype disk
+disk
 [ sno [
 bad ...
 ] ]
 [ sno [
 bad ...
 ] ]
@@ -31,7 +31,7 @@ bad ...
 ] [
 .B \-v
 ]
 ] [
 .B \-v
 ]
-disktype disk
+disk
 [
 bad ...
 ]
 [
 bad ...
 ]
@@ -83,8 +83,8 @@ array are filled with all bits set, a putatively
 illegal value.
 .PP
 .I Bad144
 illegal value.
 .PP
 .I Bad144
-is invoked by giving a device type (e.g. rk07, rm03, rm05, etc.), and a device
-name (e.g. hk0, hp1, etc.).  With no optional arguments
+is invoked by giving a device name (e.g. hk0, hp1, etc.).
+With no optional arguments
 it reads the first sector of the last track
 of the corresponding disk and prints out the bad sector information.
 It issues a warning if the bad sectors are out of order.
 it reads the first sector of the last track
 of the corresponding disk and prints out the bad sector information.
 It issues a warning if the bad sectors are out of order.
@@ -98,7 +98,6 @@ Note, however, that
 does not arrange for the specified sectors to be marked bad in this case.
 This procedure should only be used to restore known bad sector information which
 was destroyed.
 does not arrange for the specified sectors to be marked bad in this case.
 This procedure should only be used to restore known bad sector information which
 was destroyed.
-It is necessary to reboot before any change will take effect.
 .PP
 With the
 .B \-a
 .PP
 With the
 .B \-a
@@ -120,10 +119,15 @@ and may be useful when replacing an unreliable sector.
 If the disk is an RP06, RM03, RM05, Fujitsu Eagle,
 or SMD disk on a Massbus, the
 .B \-f
 If the disk is an RP06, RM03, RM05, Fujitsu Eagle,
 or SMD disk on a Massbus, the
 .B \-f
-option may be used to mark the new bad sectors as ``bad.''
-\fBNOTE:  this can be done safely only when there is no other disk activity\fP,
-preferably while running single-user.
-This option is required unless 
+option may be used to mark the new bad sectors as ``bad''
+by reformatting them as unusable sectors.
+This option is required unless the sectors have already been marked bad,
+or the system will not be notified that it should use the replacement sector.
+This option may be used while running multiuser; it is no longer necessary
+to perform format operations while running single-user.
+.PP
+It is no longer necessary to reboot to allow the kernel
+to reread the bad-sector table from the drive.
 .SH SEE ALSO
 badsect(8),
 format(8V)
 .SH SEE ALSO
 badsect(8),
 format(8V)