lkml.org 
[lkml]   [1999]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectNew virtual in-memory file system
From
Date
Hi,

this is my first attempt at kernel programming. It's a simple file
system, which relies upon dentries and memory-inodes.

I would like to hear comments, flames, bug reports, ...

Regards, Olaf.

--8<--cut here--------------
begin 644 virtfs.tar.gz
M'XL(`/`UEC<``^T\:7O:V-7YBG[%R?(DV&&UC=W@<=XR-DYHO#V`9^D7C4`7
MT&,M6%?8X>VDO[WGG'NU`7;B)LY,6_1,'7&7L]^S26JE>N.$T4A6GSS>!3NU
MO48#G@#4]QJU[+_Q50/8W=MI[&SCQ!9.UW;KC2?0>$2:DFLF(RL$>!*XUNB^
M=9^;_P^]*K'^3ZTK,7)<\0@XZK7:[L[.G?JO;]7W%O2_M=W8?@*U1Z!EZ?H?
MU_]SXSG$JH=1$$(T$>`Z_NPCD&',++=,4W(N(^%!&,PBQQ>R8M"^LR`23^%(
M3(5O"W_H"`E6*,`.?`'6+`H\:^P,+=>=PV`.KSS$`K:8OBK![<093L!R98!0
M0N$%-[35GT/@VK0D@5>!H_.S5WV8SB*8![,0@EL_MP`F(A0(9.8CC1*<Z)4$
M&7@BFCC^&.14#!W+A:(CP`\BL*`R!&)G(V4`MIY"'WD^/#YIO>LA\)'C.Y$3
M^(H9/[@%QV>I>!;>>%I6E4K%,,[-?JO[KMV'Y@&H8U0)</#\Q[_U@,;D;"K"
M2@"V0W_EW$/!7N&24[4$5[PHQC`V#,,9(7;HGU\<=;J&XP_=F2UPA1K8J'9G
MR&.%"#"$*X6AQ@E*=2;#J@R'55:<852.VL>MRY-^TRB\*)ZV/K0WH'R80H+>
MY8_X;^_@15%.A.O"]-;>@!=_Q8T7[\_/?FT6<'2*^G$-@^X0S%]?O/C'1>M=
MN]LL>T$H/D&WW3HZ;1L&+FH6O,`FV@QCZ`K+Q^7ET(/R""I*55#9K`25D6N-
M999AOB=!;,#F/PU<YXR,/_HX_,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e linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [from the cache]
©2003-2011 Jasper Spaans