Re: Things to remove from /rescue

From: Peter Jeremy (PeterJeremy_at_optushome.com.au)
Date: 07/22/03

  • Next message: David O'Brien: "Re: Things to remove from /rescue"
    Date: Tue, 22 Jul 2003 20:11:42 +1000
    To: Mark Murray <mark@grondar.org>
    
    

    On Mon, Jul 21, 2003 at 08:52:03AM +0100, Mark Murray wrote:
    >Terry Lambert writes:
    >> David O'Brien wrote:
    >> > - tar, pax (w/{bz,g}zip) can do everything GNU tar can.
    >>
    >> I agree with everything but this one. Neither of these things can
    >> make sparse files.
    >
    >Incorrect. Both can.

    Not accurately. They can detect that a file is sparse by comparing
    the st_size and st_blocks fields returned by stat(). They can't
    accurately differentiate between a block of NULs and a non-allocated
    block in a sparse file. AFAIK, the only utility that can exactly
    reproduce a sparse file is dump/restore.

    Peter
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: David O'Brien: "Re: Things to remove from /rescue"