[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ide tape drive that thinks its a hard drive




Just out of curiosity, have you tried using /dev/ht0 anyway?

What about treating it as a removable device?  "taper -T", etc :)

Look in ide.c and see if maybe there's an option to force that
device to be a tape drive.  I know you can do "hdc=cdrom", but
I don't think that works for tapes...  When I looked, I didn't see anything
in ide.c or ide-tape.c, but maybe you'll not be reading it as you fall
asleep at the keyboard. ;)

Have you tried ide-scsi emulation for that tape drive?

Oh, and look at the actual /dev/hdc and /dev/ht0 files, making sure the
major and minor numbers are right.  Mine are
brw-rw----   1 root     disk      22,   0 Mar 11 04:12 /dev/hdc
crw-------   1 root     root      37,   0 Mar 11 04:12 /dev/ht0

--Danny, just some stuff to think about

On Tue, Jun 13, 2000 at 06:34:04PM -0500, Bob Castleberry wrote:
> 
> hello, i've got a bit of a problem and after hours of searching the web and
> talking to friends it was suggested that i post to this list that i read
> every day, so heres the problem.
>  i've got a
> athalon 700
> two 9gig cheatah 160 lvd drives
> two adaptec 29160 scsi cards
> currently 8 gig wd ide hdd
> and most importantly a seagate tapestor 20gb ide tape backup drive
> now i'm running suse with the 2.3.99 pre8 kernel (so i can do bootable
> duplexed raid 1 with the scsi drives) and this comes standard with the
> ide-tape 1.16f built into it, and the option has been checked when i
> compiled the kernel (i double checked by checking /proc/ide/drivers)
> what happens is the kernel see's the tape drive and knows what it is, but it
> then sets the tape drive as /dev/hdc (all of the info in
> /proc/ide/ide1/hdc/* shows the tape drive information) but programs like
> taper dump, amanda, etc. wont use /dev/hdc because it thinks that it's a
> block device and not a character device (please correct me if i'm wrong), so
> does anyone know how i could force the kernel to make the tape drive
> /dev/ht0?  any help would be greatly appreciated.

--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.