Helmut Waitzmann <[EMAIL PROTECTED]> wrote:

> Ralph Corderoy <[EMAIL PROTECTED]> writes:
>
> >tar -V something -cf bar.tar dummyfile
>
> >And is there any way to create a tar file with nothing but the volume
> >label, i.e. remove the need for dummyfile above?
>
> You could give
>
> $ tar -V something -cf bar.tar --files-from=/dev/null

Be careful, a conforming writes 2 zeroed 512 byte blocks at the end.
Even if a tar implementation does not open the file with O_TRUNC, 
this will kill some blocks in the middle of the old
archive

J�rg

-- 
 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]        (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar

Reply via email to