projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add DEL as an erase character
[unix-history]
/
usr
/
src
/
sys
/
vax
/
stand
/
drtest.c
diff --git
a/usr/src/sys/vax/stand/drtest.c
b/usr/src/sys/vax/stand/drtest.c
index
c65b37a
..
757d042
100644
(file)
--- a/
usr/src/sys/vax/stand/drtest.c
+++ b/
usr/src/sys/vax/stand/drtest.c
@@
-1,4
+1,10
@@
-/* drtest.c 4.12 83/03/20 */
+/*
+ * Copyright (c) 1982 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ * @(#)drtest.c 6.2 (Berkeley) %G%
+ */
/*
* Standalone program to test a disk and driver
/*
* Standalone program to test a disk and driver
@@
-41,7
+47,7
@@
again:
lastsector = st.ncyl * st.nspc;
for (sector = 0; sector < lastsector; sector += st.nsect) {
if (sector && (sector % (st.nspc * 10)) == 0)
lastsector = st.ncyl * st.nspc;
for (sector = 0; sector < lastsector; sector += st.nsect) {
if (sector && (sector % (st.nspc * 10)) == 0)
- printf("
sector %d\n", sector
);
+ printf("
cylinder %d\n", sector/st.nspc
);
read(fd, bp, tracksize);
}
goto again;
read(fd, bp, tracksize);
}
goto again;