df not for subfs?

2007-12-01 Thread Günter

Hello,

I'm using df under Suse Linux 10.0

df --version
df (GNU coreutils) 5.3.0
Geschrieben von Torbjorn Granlund, David MacKenzie und Paul Eggert.

Copyright (C) 2005 Free Software Foundation, Inc.

and found, there is no correct values on USB-devices:

df -h -a -l -T -x proc |grep subfs
/dev/hdf1subfs0,0K  0,0K  0,0K   -  /media/zip
/dev/hdf4subfs0,0K  0,0K  0,0K   -  /media/zip_1
/dev/fd0 subfs0,0K  0,0K  0,0K   -  /media/floppy
/dev/sde1subfs0,0K  0,0K  0,0K   -  /media/HAUPTPLATTE

du -s /media/HAUPTPLATTE (after an ls /media/HAUPTPLATTE)

3,3G/media/HAUPTPLATTE

Is there a new version?

Greatings from Berlin, Germany

Günter


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: df not for subfs?

2007-12-01 Thread Bob Proulx
Günter wrote:
> ... there is no correct values on USB-devices:
> 
> df -h -a -l -T -x proc |grep subfs
> /dev/hdf1subfs0,0K  0,0K  0,0K   -  /media/zip
> /dev/hdf4subfs0,0K  0,0K  0,0K   -  /media/zip_1
> /dev/fd0 subfs0,0K  0,0K  0,0K   -  /media/floppy
> /dev/sde1subfs0,0K  0,0K  0,0K   -  /media/HAUPTPLATTE

It appears that something failed getting the file system values.  Try
debugging this using strace.  The following produces useful debug
output on my GNU/Linux system for usb storage devices.

  LC_ALL=C strace -v -e fstat64 df -l

Please run that, making whatever adjustments needed for your system,
and report the results back to the mailing list.  I suspect that the
system call is failing.  If so then this is a kernel issue since the
kernel implements the underlying interface to the usb storage media.

> Is there a new version?

> I'm using df under Suse Linux 10.0
> 
> df --version
> df (GNU coreutils) 5.3.0

That is quite an old version having been released on 2005-01-08.  The
current release is coreutils 6.9 from 2007-03-22.  See this release
annoucement for more information.

  http://lists.gnu.org/archive/html/coreutils-announce/2007-03/msg0.html

Details of obtaining the latest GNU coreutils are in the release
announcement.  Or since you are using a vendor supplied version you
might check with your vendor for updates and bug fixes.

Bob


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: df not for subfs?

2007-12-03 Thread Phillip Susi

Bob Proulx wrote:

It appears that something failed getting the file system values.  Try
debugging this using strace.  The following produces useful debug
output on my GNU/Linux system for usb storage devices.


Most likely that is the case as this subfs does not appear to have been 
actively maintained since 2004, before the 2.6 kernel series new world 
plug and play order came about.  I'd suggest updating your distribution 
to a new one that does not use subfs.






___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: df not for subfs?

2007-12-03 Thread cool_mail
Hello Phillip,
thanks for your answer, I'will update to 10.3 before new year, but first do any 
important things ... I think about murphy's law ;-)

 Original-Nachricht 
> Datum: Mon, 03 Dec 2007 13:29:21 -0500
> Von: Phillip Susi <[EMAIL PROTECTED]>
> An: "Günter" <[EMAIL PROTECTED]>, bug-coreutils@gnu.org
> Betreff: Re: df not for subfs?

> Bob Proulx wrote:
> > It appears that something failed getting the file system values.  Try
> > debugging this using strace.  The following produces useful debug
> > output on my GNU/Linux system for usb storage devices.
> 
> Most likely that is the case as this subfs does not appear to have been 
> actively maintained since 2004, before the 2.6 kernel series new world 
> plug and play order came about.  I'd suggest updating your distribution 
> to a new one that does not use subfs.
> 
> 

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils