From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3D0B5824.811EBCF2@gsyc.escet.urjc.es> From: FJ Ballesteros MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: Re: [9fans] Can't make CD without temporary file References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 15 Jun 2002 17:07:16 +0200 Topicbox-Message-UUID: ae1e86d4-eaca-11e9-9e20-41e7f4b1d025 I don't have the source at hand, but it shouldn't be hard to change mk9660 to write to stdout when the file argument is not supplied. You might try that. hth Blake McBride ha escrito: > > 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