Re: How to create device for tape backup

1998-05-31 Thread Bernt T. Hansen
>Thanks for the tip Bernt.  I assume that MAKEDEV pulls the device info from
> /proc/devices?  Another tape-related device I've seen reference to (and thus
> assume I need) is /dev/nht0.  Any idea what that device might be for and why 
> two
> are needed (in addition to whether it is made the same way:-)

MAKEDEV gets device info out of /etc/devinfo (according to the manual page ;)

/dev/nht0 is made the same way (or any device for that matter).  /dev/ht0 is 
the auto-rewinding version of the device and /dev/nht0 leaves the tape device 
positioned at the end of whatever operation was just completed.

My SCSI tape device is non-rewinding so I always use /dev/nst0.  You will 
probably want to use /dev/nht0.

Regards,
Bernt.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: How to create device for tape backup

1998-05-31 Thread Randy Edwards
   Thanks for the tip Bernt.  I assume that MAKEDEV pulls the device info from
/proc/devices?  Another tape-related device I've seen reference to (and thus
assume I need) is /dev/nht0.  Any idea what that device might be for and why two
are needed (in addition to whether it is made the same way:-)?

--
 Regards,|Debian GNU/__ o http://www.debian.org
 .   |  / /__  _  _  _  _ __  __
 Randy   | / /__  / / / \// //_// \ \/ /
 ([EMAIL PROTECTED]) |// /_/ /_/\/ /___/  /_/\_\
 |...because lockups are for convicts...
 |What is or why Linux?  Click on the below:
 http://www8.zdnet.com/pcmag/pctech/content/16/13/os1613.001.html



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: How to create device for tape backup

1998-05-31 Thread Bernt T. Hansen
> cd /dev
> ../MAKEDEV ht0

Sorry that should read 
cd /deb
./MAKEDEV ht0
not ../MAKEDEV ...

Bernt.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: How to create device for tape backup

1998-05-31 Thread Bernt T. Hansen
>I just acquired an IDE tape backup and I believe that this uses ht0
> for a device.  I've recompiled my kernel, and the kernel recognizes
> the device at boot and I have a ht0 listed in /proc/devices, but I
> don't have any sort of /dev/ht0 entry to use the device with.

cd /dev
./MAKEDEV ht0

and it will create the /dev/ht0 device for you so you can use the drive.

> 
>Can someone tell me what the standard way of addressing such a
> device is; and perhaps give me a tutorial on using MAKEDEV to create
> this device (I thought a MAKEDEV -v update would do the trick).
> Thanks much in advance.

/dev/MAKEDEV is a tool which creates devices in the /dev directory.  You 
normally make the ones you need and ignore the ones you don't.

Regards,
Bernt.

-- 
Bernt T. Hansen- Norang Consulting Incorporated ---  [EMAIL PROTECTED]
Computer Systems/  - 235 Bellamy Road N., Scarborough -  phone: (416)431-6216
Analyst- Ontario, Canada M1J-2L7 --  fax:   (416)431-2617
PGP Public Key fingerprint = CB 99 EC 07 DE F8 D5 8D  59 99 A5 E7 7E 7A 8C 9C



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]