[blfs-support] du on / produces errors from /proc

Pierre Labastie pierre.labastie at neuf.fr
Fri Dec 6 02:35:35 PST 2013


Le 06/12/2013 10:56, Richard Melville a écrit :
>
>     Le 05/12/2013 18:18, Richard Melville a ?crit :
>     > Does anybody know what causes the following:-
>     >
>     > du: cannot access '/proc/602/task/602/fd/4': No such file or
>     directory
>     > du: cannot access '/proc/602/task/602/fdinfo/4': No such file or
>     directory
>     > du: cannot access '/proc/602/fd/4': No such file or directory
>     > du: cannot access '/proc/602/fdinfo/4': No such file or directory
>     >
>     >
>     What were you doing? Building some package? What is the command which
>     generated that output?
>
>     Regards
>     Pierre
>
>
> I was just checking disk space with du -sh / as root.  That was the 
> only output apart from the requested disk space.
>
> Richard
>
>
/proc/602 is a system directory associated to the process number 602. I 
guess du first finds 602 inside proc when listing the directory /proc, 
then tries to open it. If 602 is a transcient process (that is it runs 
for a short time), it may happen that it has disappeared before the 
second time it is accessed.

You may add --exclude=/proc to the command linen but I think it is harmless.

Regards
Pierre




More information about the blfs-support mailing list