Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: enscription thru loop device.



On Fri, 9 Oct 1998, Karl-Max Wagner wrote:

> > I would like to enscript cd-recordable image thru loop device.
> > It seems loop device can't increase file size following the sequence
> > below:
> > 
> > $ touch cdr.img
> 
> That creates a file of the size 0. This won't simply cut it. You
> have to make a file the size of an actual CDROM. Like this:
> 
> $ dd if=/dev/zero of=cdr.img bs=1024 count=650000
> 
> ....well, I don't know what the size of a CDROM exactly is. Put
> into count the correct number. This is raw size - unformatted.

It's 650 * 1024 = 665600 1k blocks.


--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
               <sstone@example.com>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com


---------------------------------------------------------------
Next Meeting: 10 October, 12:30 Tokyo Station Yaesu central gate
Featuring the IMASY Eng. Team on "IPv6 - The Next Generation IP"
Next Nomikai: 20 November, 19:30  Tengu TokyoEkiMae 03-3275-3691
---------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links