From 23dc42d12f7e176a5f72d65f1d348b423b1cf293 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Sun, 31 Dec 2000 20:29:56 +0000 Subject: [PATCH] Oops, I'm such an idiot. For reasons I don't really agree with, all devices are by default known by their 'cooked' name, so my change was wrong. I thought it was a hangover from old 'block tape device' support which hasn't worked (if it ever did) since v6/PWB. So, the default tape name is now the same as Linux. Far out, man.... --- sys/sys/mtio.h | 2 +- usr.bin/mt/mt.1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/mtio.h b/sys/sys/mtio.h index e41a28246fd5..11c6e5877b62 100644 --- a/sys/sys/mtio.h +++ b/sys/sys/mtio.h @@ -225,7 +225,7 @@ union mterrstat { #define MTIOCGETEOTMODEL _IOR('m', 8, u_int32_t) #ifndef _KERNEL -#define DEFTAPE "/dev/nrsa0" +#define DEFTAPE "/dev/nsa0" #endif #ifdef _KERNEL diff --git a/usr.bin/mt/mt.1 b/usr.bin/mt/mt.1 index f64641b0f224..1334e58efe2b 100644 --- a/usr.bin/mt/mt.1 +++ b/usr.bin/mt/mt.1 @@ -224,7 +224,7 @@ If a tape name is not specified, and the environment variable does not exist; .Nm uses the device -.Pa /dev/nrsa0 . +.Pa /dev/nsa0 . .Pp .Nm \&Mt returns a 0 exit status when the operation(s) were successful,