Subject: Re: toolchain/33924: feature request: makefs(8) should output blocks used by each file
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Luke Mewburn <lukem@NetBSD.org>
List: netbsd-bugs
Date: 07/05/2006 23:10:02
The following reply was made to PR toolchain/33924; it has been noted by GNATS.
From: Luke Mewburn <lukem@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: toolchain-manager@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: toolchain/33924: feature request: makefs(8) should output blocks used by each file
Date: Thu, 6 Jul 2006 09:04:56 +1000
--UnaWdueM1EBWVRzC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Jul 05, 2006 at 10:20:00PM +0000, tg@mirbsd.org wrote:
| If a file is split across several filesystem blocks,
| say, blocks 8, 9 and 11, and we assume a fs block is
| 4096 bytes (8 sectors), the file then occupies the
| sectors 64-71, 72-79, and 88-95. The optimal output
| format would have them already concatenated, so it
| would look like this:
|=20
| path/to/ourfile X 64 79 88 95
|=20
| The 'X' here is some kind of separator, in case the
| filenames contain spaces. It should be user-selectable.
| (Or do you guys have a better idea?)
You could just use a space separator, and use the vis(3)
encoding already used by the mtree format for the filename.
(This format is used by the "-F specfile" makefs option)
--UnaWdueM1EBWVRzC
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iD8DBQFErEWYpBhtmn8zJHIRAvz1AJ94mpy7hCmbMhXJUO+aJsjDGMq0JQCeKG7L
wE6kUPSAOg4m49oRK8FbDC4=
=zxsI
-----END PGP SIGNATURE-----
--UnaWdueM1EBWVRzC--