Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!shaman!jiro From: jiro@shaman.com (Jiro Nakamura) Newsgroups: comp.sys.next Subject: Re: disktab entries Message-ID: <1991Feb16.043405.2114@shaman.com> Date: 16 Feb 91 04:34:05 GMT References: Organization: Shaman Consulting Lines: 39 In article ersys!drin@nro.cs.athabascau.ca (Adrian Smith) writes: >nwc@asp.shearson.com (Nick Christopher) writes: > >> >> I remember hearing of a program called scsimodes (?) that would probe a disk >> your scsi bus and give you back a disktab entry. Does it exist? If its not to >> big could someone mail me a copy? >> >> -- >> \n > >I believe the program you're talking about is called SCSI Inquirer (the >latest version I saw is version 1.1). Unfortunately, it doesn't work >under 2.0 (or so it seems). It hung my slab when I tried it... > >-drin I wrote SCSI Inquirer. Yes, it works on 2.0 (if you set it SETUID root, as always, so it can access sg (4)). SCSI Inquirer will only give short descriptions (and SCSI ID) numbers of devices on the bus. It will not attempt to do any decoding of high level info such as is necessary for disktab info. It is a good way to break SCSI ID conflicts, though. It is avaiable from cs.orst.edu and nova.cc.purdue.edu. But no, this is not what Nick wants. What Nick wants is already on his machine, it is in: /usr/etc/scsimodes You should be root if you are accessing the mounted scsi disk. (Same reason Inquirer needs to be root). However, this will not give him a full disktab, he will have to write it himself or use the program recently posted. I don't know why he wants to write a disktab unless he is splitting partitions, 2.0 will usually mount disks automatically. - jiro nakamura -- Jiro Nakamura uunet!shaman!jiro Shaman Consulting (607) 253-0687 VOICE "Bring your dead, dying shamans here!" (607) 253-7809 FAX/Modem