> > begin  steve rader <[EMAIL PROTECTED]> spewed forth:
 > > Here's another reason to avoid dd'ing whole partitions: since
 > > it copies the actual file system, it forces the destination
 > > file system to be exactly the same size as the source.
 > > 
 > > In other words, if you dd a 2 gig file system into a 4 gig
 > > partition then you end up with a 2 gig file system (and thus
 > > 2 gig of disk space "disappears!")
 > > 
 > > I now think Roger Oberholtzer is right: 
 > > 
 > >  cd source; find . -depth -print0 | cpio --null -pvd destination 
 > > 
 > > appears to be the best choice for copying directory trees and
 > > file systems.
 
 > From: "David A. Bandel"
 > you'll want to avoid copying /proc and probably even /tmp.  Look around
 > because there might be others you won't want to copy.  Just be sure to
 > exclude them.

Why??  My install script does clean out /tmp and
/var/tmp and truncates logs.  But isn't /proc all
ephemeral (built at boot and beyond?)

steve
- - -

_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to