[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Modifying Volume Label with tar.
From: |
Ralph Corderoy |
Subject: |
[Bug-tar] Modifying Volume Label with tar. |
Date: |
Wed, 18 May 2005 23:30:36 +0100 |
Hi,
After creating a tar file with a volume label, `tar -V everything -cf
foo.tar .', I can use --delete to remove items, e.g. to create a delta
against an earlier tar file, but how do I modify the volume label to
reflect the tar file no longer contains everything?
Doing `--delete -V something' doesn't work because tar takes that to
mean `check the existing volume label matches the one given'.
I can create a second tar file, `tar -V something -cf bar.tar
dummyfile', and then append foo.tar, with -A, to bar.tar but that
results in two volume labels. Does this matter or will tar only ever
think of a volume label that appears as the first item as the real one?
And is there any way to create a tar file with nothing but the volume
label, i.e. remove the need for dummyfile above?
Thanks,
Ralph.
- [Bug-tar] Modifying Volume Label with tar.,
Ralph Corderoy <=