Mailinglist Archive: opensuse (4053 mails)

< Previous Next >
Re: [SLE] How to make exact HD copy in Linux
  • From: Alexandr Malusek <Alexandr.Malusek@xxxxxxxxxx>
  • Date: 08 Aug 2001 00:42:32 +0200
  • Message-id: <86ofprjxuv.fsf@xxxxxxxxxxxxxxxxxxxxx>
"Ivan Gustin" <ivan.gustin@xxxxxxxxx> writes:

> > > Could somebody tell me please how to make exact copy (mirror) of my hard
> > > drive.
> > For the ext2 file system, you may also consider dump/restore since
> > they preserve holes and ext2 file attributes. tar and cpio don't
> > preserve them.
>
> But tar with 'p' option preserves file permisions?

It's true, but there are also the ext2-file-system-specific file
attributes, see "man lsattr". tar, cpio, cp, ... don't copy them while
"dd" and dump/restore do.

--
Alexandr.Malusek@xxxxxxxxxx

< Previous Next >