Date: Sat, 22 Nov 1997 13:13:30 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-current@FreeBSD.ORG Cc: abial@korin.warman.org.pl (Andrzej Bialecki) Subject: Re: 'mt status' doesn't report file # ? Message-ID: <19971122131330.HP57544@uriah.heep.sax.de> In-Reply-To: <Pine.NEB.3.95.971120104901.12055A-100000@korin.warman.org.pl>; from Andrzej Bialecki on Nov 20, 1997 10:54:59 %2B0100 References: <Pine.NEB.3.95.971120104901.12055A-100000@korin.warman.org.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
As Andrzej Bialecki wrote: > Recently I started using mt(8) with HP SCSI DAT drive. After using this > command on Solaris I badly miss the information about file #. > > How to get this info? The tape driver needs to count the current tape file. It doesn't do this right now, and i've walked the SCSI specs up and down, it's unfortunately impossible to obtain this information directly from the device (you can only obtain the absolute block number, but that's not of great value). We accept patches iff they are sent as `diff -u' (or `diff -c') output. ;-) While you are at it, please also have a look at PR 4260... <:-) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971122131330.HP57544>