tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Bob Parkinson <rwplists () omni ! ac ! uk>
To: tru64-unix-managers
Subject: SUMMARY: moving installation with many sparse files.
Date: Thu, 18 Jun 1998 16:21:42 +0000	[thread overview]
Message-ID: <96078712011737.tru64-unix-managers.marc@archive.invalid> (raw)

Thanks for the quick response.

gnutar does the biz., thus:

gtar -C /roads -Scf - . | gtar -Sxf -

Replies below thanks all.



From: "Alan Rollow - Dr. File System's Home for Wayward Inodes."

If coming from an Advanced File System, vdump might be able to
preserve the holes.  For UFS, if you can move the whole file
system and then trim out the parts you don't need, dump will
preserve holes.  While dd(1) has an option to try, it may not
preserve the holes exactly.  The conv=sparse option assumes
that any string of NULs can be turned into a hole if large
enough.
----
From: Harry Edmon

GNU tar with the -S option will properly save and restore sparse files.
----
From: Sean O'Connell

I think that vdump will handle sparse files by default ??? However,
it looks like gnutar might handle it for you:

`--sparse'
`-S'
     Invokes a GNU extension when adding files to an archive that
     handles sparse files efficiently.  .

Sean
-- 
From: Jon Eidson

Try GNUTAR ... I think it is on the freeware cd you received w/your DU
installation kit.  It contains a "--sparse" option to handle sparse
files "efficiently".  While I personally have not verified this it seems
logical this may work.

                 reply	other threads:[~1998-06-18 16:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox