9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Correct use of bind and fs/tarfs?
@ 1995-09-25 19:05 Frank
  0 siblings, 0 replies; 3+ messages in thread
From: Frank @ 1995-09-25 19:05 UTC (permalink / raw)


I've got an Archive Viper 150 Meg QIC drive attached to an Adaptec 1542C
that I am able to move the tape around using scuzz.  I want to start reading
and writing data to it from rc.  I did the following -->

I am able to bind the SCSI controller with:

	bind '#S' /dev

This produces directories 0 though 7 and scsiid in my /dev directory.

I get no errors from:

	fs/tarfs -m /n/tapefs /dev/3

I am unable to:

	tar -cvf /n/tapefs *

Have I missed something completely?

-Frank







^ permalink raw reply	[flat|nested] 3+ messages in thread

* Correct use of bind and fs/tarfs?
@ 1995-09-25 23:53 Boyd
  0 siblings, 0 replies; 3+ messages in thread
From: Boyd @ 1995-09-25 23:53 UTC (permalink / raw)


    From:	Frank Ashford <fashford@crl.com>
    
    I am able to bind the SCSI controller with:
    
    	bind '#S' /dev
    
    This produces directories 0 though 7 and scsiid in my /dev directory.
    
    I get no errors from:
    
    	fs/tarfs -m /n/tapefs /dev/3
    
    I am unable to:
    
    	tar -cvf /n/tapefs *
    
tarfs provides a read only file-system interface to a tar file.
/n/tapefs is a directory which tar will not like.
you just want to run tar straight onto the device (/dev/?/data)






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Correct use of bind and fs/tarfs?
@ 1995-09-25 23:38 Steve
  0 siblings, 0 replies; 3+ messages in thread
From: Steve @ 1995-09-25 23:38 UTC (permalink / raw)


Frank Ashford <fashford@crl.com> wrote:
> I've got an Archive Viper 150 Meg QIC drive attached to an Adaptec 1542C
> that I am able to move the tape around using scuzz.  I want to start reading
> and writing data to it from rc.  I did the following -->
> 
> I am able to bind the SCSI controller with:
> 	bind '#S' /dev
> 
> This produces directories 0 though 7 and scsiid in my /dev directory.
> I get no errors from:
> 	fs/tarfs -m /n/tapefs /dev/3
> I am unable to:
> 	tar -cvf /n/tapefs *
> Have I missed something completely?

Perhaps. My reading of the manpages tells me that tarfs can be used to
mount a tape read-only as a file system. Thus, if you have a tar-format
tape, you could mount it with tarfs and then use cd, grep, diff and other
traditional tools to look around on the tape and grab whatever you want.
In this way, tarfs and family is a lot like ftpfs - they give you
a filesystem-oriented way of looking at things that people don't usually
think of as filesystems; this is Plan 9 after all.

To write the tape, you'll have to use tar, not tarfs. Also, you'll probably
want a slightly higher-level interface that scsi(3), as it requires you
to send the commands and data using separate files. Read the manual for
scuzz(8), which seems to be more suited to the task.

I haven't tried any of the above, so don't take it as gospel. I've been
using u9fs to copy files to a Unix system (boo, hiss) for backup.






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-09-25 23:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-09-25 19:05 Correct use of bind and fs/tarfs? Frank
1995-09-25 23:38 Steve
1995-09-25 23:53 Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).