[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New statfs for MiNT 1.15
Hi!
I've patched statfs() for the new dcntl's FS_INFO and FS_USAGE (MiNT 1.15)
and add a new call to statfs.c. With get_fsname() you can get the file system
type and name (via FS_INFO). This call can be use by tools like 'df' to
determine the name of a file system.
If there are no objections we should include it to the next lib.
Chris.
Note: For compiling statfs.c you need dcntl.h from the kernel source. May be
we should include this header to the lib (/usr/include/mint/dcntl.h :-))
table
!"#$%&'()*+,-./0123456789:;<=>?
@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
begin 644 statfs.tgz
M'XL( -A9'S8"!>U7>T_C1A#G7_M3#)R$8DI, B6(RW%JQ$%!QTN77$N%D&7Lz
M-5GA>"/OFB/E^.Z=V;5CQ\>]I/9:51X)!X]_,SN[.T^I?!5)-UCZ!ZG;Z?1Zy
M'5@"HOHOP'9W>Q, $3N]GW=Z.SV ;F=G>V<).DL_@#*I_!1@*15"?0GW8<Q8x
MO/2_HXTU&]9 :B]H.< F6>PK+A*(1 JG_&RT,3H?(H10OZ=<*9; S0P&8<K]w
M! 9R'+,9M'S]^HMD0<J4FV7!U"$!/PEA&OL!"X$GH,8,IME-S ,(Q<3GB9OKv
M/14ACSB"BC6AZW:W:9G]<<HE'+)8!F-$;MCV"YX$<18R>,72-!'N^'6%1=M8u
MY AYPY-PD3?AB?J4FR5<JAHOYA.N)/*@ND@VG8JTMHZ<R0USB!IM;ZQ!E(H)t
MW+$T83%(D:4!6Z8=E#)AD*B8U-CL02$.STB!YY%Y?=NFE_Q: I%(!<$8_71Ms
MZJOQ.GY(LZ#X#FLW6>38CS: %8OD%BRBM&^#5<$ABWX0VK<+?B0]GD3"LNBYr
MP,ZD?\LL_40^:>81M)91&CY^A&6RPB'NHVV!I6\"]N#@</#^9-0G%KI!ACMJq
M=_N$>K+IF2*$3&B9/:SFYCC]0CT"]E#$J2FPM>0;.JW6X= [/CL\7P>CHT7[p
M=5;)?%13*CGPSM^B&K3.PA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