tim on Thu, 22 Feb 2001 17:38:24 -0500


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

Re: [PLUG] Q about how much disk space /proc/bus/usb uses


On Thu, Feb 22, 2001 at 10:30:26AM -0500, Michael Leone wrote:
> As the subject says ... I'm running Mandrake 7.2, w/3 USB devices - a
> scanner, printer and joystick (kernel 2.2.18). All are working just fine.
> 
> Here's the odd part .. when I do a df -h, I see this:
> 
> [turgon@minas-aran turgon]$ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hdb2             2.0G    383M  1.5G  20% /
> /dev/hdb1              14M    3.3M   10M  25% /boot
> /dev/hdb8             5.9G    1.5G  4.4G  26% /home
> /dev/hdb7             849M  229M  621M  27% /tmp
> /dev/hdb6             5.9G    2.8G  3.1G  47% /usr
> /dev/hdb5             849M  365M  485M  43% /var
> /dev/hda7              11G    9.3G  1.6G  85% /Storage
> /proc/bus/usb         1.4G  1.4G     0 100% /proc/bus/usb
> 
> Now, why does the USB part of /proc want so much space? Anybody else running
> w/USB support? If so, how much does your /proc/bus/usb think it needs?

This is a problem with df, my output:
ghoti:/usr/src/linux/Documentation/usb# df -ha
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda7             5.6G  2.8G  2.6G  51% /
proc                     0     0     0   -  /proc
devpts                   0     0     0   -  /dev/pts
/dev/hda6             7.7G  5.4G  1.8G  75% /home
/dev/hda2              30M  7.3M   22M  25% /boot
/dev/hda5             494M   29k  468M   0% /tmp
none                     0     0     0   -  /proc/bus/usb

At first glance I thought it may have something to do with the free space
left on your root device, since that's where it is mounted but your
free space is 1.5G not 1.4G  The /proc filesystem and the /proc/bus/usb
filesystem take no space.

Tim


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug