Re: mkisofs
- To: Robert Waldner <Waldner@KPNQwest.at>
- Cc: Debian User <arodriguez@att.net>, Steve McIntyre <stevem@chiark.greenend.org.uk>, Debian Users <debian-user@lists.debian.org>, debiancd <debian-cd@lists.debian.org>
- Subject: Re: mkisofs
- From: Peter Horton <pdh@colonel-panic.com>
- Date: Sat, 6 Jan 2001 21:24:02 +0000
- Message-id: <[🔎] 20010106212402.B22844@colonel-panic.com>
- Mail-followup-to: pdh, Robert Waldner <Waldner@KPNQwest.at>, Debian User <arodriguez@att.net>, Steve McIntyre <stevem@chiark.greenend.org.uk>, Debian Users <debian-user@lists.debian.org>, debiancd <debian-cd@lists.debian.org>
- In-reply-to: <[🔎] 200101060811.JAA28563@cruncher.Austria.EU.net>; from Waldner@KPNQwest.at on Sat, Jan 06, 2001 at 09:11:13AM +0100
- References: <[🔎] 3A56614D.5F3A8E32@att.net> <[🔎] 200101060811.JAA28563@cruncher.Austria.EU.net>
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: