[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] The --remove-files switch interferes with hardlinking data
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-tar] The --remove-files switch interferes with hardlinking data |
Date: |
Fri, 18 Jun 2004 10:53:31 +0300 |
Christopher Neufeld <address@hidden> wrote:
> If "--remove-files" is supplied to tar, files which are hardlinked together
> are not recorded as such in the archive.
Of course they are not: when --remove-files is specified, the files are
removed right after being archived. Thus, in your second example, after
archiving `link1', link count of file `link2' is decremented to 1 and
it is archived as a regular file.
Regards,
Sergey