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

2013-12-07 Thread Richard Melville

  Date: Fri, 06 Dec 2013 11:35:35 +0100
  From: Pierre Labastie pierre.labas...@neuf.fr
  To: BLFS Support List blfs-support@linuxfromscratch.org
  Subject: Re: [blfs-support] du on / produces errors from /proc
 
  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.
 


  - and/or use the '-x' flag if it's really just the '/' partition that you
 want info for.


 If you're wanting info on the full filesys tree, then perhaps something
 like
 'df [-a] -hP --total'; as for 'du', there are various command-line options
 to
 adjust the format to suit what you want.



 akh


Thanks for the help, and to Pierre for the (as always) knowledgeable and
detailed explanation.  What I love about this list is that there's no end
to the learning.

Richard
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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

2013-12-06 Thread Richard Melville

 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
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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

2013-12-06 Thread Pierre Labastie
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

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2013-12-06 Thread akhiezer
 Date: Fri, 06 Dec 2013 11:35:35 +0100
 From: Pierre Labastie pierre.labas...@neuf.fr
 To: BLFS Support List blfs-support@linuxfromscratch.org
 Subject: Re: [blfs-support] du on / produces errors from /proc

 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.



 - and/or use the '-x' flag if it's really just the '/' partition that you 
want info for.


If you're wanting info on the full filesys tree, then perhaps something like 
'df [-a] -hP --total'; as for 'du', there are various command-line options to 
adjust the format to suit what you want.



akh





--
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


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

2013-12-05 Thread Richard Melville
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

Can they be ignored? I don't appear to have a problem.

Richard
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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

2013-12-05 Thread Pierre Labastie
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

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page