9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Steve Kotsopoulos steve@ecf.toronto.edu
Subject: Correct use of bind and fs/tarfs?
Date: Mon, 25 Sep 1995 19:38:23 -0400	[thread overview]
Message-ID: <19950925233823.7IsgXvo9GKA-xGO5eYv4UjAHb-jYCVVmyiUvfjub6-M@z> (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.






             reply	other threads:[~1995-09-25 23:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-25 23:38 Steve [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-09-25 23:53 Boyd
1995-09-25 19:05 Frank

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19950925233823.7IsgXvo9GKA-xGO5eYv4UjAHb-jYCVVmyiUvfjub6-M@z \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).