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

Re: Padding drivers disks



Martin Schulze wrote:
> Hi,
> 
> it occurred to me that there is a problem with padding of our drivers
> disk images.

Hmm, this is going to annoy me...

I just investigated our incoming directory:

auric!joey(pts/23):/org/ftp.debian.org/incoming> tar tvfz bf-images-1.44_2.2.23_i386.tar.gz|grep dr
drwxr-sr-x root/staff        0 2001-04-14 21:00:27 images-1.44/
drwxr-sr-x root/staff        0 2001-04-14 21:00:27 images-1.44/compact/
-rw-r--r-- root/staff  1474560 2001-04-14 20:59:39 images-1.44/compact/driver-1.bin  <------------- Padded, good.
drwxr-sr-x root/staff        0 2001-04-14 21:00:27 images-1.44/udma66/
-rw-r--r-- root/staff  1474560 2001-04-14 20:59:40 images-1.44/udma66/driver-1.bin
-rw-r--r-- root/staff  1474560 2001-04-14 20:59:40 images-1.44/udma66/driver-2.bin
-rw-r--r-- root/staff  1474560 2001-04-14 20:59:40 images-1.44/udma66/driver-3.bin
-rw-r--r-- root/staff  1474560 2001-04-14 20:59:40 images-1.44/udma66/driver-4.bin   <------------- Padded, good.
drwxr-sr-x root/staff        0 2001-04-14 21:00:27 images-1.44/idepci/
-rw-r--r-- root/staff  1474560 2001-04-14 20:59:40 images-1.44/idepci/driver-1.bin   <------------- Padded, good.
-rw-r--r-- root/staff  1474560 2001-04-14 20:59:39 images-1.44/driver-1.bin
-rw-r--r-- root/staff  1474560 2001-04-14 20:59:39 images-1.44/driver-2.bin
-rw-r--r-- root/staff  1474560 2001-04-14 20:59:39 images-1.44/driver-3.bin
-rw-r--r-- root/staff   688128 2001-04-14 20:59:39 images-1.44/driver-4.bin          <------------- Not padded, BAD.
drwxr-sr-x root/staff        0 2001-04-14 21:00:26 images-1.44/safe/
lrwxrwxrwx root/staff        0 2001-04-14 21:00:26 images-1.44/safe/driver-1.bin -> ../driver-1.bin
lrwxrwxrwx root/staff        0 2001-04-14 21:00:26 images-1.44/safe/driver-2.bin -> ../driver-2.bin
lrwxrwxrwx root/staff        0 2001-04-14 21:00:26 images-1.44/safe/driver-3.bin -> ../driver-3.bin
lrwxrwxrwx root/staff        0 2001-04-14 21:00:26 images-1.44/safe/driver-4.bin -> ../driver-4.bin

Now I wonder which script creates these images?

These calls create properly padded images:

       $(MAKE) driverscompact.tgz
       $(MAKE) driverside.tgz
       $(MAKE) driversidepci.tgz
       $(MAKE) drivers.tgz

The latter creates drv*.bin which will be copied from rescue.sh:

  for f in drv14*.bin; do
    [ ! -f $f ] || mv $f images-1.44/driver${f#drv14}
  done

Oh, as a sidenote, 1.2MB floppies are sized properly:

auric!joey(pts/23):/org/ftp.debian.org/incoming> tar tvfz bf-images-1.20_2.2.23_i386.tar.gz|grep dr
drwxr-sr-x root/staff        0 2001-04-14 21:00:26 images-1.20/
-rw-r--r-- root/staff  1228800 2001-04-14 20:59:38 images-1.20/driver-1.bin
-rw-r--r-- root/staff  1228800 2001-04-14 20:59:38 images-1.20/driver-2.bin
-rw-r--r-- root/staff  1228800 2001-04-14 20:59:38 images-1.20/driver-3.bin
-rw-r--r-- root/staff  1228800 2001-04-14 20:59:38 images-1.20/driver-4.bin
-rw-r--r-- root/staff  1228800 2001-04-14 20:59:38 images-1.20/driver-5.bin

Folks, I need a Sherlock here...  Where the hell does the file get
truncated again?

Regards,

	Joey

-- 
GNU GPL: "The source will be with you... always."

Please always Cc to me when replying to me on the lists.



Reply to: