From owner-freebsd-bugs Fri Mar 30 10:51: 1 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id BD9CE37B71A for ; Fri, 30 Mar 2001 10:50:55 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f2UIo1P20990; Fri, 30 Mar 2001 20:50:01 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Vladimir Tchoukharev Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/25620: tar does not handle existing large minor numbers In-Reply-To: Your message of "Fri, 30 Mar 2001 21:47:49 +0300." <3AC4D4D4.7AE91C71@h33.erkki.ton.tut.fi> Date: Fri, 30 Mar 2001 20:50:01 +0200 Message-ID: <20988.985978201@critter> From: Poul-Henning Kamp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Send a patch :-) In message <3AC4D4D4.7AE91C71@h33.erkki.ton.tut.fi>, Vladimir Tchoukharev write s: >Poul-Henning Kamp wrote: >> >> done. > >Sorry for rising this again. I found in CVS the following: > > >CVS log for src/gnu/usr.bin/tar/create.c >... >Support 21-bit minor numbers. Avoid wasting a byte in their octal >representation by generating the same format as tar-1.13 (use a single >space as the terminator for 7-digit octal numbers). This is POSIX.1 >conformant (2-byte terminators are just a bug or historical wart in >old versions of gnu tar). All devices created by `MAKEDEV all' except >rsa0.ctl can now be handled by tar(1). > > >Perhaps this 21-bit size should be indicated too? > >Best regards, >V. Tchoukharev > >> In message <3AC23B44.18AA6956@h33.erkki.ton.tut.fi>, Vladimir Tchoukharev write >> s: >> >phk@FreeBSD.org wrote: >> >> >> >> Synopsis: tar does not handle existing large minor numbers >> >> >> >> State-Changed-From-To: open->closed >> >> State-Changed-By: phk >> >> State-Changed-When: Wed Mar 28 09:44:37 PST 2001 >> >> State-Changed-Why: >> >> You are right, as it says: it doesn't. >> >> >> >> The tar format is a semi fixed width field format, and the field >> >> for device numbers were designed for 16 bit (8 major, 8 minor) >> >> and can not absorb our 32 bit (8 major, 16+8 minor) numbers. >> >> >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=25620 >> > >> >OK, thanks for clearification. What about adding these same words to >> >the man page, section "Bugs"? >> > >> >Best regards, >> >V. Tchoukharev >> > >> >> -- >> Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 >> phk@FreeBSD.ORG | TCP/IP since RFC 956 >> FreeBSD committer | BSD since 4.3-tahoe >> Never attribute to malice what can adequately be explained by incompetence. > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-bugs" in the body of the message > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message