samba4 tp4 tar ball broken (kind of...)

Björn JACKE bj at SerNet.DE
Mon Jun 18 17:21:34 GMT 2007


Hi,

trying to untar the samba4 tp4 tar ball on a AIX machine was 
impossible without installing GNU tar. The problem is that there are 
path names >= 100 characters and GNU tar by default uses it's own 
proprietary extension to allow this instead of using the pax or 
ustar tar format.

The result looks like this:
...
x samba-4.0.0tp4/webapps/qooxdoo-0.6.3-sdk/frontend/framework/source/resource/icon/crystalsvg/22/folde, 1499 bytes, 3 media blocks.
x ././@LongLink, 104 bytes, 1 media blocks.
x samba-4.0.0tp4/webapps/qooxdoo-0.6.3-sdk/frontend/framework/source/resource/icon/crystalsvg/22/redo., 739 bytes, 2 media blocks.
x ././@LongLink, 104 bytes, 1 media blocks.
x samba-4.0.0tp4/webapps/qooxdoo-0.6.3-sdk/frontend/framework/source/resource/icon/crystalsvg/22/misc., 1354 bytes, 3 media blocks.
x ././@LongLink, 105 bytes, 1 media blocks.
x samba-4.0.0tp4/webapps/qooxdoo-0.6.3-sdk/frontend/framework/source/resource/icon/crystalsvg/22/clock, 1650 bytes, 4 media blocks.
...
# ls samba-4.0.0tp4/webapps/qooxdoo-0.6.3-sdk/frontend/framework/source/resource/icon/crystalsvg/22/
alarm  bell.  char-  date.  edit.  exec.  folde  hardd  insta  mail-  mycom  print  searc  toys.  viewm
antiv  bookm  clock  decry  effec  exit.  font-  hardw  joyst  mime-  ok.pn  queue  servi  trash
appea  butto  confi  delet  email  favou  fonts  help.  keybo  misc.  outbo  redo.  setti  undo.
appoi  cache  conne  deskt  encry  file-  forma  histo  launc  modem  parti  reloa  stop.  up.pn
attac  camer  conte  down.  energ  flopp  funct  idea.  look-  movie  passw  run.p  table  vecto
babel  cdrom  contr  edit-  error  flowc  graph  inser  mac.p  multi  pengu  scann  text-  view-

Recent GNU tar implementations support long path names 
without using proprietary hacks by using the --format=pax or the 
--format=ustar switch. I think this should be used by default for 
making official Samba tar balls, what do you think?

Bjoern
-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen


More information about the samba-technical mailing list