[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-karma-devel
Subject: Re: [linux-karma-devel] putting everything together
From: EV <evidal () iti ! upv ! es>
Date: 2006-04-19 13:58:23
Message-ID: Pine.LNX.4.58.0604191555530.13986 () taxus2 ! iti ! upv ! es
[Download RAW message or body]
2006-04-19: Bob Copeland dixit:
> I can probably hack up the truncate syscall pretty quickly
> though; it would just use the part of the omfs_delete_inode
> which clears the bitmap for in-use blocks, reset inode->i_size
> to zero, and call omfs_make_empty.
But that seems prone to similar problems as for unlink...
> About the only thing that would "work" at the moment, I think,
> is opening an existing file for append, rewinding the fp,
> writing it, then padding out the file with spaces to the
> original file size. Yeah, that's really cheesy.
O.K., I'd rather wait for a better-working unlink ;)
Best,
EV.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-karma-devel mailing list
linux-karma-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic