Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!chinacat!chip From: chip@chinacat.unicom.com (Chip Rosenthal) Newsgroups: comp.unix.xenix.sco Subject: Re: SCSI tape ejects on device close. Message-ID: <1991May28.181634.10877@chinacat.unicom.com> Date: 28 May 91 18:16:34 GMT References: <1991May28.142642.10422@swdsrv.edvz.univie.ac.at> Organization: Unicom Systems Development, Inc. Lines: 30 In article <1991May28.142642.10422@swdsrv.edvz.univie.ac.at> mah@wu-wien.ac.at writes: >This works, except that on every device close, the tape gets *ejected* >[...] Any clues/minor number magic/kernel patches? I think you need to change the minor device number of the tape. Unfortunately, the required information is missing from the 2.3.3GT manpages. Here is what the UNIX scsi(HW) manpage says: SCSI Tape Minor Devices Bits 7 6 5 4 3 2 1 0 Description ________________________________________________ X X - - - - - - Unit (LUN) - - X - - - - - No unload on close - - - X - - - - High density (6250 BPI) - - - - X - - - No rewind on close - - - - - X X X Unused(reserved) You want to create a tape device with minor number 2^5 + 2^3 = 32 + 8 = 40 to suppress the unload on close. BTW...I believe bit three should read `Rewind on close' and not `No rewind on close'. I submitted a bug report to SCO on this just last weekend. -- Chip Rosenthal | Don't play that Unicom Systems Development 512-482-8260 | loud, Mr. Collins.