[comp.unix.i386] SCO 3.2.2 df/dfspace problem

john@beaudin.UUCP (John Beaudin) (08/28/90)

This is the output from dfspace; a similar output exists for df:

----------------- cut here -------
df: cannot statfs Bad	 statfs: No such file or directory
df: cannot statfs Using	 statfs: No such file or directory
/         :	Disk space:  25.05 MB of  97.64 MB available (25.66%).
/u        :	Disk space:  24.49 MB of  83.62 MB available (29.30%).
/spare    :	Disk space:  76.06 MB of 143.22 MB available (53.11%).

Total Disk Space: 125.61 MB of 324.49 MB available (38.71%).
----------------- cut here -------

Why the complaint about 'cannot statfs'?

Also I can report that 3.2.2 does indeed have auto screen blanking as
specified in System->Configure->Kernel->Parameters: Multiscreens
Thanks, all.
-- 
My .signature is awaiting apropriate display technology

cpcahil@virtech.uucp (Conor P. Cahill) (08/29/90)

In article <1417@beaudin.UUCP> john@beaudin.UUCP (John Beaudin) writes:
>df: cannot statfs Bad	 statfs: No such file or directory
>df: cannot statfs Using	 statfs: No such file or directory
>
>Why the complaint about 'cannot statfs'?

This is probably due to a corrupted /etc/mount file.  This should be fixed
when you reboot, but if it is not, go to single user mode, remove the file
and reboot the system (/etc/mount should be re-created).

df reads this file to get the list of currently mounted file systems and
then calls statfs(2) to get the space characteristics for each file system.

-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170 

eric@egsner.cirr.com (Eric Schnoebelen) (08/30/90)

In article <1990Aug29.120821.1409@virtech.uucp> cpcahil@virtech.UUCP (Conor P. Cahill) writes:
- This is probably due to a corrupted /etc/mount file.  This should be fixed
- when you reboot, but if it is not, go to single user mode, remove the file
- and reboot the system (/etc/mount should be re-created).

        I'm sure that Conner means the /etc/mnttab, since /etc/mount is
the program that one runs to mount a file system.  If you remove that,
you won't be able to use anything besides your root partition..

- df reads this file to get the list of currently mounted file systems and
- then calls statfs(2) to get the space characteristics for each file system.

	The /etc/mnttab file contains a binary list of all the mounted file
systems, name of the device, and the file system type.
-- 
Eric Schnoebelen		eric@cirr.com		schnoebe@convex.com
	Due to circumstances beyond your control, you are master of
		your fate and captain of your soul.