All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Stelian Pop <stelian.pop@alcove.fr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Driver for emulating a tape device on top of a cd writer...
Date: Mon, 18 Dec 2000 19:04:42 +0100	[thread overview]
Message-ID: <20001218190442.B473@suse.de> (raw)
In-Reply-To: <20001218112529.B6315@wiliam.alcove-int>
In-Reply-To: <20001218112529.B6315@wiliam.alcove-int>; from stelian.pop@alcove.fr on Mon, Dec 18, 2000 at 11:25:29AM +0100

On Mon, Dec 18 2000, Stelian Pop wrote:
> Hi folks,
> 
> I've got this idea some time ago, thinking it would really be
> a neat thing...
> 
> Basically, I would like to be able to use a cdwriter as a tape
> device, with software like dump(8) or tar(1). With /dev/tcdw
> as name (for example), I'd like to be able to do:
>         mt -f /dev/tcdw rewind
>         tar cvf /dev/tcdw /
>         tar cvf /dev/tcdw /home
>         mt -f /dev/tcdw rewind
>         mt -f /dev/tcdw fsf 1
>         tar xvf /dev/tcdw
>         ...
> 
> As someone said to me, this seems to exist on some other UNIX
> system (don't recall if it was AIX or something else)... But
> I didn't find any work on Linux in this direction. 

What you describe is actually one of the goals of the packet writing
driver. To do this reliably you need packet writing, I won't even
start to think about the headaches wihtout it...

> I'll start to work on this, probably by looking at the cdrecord 
> low level code and porting it into kernel space.

Oh god no! You can do all this from user space.

-- 
* Jens Axboe <axboe@suse.de>
* SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-12-18 18:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-18 10:25 Driver for emulating a tape device on top of a cd writer Stelian Pop
2000-12-18 18:04 ` Jens Axboe [this message]
2000-12-19  9:45   ` Stelian Pop
2000-12-25 11:10     ` Jens Axboe

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=20001218190442.B473@suse.de \
    --to=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stelian.pop@alcove.fr \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.