What's best way to copy a filesystem? [was: Re: slight emergency here...]

Gary Kline kline at tao.thought.org
Sun Oct 28 16:02:01 PDT 2007

On Sun, Oct 28, 2007 at 01:54:54PM -0800, Gary Kline wrote:
> 	Guys,
> 	I think I've found the reason for the intermittent rashes.
> 	Part of /var is bad, and fsck cannot allocate inoinfo to repair
> 	the damage.
> 	At any rate, how do i as root, single user, cp -rp all of /var to
> 	elsewhere (/storage) and rmdir /var, them mkdir /var and copy
> 	everything back?? I've forgotten the cpio magic command. 
	The nutshelll of this posting could be: What's the best tool 
	to copy a /FILESYSTEM to /storage/FILESYSTEM?

  Gary Kline  kline at thought.org   www.thought.org  Public Service Unix
      http://jottings.thought.org   http://transfinite.thought.org

More information about the freebsd-questions mailing list