Greetings;

It turns out some of my backups for this machine will not be usable, 
particularly for a bare metal recovery on a new drive, due to a miss-
understanding of the --one-filesystem option by tar-1.27, and 1.27.1 does 
not fix it.

The problem is that this system is currently installed with two 
partitions, 3 actually if you count swap space.

They are /boot, and /

So tar refuses to back up a softlink that points to a directory/file  that 
is in a different dir than the current disklist entry points to, EVEN 
THOUGH IT IS IN FACT on the same filesystem.

The config I've been using for a decade and change uses that option 
command.  Will removing it (--one-filesystem) from my config fix this 
missing links in the backup problem?  Or will that result in its making a 
duplicate backup file of what is at the end of that softlink?

IMNSHO, when tar encounters such a link, instead of making a backup of 
that file at the end of the link, it should backup the contents of the 
links text so that an amrecovery will re-create the link file.

It is not doing that either, so how do, or can, I force tar to do that and 
result in a fully usable backup?

This does not seem to me to be a violation of the one filesystem command, 
making sense ONLY if the link is to a different partition, which could be 
a different filesystem, which this present situation is most certainly 
not.  Different directory yes, different filesystem, no.

Thanks.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

Reply via email to