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

Re: mkisofs



On Sat, Jan 06, 2001 at 09:11:13AM +0100, Robert Waldner wrote:
> >> The ISO image read of the CD is probably a sector or two
> >> too long. If you know the correct size then you can just do
> 
> I would think that the image created with dd is a few bytes (less than 
> a sector) too small, because dd reads until it runs out of useful data, 
> but the cd consists of 2k-sectors, the last one is padded with zeroes 
> until its full. At least thats what the "-pad"-option in cdrecord is 
> for...
> 
> So Id try `dd if=dev/scd0 of=bla.iso ibs=2048 obs=2048 sync`,
> out of `man dd`:
>        sync   pad every input block with NULs to ibs-size
> 
> Or is there an error in my knowledge?
> 

I thought the kernel read a complete sector or none at all.

Doesn't the '-pad' option add 15 *sectors* of zeroes to
the end of the image ?

P.

-- 
P. Horton
Software Engineer
http://www.colonel-panic.com
Linux 2.4.0



Reply to: