Mailinglist Archive: opensuse (794 mails)

< Previous Next >
[opensuse] Tar Read volume label only
Hi,

Might be a simple one. I have a tape with no sticky label and I want to read the volume label which was set with --label="volumelabel" when the archive was written

I could do tar -tvf /dev/st0 to get the table of contents which has the volume label at the top.

e.g.

V--------- 0/0 0 yyyy-mm-dd 00:00 volumelabel--Volume Header--
files list here


But is there a way just to read ONLY the volume label with tar?

Thanks

Paul

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >