bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] what is the point of archiving /proc "files" if you can't


From: Joerg Schilling
Subject: Re: [Bug-tar] what is the point of archiving /proc "files" if you can't extract them later?
Date: Mon, 7 Nov 2016 12:13:20 +0100
User-agent: Heirloom mailx 12.5 7/5/10

??? Dan Jacobson <address@hidden> wrote:

> Tar can archive these /proc "files" just fine,
> but it can't extract them. It gets fooled by its storing a zero file size.

What you describe does not happen if you are using a real procfs.

This is however a well known implementation bug that exists in the Linux 
kernel where /proc only has a remote similarity with procfs.

On Linux, stat() indeed returns st_size == 0 for all files in /proc.

Jörg

-- 
 EMail:address@hidden                    (home) Jörg Schilling D-13353 Berlin
       address@hidden (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ 
http://sourceforge.net/projects/schilytools/files/'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]