Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
du: cannot access `/proc/1005/task/1005/fd/4': No such file or directory
du: cannot access `/proc/1005/task/1005/fdinfo/4': No such file or directory
du: cannot access `/proc/1005/fd/4': No such file or directory
du: cannot access `/proc/1005/fdinfo/4': No such file or directory
The question is why du is accessing a file or directory that does not exists?? I've seen in the web that several people have the same warnings, but I couldn't find a solution
How to think of it?? In Linux and Unix, one concept is that "everything is a file". That works to a point--ie there are some file-related commands that work with /proc (e.g. "more"). But the "virtual files" like proc are really just structures in memory, so they don't use the disk. Thus du is not going to work.