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

statfs/nlist ...



Hi all,
	Here's a modified version of 'statfs()' which takes account of
minix filesystems. It fills in the inode fields correctly (info which
can't be got from Dfree). I'd never tried the call in minixfs that returns
this info, so I've only just noticed it has a minor bug. The number of
free inodes returned is 2 less than it should be, this will be fixed in
patch level 3.
	PL3 (or maybe PL4) should also have a binary configuration utility
in it, allowing default translation modes, cache sizes and some funny stuff
to bypass the lrecno bug, by allowing partition boundaries to be entered,
without recompilation. Anyway, one of the spin-offs is that I've had to write
a version of nlist() for TOS (using normal/GST symbol formats), does anyone
think it should be added to the library ? If so I'll send it along. Perhaps
we could then do 'ps' the "proper" way by reading in the kernel namelist (from
mint.prg) and accessing u:/proc/mint.000 :-) :-) :-)

Regards, Steve.

table
 !"#$%&'()*+,-./0123456789:;<=>?
@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
begin 644 lib.zoo
M6D]/(#(N,3 @07)C:&EV92X:  #<I\3]*@   -;___\"  $        #W*?$z
M_0(",@0  '$   "$&B$=X4?X"   P0,   (!          !S=&%T9G,N8P  y
M    "@ $",\     I %     0"DC*  #26N[T;:<S\VB4]_X"+FY7))+KXBZx
M"*:E6JQ94M(;9(!/.-\Z^6Z=T7=SELH7XW?]^^;E=T"AC>O>O8 +6G&WAO7;w
M@7@8V1L[((0-II1(TZDA.I8<Y\N?#GZ,S@9!_W6=K3)#1L#CF6>1(<;*$&V!v
M!(7]Z&&E69N"FF75"1&1,P:D22FF Z0;08-5.A!Y0F5ID.G X)ANW+MSR'3*u
MBF8P?B9:TJP4>>U&[D&Y$IF@Z9GI)TS&G#+T1\_-EYOXM#:3I;M$&3,><B#At
M\<>?V?KZ>C\HX^]U[&>ZJ"#R:&&W+\/>OJ:=VX+IKB3JD;1$&BF=T!0EHD6%s
MYR/B=_,:NF6L4%X0HIO@Y2Y@K(''R<V;].;+R] 3K,;Y%B\5%_KWUXD6DA2>r
MD$G2J8S(D]BDF9Q/2SO2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