Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 1997 02:34:18 -0800 (PST)
From:      "David E. O'Brien" <obrien>
To:        CVS-committers, cvs-all, cvs-user
Subject:   cvs commit:  src/contrib/cpio copyout.c
Message-ID:  <199703301034.CAA18938@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
obrien      97/03/30 02:34:17

  Modified:    contrib/cpio  copyout.c
  Log:
  Output a zero rdev except for bdevs, cdevs, fifos and sockets.  This
  stops regular files with unrepresentable rdevs from being rejected
  and makes the output independent of unpreservable metadata.
  
  Don't output a file if the major, minor or totality of its rdev would be
  truncated.  Print a message about the skipped files to stderr but don't
  report the error in the exit status.  cpio's abysmal error handling doesn't
  allow continuing after an error, and the rdev checks had to be misplaced
  to avoid the problem of returning an error code from routines that return
  void.
  
  Minor numbers are limited to 21 bits in pax's ustar format and to 18
  bits in archives created by gnu tar (gnu tar wastes 3 bits for padding).
  pax's and cpio's ustar format is incompatible with gnu tar's ustar
  format for other reasons (see cpio/README).
  
  Submitted by:	bde via old gnu/usr.bin/cpio v2.3.
  
  Revision  Changes    Path
  1.2       +140 -2    src/contrib/cpio/copyout.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703301034.CAA18938>