Debian bug report logs - #1649
dpkg-split + 200 header bytes

Package: dpkg; Reported by: Erick Branderhorst <branderhorst@fgg.eur.nl>; Done: Ian Jackson <iwj10@cus.cam.ac.uk>.

Message received at debian-bugs-done:


From cus.cam.ac.uk!iwj10 Thu Oct 12 19:48:30 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t3aAf-000BtSC; Thu, 12 Oct 95 19:48 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA01653
  (5.67b/IDA-1.5 for debian-developer-pipe@mongo.pixar.com); Thu, 12 Oct 1995 19:48:05 -0700
Received: by bootes.cus.cam.ac.uk 
	(Smail-3.1.29.0 #36) id m0t3aAN-000BziC; Fri, 13 Oct 95 03:48 BST
Received: by chiark
	id <m0t3a5N-0002aFZ@chiark.al.cl.cam.ac.uk>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Fri, 13 Oct 95 03:43 BST
Message-Id: <m0t3a5N-0002aFZ@chiark.al.cl.cam.ac.uk>
Date: Fri, 13 Oct 95 03:43 BST
From: Ian Jackson <iwj10@cus.cam.ac.uk>
To: debian-devel@pixar.com,
        Debian bugs acknowledgements <debian-bugs-done@pixar.com>
Subject: Re: Bug#1649: dpkg-split + 200 header bytes

Erick Branderhorst writes ("Bug#1649: dpkg-split + 200 header bytes"):
> 1    Kb = 1024    bytes
> 1440 Kb = 1474560 bytes
> however dpkg-split thinks that
> 1440 Kb = 1474760 bytes -> 200 free bytes (header bytes?)

Yes, you're right.  I'd forgotten to account for the header.
dpkg-split now allows 1024 bytes for the header (unfortunately it's
hard to predict exactly in advance).  I've also changed it to ignore
trailing garbage so you can do things like
  dpkg-split -a /dev/fd0
without having it complain that /dev/fd0 had some stuff in it after
the end of what should have been the .deb part file.

> Suggestion: optionally 8.3 named parts for easy transfer on 8.3 disks:
> emacs1.deb, emacs2.deb, etc, or emacs.de1, emacs.de2, etc.?

I've implemented this too.  The names are `emac1of3.deb' &c.  It is
important to keep the .deb extension to keep msdosfs and the dselect
installation methods and the like happy, and I think encoding the
number of parts is important too.

When using the --msdos option the program will use the package name
(rather than using as a basis the filename you gave it) and will
truncate the package name to 4 (or fewer) characters.  It'll also
remove nasty characters from the filenames.

This will be in 1.0.5.

Ian.

Notification sent to Erick Branderhorst <branderhorst@fgg.eur.nl>:
Bug acknowledged by developer. Full text available.
Reply sent to Ian Jackson <iwj10@cus.cam.ac.uk>:
You have taken responsibility. Full text available.

Message received at debian-bugs:


From fgg.eur.nl!branderhorst Thu Oct 12 05:27:20 1995
Return-Path: <branderhorst@fgg.eur.nl>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t3MjH-000Dq3C; Thu, 12 Oct 95 05:27 PDT
Received: from mailgate.eur.nl by pixar.com with SMTP id AA09383
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Thu, 12 Oct 1995 05:26:44 -0700
Received: from hp750.fgg.eur.nl by mailgate.eur.nl (4.1/SMI-4.1)
	id AA10130; Thu, 12 Oct 95 13:27:02 +0100
Message-Id: <9510121227.AA10130@mailgate.eur.nl>
Received: by hp750.fgg.eur.nl
	(1.38.193.4/16.2) id AA17851; Thu, 12 Oct 1995 13:30:49 +0100
From: Erick Branderhorst <branderhorst@fgg.eur.nl>
Subject: dpkg-split + 200 header bytes
To: debian-bugs@pixar.com
Date: Thu, 12 Oct 95 13:30:49 MET
Mailer: Elm [revision: 70.85]


Package: dpkg
Version: 1.0.4

1    Kb = 1024    bytes
1440 Kb = 1474560 bytes
however dpkg-split thinks that 
1440 Kb = 1474760 bytes -> 200 free bytes (header bytes?)

# dpkg-split -S 1440 -s emacs-19.29-4.deb
                ~~~~
Splitting package emacs into 4 parts: 1 2 3 4 done
# ls -l
total 9379
-rw-r--r--   1 root     root      1474760 Oct 12 15:07 emacs-19.29-4.1of4.deb
-rw-r--r--   1 root     root      1474760 Oct 12 15:07 emacs-19.29-4.2of4.deb
-rw-r--r--   1 root     root      1474760 Oct 12 15:07 emacs-19.29-4.3of4.deb
-rw-r--r--   1 root     root       353326 Oct 12 15:07 emacs-19.29-4.4of4.deb
-rw-r--r--   1 root     root      4776805 Oct 12 14:26 emacs-19.29-4.deb

Suggestion: optionally 8.3 named parts for easy transfer on 8.3 disks:
emacs1.deb, emacs2.deb, etc, or emacs.de1, emacs.de2, etc.?











--
Erick Branderhorst@heel.fgg.eur.nl 00++10-46351542
Department of General Surgery (Intensive Care) University Hospital Rotterdam NL

Acknowledgement sent to Erick Branderhorst <branderhorst@fgg.eur.nl>:
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1649; Package dpkg. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov