[comp.unix.wizards] df blocks but what about bytes??

AGRISCS@umcvmb.missouri.edu (Don Ingli) (11/12/89)

If you do the unix command df, you get the number of free disk blocks
and I nodes...  My question is, in what file can I find what k a particular
file system is mounted.  ie 512, 1024 or 2048??

I want to write a unix command that will return the number of bytes left
in a file system.....

Thanx...


+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
|  DON INGLI                                                           |
|  UNITED STATES DEPARTMENT OF AGRICULTURE - SOIL CONSERVATION SERVICE |
|  WORK: (314) 875-5344      FAX: (314) 875-5335                       |
|                                                                      |
| bitnet: agriscs@umcvmb.bitnet/internet: agriscs@umcvmb.missouri.edu |
| attmail: attmail!attbl!arpa!umcvmb.missouri.edu!agriscs              |
|                                                                      |
| ALL OPINIONS IN THIS NOTE ARE OF MY OWN AND DO NOT REPRESENT THE     |
| FEDERAL GOVERNMENT OR THE UNIVERSITY OF MISSOURI-COLUMBIA            |
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+

cpcahil@virtech.uucp (Conor P. Cahill) (11/13/89)

In article <21425@adm.BRL.MIL>, AGRISCS@umcvmb.missouri.edu (Don Ingli) writes:
> If you do the unix command df, you get the number of free disk blocks
> and I nodes...  My question is, in what file can I find what k a particular
> file system is mounted.  ie 512, 1024 or 2048??

System V df returns the number of 512 byte blocks even if the file system
is 1 or 2K.  BSD df reports the number of Kbytes (1024).


-- 
+-----------------------------------------------------------------------+
| Conor P. Cahill     uunet!virtech!cpcahil      	703-430-9247	!
| Virtual Technologies Inc.,    P. O. Box 876,   Sterling, VA 22170     |
+-----------------------------------------------------------------------+