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.




Kei Furuuchi <kfur@example.com> writes:

> $ touch cdr.img
> $ losetup -e des /dev/loop0 cdr.img
> $ mkisofs -afvr -o /dev/loop0 <directory>
> 
> mkisofs fails. Is it usual?

As far as I know that should fail; you need a load of empty space
into which to write the filesystem.  It's the same with physical
disks; you need a partition before you can fill it with a
filesystem.  Use dd for this purpose:

  dd bs=1024 count=1000 if=/dev/zero of=cdr.img

or options to a similar effect.

Cheers,
-- 
-x80
Frank G Bennett, Jr         @@
Faculty of Law, Nagoya Univ () email: bennett@example.com
Tel: +81[(0)52]789-2239     () WWW:   http://rumple.soas.ac.uk/~bennett/
---------------------------------------------------------------
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