9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Blake McBride <blake@integra-online.com>
To: 9fans@cse.psu.edu
Subject: [9fans] Can't make CD without temporary file
Date: Fri, 14 Jun 2002 17:10:30 +0000	[thread overview]
Message-ID: <ugk87v9ulpa585@news.supernews.com> (raw)

Greetings,

I am attempting to create a CD.  I am able to do it just fine
with the following commands:

cdfs -d /dev/sdC1 -m /usr/glenda/cd
disk/mk9660 -9cj -s /usr/glenda/MyApp /usr/glenda/cdimage
cp /usr/glenda/cdimage /usr/glenda/cd/wd/cdimage
rm /usr/glenda/cd/wd
unmount /usr/glenda/cd

The problem is that I don't want to have to create the temporary
image file cdimage.

The example in CDFS(4) states that you can create write to a CD
without the intermediate file with:

disk/mk9660 -9cj -n notice cdproto >cd/wd/foo

but that doesn't work because mk9660 expects a file argument and
doesn't send its output to stdout so > won't work.

I even tried:

disk/mk9660 -9cj -s /usr/glenda/MyApp /usr/glenda/cd/wd/cdimage

in an effort to write directly to the CD but I got:

disk/mk9660: cannot create '/usr/glenda/cd/wd/cdimage': bad mode (use
OWRITE)

But, of course, I am able to:

cp /usr/glenda/cdimage /usr/glenda/cd/wd/cdimage

Any help would be appreciated.

Thanks.

Blake McBride
blake@integra-online.com


             reply	other threads:[~2002-06-14 17:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-14 17:10 Blake McBride [this message]
2002-06-15 15:07 ` FJ Ballesteros
2002-06-14 17:30 Russ Cox
2002-06-15 15:18 ` FJ Ballesteros

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=ugk87v9ulpa585@news.supernews.com \
    --to=blake@integra-online.com \
    --cc=9fans@cse.psu.edu \
    /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).