🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

10 total messages Started by David Rowley Fri, 24 Jul 1992 23:39
Your chance to contribute to new POSIX archive format
#6
Author: David Rowley
Date: Fri, 24 Jul 1992 23:39
164 lines
6508 bytes
Submitted-by: david@mks.com (David Rowley)

Here is your chance to enlighten and improve the world.  Help us to
create and standardize the best archive format in the known universe,
and maybe even get your name in a future IEEE Standard.

The IEEE POSIX.2 working group is currently undertaking an effort to
create a new PAX archive format to support the additional file
information that historical utilities such as tar and cpio cannot
represent.

We intend to make this a 3rd archive format for the PAX utility, which
currently provides an interface to the tar and cpio formats.

The group is working with ISO 1001 as a starting point, trying to retain
full compatibility with that format, while extending it as required.
ISO 1001 is a tape-based record-oriented format, historically used by
large systems to store data on 9-track tape.  It is an ASCII,
80-character per record based format, allowing data portions to be
arbitrary data, and of arbitrary length.  The compatibility with older
environments, the fact that it is a well-recognized format that many
installations and engineers have familiarity with along with the
format's extensibility were the reasons for the group initially choosing
this format.

While some work has been done on this format, the group is by no means
unanimously sold on the suitability of ISO 1001 format.  It is large,
contains wasted space due to the fixed-length header and volume records,
discusses media-specific notions such as tape marks (although these are
not used in the proposed PAX format), and has been around since the
early fixed-length record-based days of computing.

In order to make sure we are not overlooking something better, we are
soliciting alternate proposals for this archive format.  The following
requirements should be addressed:

	- Support for >32 bit systems

	- Be extensible, to allow for future support of security information,
	  contiguous files, system management information, special files,
	  larger field sizes for dates, times, file lengths, etc.

	- Support portability of file, user, group names and other
	  file information across machines of differing codesets and/or
	  locales (i.e. it should work on ASCII, EBCDIC, ISO 10646 and
	  Shift-JIS systems alike).

	- The archive must be able to be stored on as many media types
	  as possible, including but not limited to 9-track and streaming 
	  tape, diskette, CDROM, ftp files, etc.

Non-Goals:

	The following are *not* goals of this format, but requests to
	increase the scope of this effort will be entertained to include
	items of interest.

		- Encryption of individual files in the archive

		- Compression of individual files in the archive

		- Translation of file contents between differing
		  codesets (i.e. format only needs to handle translation
		  of file *names*, etc)

		- Storage of filesystem specific information (such as inodes)

		- Direct mailability of the archive file (without translation,
		  such as through uuencode)

NOTE:  PLEASE READ THE FOLLOWING REQUIREMENTS FROM THE   I  E  E  E

	In order for the working group to consider a proposal, IEEE must
	have full rights to freely copy, reproduce and otherwise make use
	of, the written and intellectual contents of the proposal.  IEEE
	must then, if the proposal is adopted, be able to copyright the
	work as part of an approved standard.  So, if you want to retain
	*any* exclusive rights to the format, don't submit it!

	While we would like to see as many proposals as possible, the
	IEEE and the POSIX.2 working group make no commitments to
	support any or all of the proposals offered.

	(This legalese courtesy of an overly litigious society)

Format of Proposals:

	Please include the following in your proposal:

		- Your name and contact information (e-mail if possible)

		- The intellectual property status of the proposal and
		  the format described in the proposal

		- Technical information on the format, including
		  definition of terms, data formats, etc.

		- A description of how the proposed format could be
		  extended to handle new, and as yet unknown, file
		  types, etc.

		- Comments on experience with the format, including
		  strong points, weaknesses, etc.

		- A brief description of the history of the format and
		  current users.

		- Any known comparison between the suitability of the
		  proposed format and ISO 1001

While comments on the suitability of the ISO 1001 format will be
welcomed, we would much prefer constructive proposals of alternate
formats.

Timeframe:

	While the process of standardizing the format will take a fair
	bit of time (likely finished by Fall '93, early '94), the sooner
	the proposal is received, the sooner it will sway the collective
	opinion of the working group.   So hurry, send now, send often.
	All proposals received in time for the October POSIX meeting
	(see below) will be considered at that meeting.

Please send all comments, questions and of course, proposals, to 

		David Rowley
		MKS, Inc.
		35 King St. North
		Waterloo, Ontario
		CANADA
		N2P 2W9 
		david@mks.com
		Tel: 519 884-2251
		Fax: 519 884-8861
or
		Mark Brown
		IBM
		11400 Burnet Rd.
		Austin, Texas 78758
		Mailstop: 9582
		mbrown@testsys.austin.ibm.com
		Tel: 512 838-3926

Other/additional ways of participating:

	Join the POSIX.2 Working Group!  Come out to POSIX meetings and
	contribute your insight and knowledge.  The next meeting will
	be held in Utrecht, The Netherlands on October 19-23.  POSIX.2
	will be meeting on October 22nd and 23rd.  (Most POSIX meetings
	are held in the US).  For more information, please contact:

		Secretary
		IEEE Standards Board
		445 Joes Lane, PO Box 1331
		Piscataway, NJ
		08855-1331

-- 
David Rowley
Mortice Kern Systems Inc.
35 King Street North, Waterloo, ON, Canada N2J 2W9
519/884-2251, FAX 519/884-8861, david@mks.com

Volume-Number: Volume 28, Number 59
Re: Your chance to contribute to new POSIX archive format
#7
Author: Christophe Wolfhugel
Date: Sat, 25 Jul 1992 20:52
23 lines
1407 bytes
Submitted-by: Christophe.Wolfhugel@univ-lyon1.fr (Christophe Wolfhugel)

david@mks.com (David Rowley) writing about PAX:
> larger field sizes for dates, times, file lengths, etc.

And also, something that nor tar nor cpio have: large file names.

The current limit of around 100-128 characters for the filename
is catastrophic. Simply too short!

Also I guess users would appreciate: the ability to archive
in absolute format and restore in relative. Not all users do
relative archives. And one knows how dangerous an absolute
archive can be. Even when I get a tape from the oustide I prefer
being able to restore it in relative mode, without having to
check before it all files on the archive are or not absolute.

-- 
Christophe Wolfhugel    |    Email: Christophe.Wolfhugel@univ-lyon1.fr
   "No keybord, press F1 to continue"


Volume-Number: Volume 28, Number 60
Re: Your chance to contribute to new POSIX archive format
#8
Author: Henry Spencer
Date: Sun, 26 Jul 1992 01:21
21 lines
1359 bytes
Submitted-by: henry@zoo.toronto.edu (Henry Spencer)

>Submitted-by: Christophe.Wolfhugel@univ-lyon1.fr (Christophe Wolfhugel)
>The current limit of around 100-128 characters for the filename
>is catastrophic. Simply too short!

Actually, the 1003.1 tar format accommodates 255.  Still a bit tight
for some people.

>Also I guess users would appreciate: the ability to archive
>in absolute format and restore in relative...

This is really a user-interface issue, not a format issue.  There's no
reason why tar couldn't have had some sort of renaming facility from
the start (and we certainly are long overdue to have it added).
-- 
There is nothing wrong with making      | Henry Spencer @ U of Toronto Zoology
mistakes, but... make *new* ones. -D.Sim|  henry@zoo.toronto.edu  utzoo!henry


Volume-Number: Volume 28, Number 61
Re: Your chance to contribute to new POSIX archive format
#10
Author: David J. MacKenzie
Date: Sun, 26 Jul 1992 01:22
25 lines
1659 bytes
Submitted-by: djm@eng.umd.edu (David J. MacKenzie)

   And also, something that nor tar nor cpio have: large file names.

   The current limit of around 100-128 characters for the filename
   is catastrophic. Simply too short!

POSIX.1 cpio format has no limit on the length of pathnames, although
some existing implementations may place artificial limits on the
length.  POSIX.1 tar format has a limit of 100 to 256 bytes, depending
on where slashes are located in the path.

   Also I guess users would appreciate: the ability to archive
   in absolute format and restore in relative. Not all users do
   relative archives. And one knows how dangerous an absolute
   archive can be. Even when I get a tape from the oustide I prefer
   being able to restore it in relative mode, without having to
   check before it all files on the archive are or not absolute.

As GNU tar has demonstrated, the handling of leading slashes in
pathnames is independent of the archive format.  It's a trivial bit or
two of code in the archiving program that can be used with any format.


Volume-Number: Volume 28, Number 62
Re: Your chance to contribute to new POSIX archive format
#11
Author: David Rowley
Date: Sun, 26 Jul 1992 20:50
22 lines
1008 bytes
Submitted-by: david@mks.com (David Rowley)

Actually, if you want more info on joining POSIX working groups, etc
contact:

	Lisa Granoien
	IEEE Computer Society
	1730 Massachusetts Ave NW
	Washington, DC 20036-1903
	(202) 371-0101
	FAX: (202) 728-9614

David.

-- 
David Rowley
Mortice Kern Systems Inc.
35 King Street North, Waterloo, ON, Canada N2J 2W9
519/884-2251, FAX 519/884-8861, david@mks.com


Volume-Number: Volume 28, Number 63
Re: Your chance to contribute to new POSIX archive format
#12
Author: Peter da Silva
Date: Tue, 28 Jul 1992 05:15
102 lines
3835 bytes
Submitted-by: peter@ferranti.com (Peter da Silva)

I'm not familiar with the ISO1001 format, but I would like to suggest a textual
self-documenting format, like RFC822. You don't need to put the actual field
names in every file header if you establish a property file at the beginning of
the archive. For example:

	FieldCodeset: ASCII
	FieldSeparator: <0A>

[ these two would be required for the initial header, and need to be in an
  agreed on language. ]

	HeaderLength: 96
	BodyLength: 0
	Common: HeaderLength,BodyLength,FileName,ModificationTime,Owner

[ This establishes the common fields until the next Common field ]

	2746
	13995
	usr/local/src/pax/Makefile
	19920723.194516.0001
	peter

[ These are the header length, body length, filename, etcetera for the first
  file ]

	FileComment: Remember to edit this for local architecture[...]

[ This is a part of the file system on the originating system. Would probably
  end up in usr/local/src/pax/.Unresolved/Makefile on UNIX ]

	#!/bin/make
	[...]

This should require a minimal amount of additional space, and would be
indefinitely extensible. Older versions of the archive program could
discard unknown headers, or stick them in a file somewhere for later
messing around with. It should also be relatively easy to treat as a fixed
record length format.

> 	- Support for >32 bit systems

Inherent.

> 	- Be extensible, to allow for future support of security information,
> 	  contiguous files, system management information, special files,
> 	  larger field sizes for dates, times, file lengths, etc.

Inherent.

> 	- Support portability of file, user, group names and other
> 	  file information across machines of differing codesets and/or
> 	  locales (i.e. it should work on ASCII, EBCDIC, ISO 10646 and
> 	  Shift-JIS systems alike).

With the caveat that a standard character set be used for the first two fields.

> 	- The archive must be able to be stored on as many media types
> 	  as possible, including but not limited to 9-track and streaming 
> 	  tape, diskette, CDROM, ftp files, etc.

Inherent.

> 		- Encryption of individual files in the archive

Simple extension: new file header.

> 		- Compression of individual files in the archive

Ditto.

> 		- Translation of file contents between differing
> 		  codesets (i.e. format only needs to handle translation
> 		  of file *names*, etc)

Ditto. ( add Body-Type )

> 		- Storage of filesystem specific information (such as inodes)

Ditto.

> 		- Direct mailability of the archive file (without translation,
> 		  such as through uuencode)

Probably ditto, assuming no magic in the bodies or lines that are too long
for mail.

This is obviously not a complete proposal. I would appreciate feedback and
suggestions, and if they seem positive I'll go ahead and write a real proposal
up. The intellectual property status and usage of RFC822 is presumably not
going to be a problem.

-- 
Peter da Silva                                               `-_-'
$ EDIT/TECO LOVE                                              'U` 
%TECO-W-OLDJOKE Not war?                        Have you hugged your wolf today?
Ferranti Intl. Ctls. Corp.      Sugar Land, TX  77487-5012       +1 713 274 5180


Volume-Number: Volume 28, Number 64
Re: Your chance to contribute to new POSIX archive format
#14
Author: Leslie Mikesell
Date: Wed, 29 Jul 1992 07:28
79 lines
4006 bytes
Submitted-by: les@chinet.chi.il.us (Leslie Mikesell)

In article <152l4tINNist@ftp.UU.NET> peter@ferranti.com (Peter da Silva) writes:
>Submitted-by: peter@ferranti.com (Peter da Silva)

>I'm not familiar with the ISO1001 format, but I would like to suggest a textual
>self-documenting format, like RFC822. You don't need to put the actual field
>names in every file header if you establish a property file at the beginning of
>the archive. For example:
>	FieldCodeset: ASCII
>	FieldSeparator: <0A>
>[ these two would be required for the initial header, and need to be in an
>  agreed on language. ]

What's a field?  And why so verbose in something that will only be
parsed by programs or people who better know what they are doing?
How about short abbreviations for the common header items?

>	HeaderLength: 96
>	BodyLength: 0
>	Common: HeaderLength,BodyLength,FileName,ModificationTime,Owner
>[ This establishes the common fields until the next Common field ]
>	2746
>	13995
>	usr/local/src/pax/Makefile
>	19920723.194516.0001
>	peter
>[ These are the header length, body length, filename, etcetera for the first
>  file ]

What's the advantage of this over explicit token/value pairs for each header
item?  If you don't repeat the token for each item, how will you recover
from errors where the initial description is lost?  

I agree with the concept though.  We should only need one format for
encapsulating any attributes that any OS might need to carry around
if it is done with header records that can be added as necessary.
Textual components can be noted as such for conversion as necessary
to extract on any other system.  Other data types can be identified
to the extent possible and the type of encoding/encryption/compression
can be noted per-item.  Using a mailable encoding should produce a
mailable archive (i.e. the header fields should be textual). 

>This should require a minimal amount of additional space, and would be
>indefinitely extensible. Older versions of the archive program could
>discard unknown headers, or stick them in a file somewhere for later
>messing around with.

Not only older versions will have to deal with this but versions under
different OS's that don't have the same storage concepts. 

>> 	- The archive must be able to be stored on as many media types
>> 	  as possible, including but not limited to 9-track and streaming 
>> 	  tape, diskette, CDROM, ftp files, etc.

One thing that is needed here is to be able to generate multi-part
archives, possibly spliting files across media, with the ability
to extract files from any single part directly.   

>> 		- Compression of individual files in the archive

Yes, and the compression should restart as you go to new media to allow
the above splitting to work, or the header should note that the file
can only be extracted as a continuation.

>> 		- Direct mailability of the archive file (without translation,
>> 		  such as through uuencode)

This should be a possibility by using an appropriate encoding but not
enforced for backup media.   For backup purposes the archiver should
be able to note the current contents of directories and which of those
items are included in the archive (like GNU tar with the -G option).
This allows restoring incremental backups without accumulating the
files that were deleted between the runs.

Les Mikesell
  les@chinet.chi.il.us

Volume-Number: Volume 28, Number 65
Re: Your chance to contribute to new POSIX archive format
#15
Author: Henry Spencer
Date: Wed, 29 Jul 1992 22:15
18 lines
1363 bytes
Submitted-by: henry@zoo.toronto.edu (Henry Spencer)

>Submitted-by: les@chinet.chi.il.us (Leslie Mikesell)
>[822 as archive format]... Other data types can be identified
>to the extent possible and the type of encoding/encryption/compression
>can be noted per-item...
>One thing that is needed here is to be able to generate multi-part
>archives, possibly spliting files across media...

One thing that disturbs me about this suggestion is that the participants
don't seem to be aware of RFC 1341, which extends RFC 822 in a number of
ways that are relevant to this discussion.  RFC 1342 is also noteworthy.
-- 
There is nothing wrong with making      | Henry Spencer @ U of Toronto Zoology
mistakes, but... make *new* ones. -D.Sim|  henry@zoo.toronto.edu  utzoo!henry


Volume-Number: Volume 28, Number 66
Re: Your chance to contribute to new POSIX archive format
#18
Author: Peter da Silva
Date: Fri, 31 Jul 1992 06:32
97 lines
4208 bytes
Submitted-by: peter@ferranti.com (Peter da Silva)

In article <155ha9INNlrq@ftp.UU.NET> les@chinet.chi.il.us (Leslie Mikesell) writes:
> What's a field?

A "line", "entry", ... (shut up, Data).

Also, someone noted in Email that a third entry for block size (so you could
pad the headers and data blocks for easy DMA-ing if you wanted to) would be
desirable.

> And why so verbose in something that will only be
> parsed by programs or people who better know what they are doing?

Good point. The final form would obviously want to be shorter. I wouldn't
want to fix the size of tags or anything, or make them unintelligable.
With the "common" headers the size of tags is pretty unimportant.

Another comment in Email was that the "common" fields should be delimited
and left as prefixes, so you could so something like:

	Common:@FileName:/usr/peter/tosave@

And leave off common sections of filenames and things.

> >[ These are the header length, body length, filename, etcetera for the first
> >  file ]

> What's the advantage of this over explicit token/value pairs for each header
> item?

Space saving.

> If you don't repeat the token for each item, how will you recover
> from errors where the initial description is lost?  

Good point. You could periodically repeat the common description, perhaps,
or if you're really unsure about the media just leave it off altogether. Or
you could try and figure it out from context... one of the points to this
format is that you would have a reasonable chance of doing that.

> >This should require a minimal amount of additional space, and would be
> >indefinitely extensible. Older versions of the archive program could
> >discard unknown headers, or stick them in a file somewhere for later
> >messing around with.

> Not only older versions will have to deal with this but versions under
> different OS's that don't have the same storage concepts. 

Yes, I think I referenced that in my example with the FileComment field.
Shoudl definitely be made explicit, though.

> 
> >> 	- The archive must be able to be stored on as many media types
> >> 	  as possible, including but not limited to 9-track and streaming 
> >> 	  tape, diskette, CDROM, ftp files, etc.
> 
> One thing that is needed here is to be able to generate multi-part
> archives, possibly spliting files across media, with the ability
> to extract files from any single part directly.   

That's a good point. How about this:

	FileName: /usr/lib/news/history
	Segment: 2/6
	Offset: 10485532

> Yes, and the compression should restart as you go to new media to allow
> the above splitting to work, or the header should note that the file
> can only be extracted as a continuation.

Good.

> This should be a possibility by using an appropriate encoding but not
> enforced for backup media. 

This could be a compression option:

	Compression: UUENCODE

(expansion, really. :->) If it offends, leave it implicit.

> For backup purposes the archiver should
> be able to note the current contents of directories and which of those
> items are included in the archive (like GNU tar with the -G option).
> This allows restoring incremental backups without accumulating the
> files that were deleted between the runs.

Good.
-- 
Peter da Silva                                               `-_-'
$ EDIT/TECO LOVE                                              'U` 
%TECO-W-OLDJOKE Not war?                        Have you hugged your wolf today?
Ferranti Intl. Ctls. Corp.      Sugar Land, TX  77487-5012       +1 713 274 5180


Volume-Number: Volume 28, Number 69
Re: Your chance to contribute to new POSIX archive format
#9
Author: Bart Bartholomew
Date: Mon, 03 Aug 1992 23:32
32 lines
1991 bytes
Submitted-by: hcbarth@afterlife.uucp (Bart Bartholomew)

	I once used a system that had disk sectors as the
basic storage unit.  Obviously not Unix.  At the end of each
record (sector) on the backup medium, there were a few extra
pieces of information:
	64-bit checksum (Not mod2 add, a rather more complex
			calculation.)
	current filename
	current recordnumber of filename
	number of records in filename
	Administrative trivia, like owner, etc.
The unusual point here is the explicit support for multi-volume
archives.  In particular, you could split a file over two tapes,
*restore from tape 2 first* (it was sometimes convenient), and
then from tape1.  The numrec of numberofrecs information came
in handy many many times.  In fact, sometimes we would have
two drives going at the same tim during restore, and properly
reconstruct the files.  On a full restore, we had eight drives
going simultaneously at full speed.  A nice part of the system
was that we could reconstruct the directories starting at any
tape in the set.  If lables got lost, no big deal.
	Clearly, support for multiple volumes is needed.
	Bart
-- 
"It's not the thing you fling, the fling's the thing." - Chris Stevens
 If there's one thing I just can't stand, it's intolerance.
*No One* is responsible for my views, I'm a committee. Please do not
infer that which I do not imply.  hcbarth@afterlife.ncsc.mil


Volume-Number: Volume 28, Number 74
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads