'''writable writeable vfs''' ---- '''December 2002''' '''This page exists purely for historical reasons. All the issues surrounding writeable starkits have been resolved, and I am in love with [my 4 starkits] of goodness. Remember, by default starkits are read-only. You must give the -writeable flag to sdx when doing the wrap for your starkit to be writeable. This works perfectly for me ;D --[Ro]''' ---- I packaged my [mindweb] app in a [starkit]. All its data was also stored in the starkit. I had read somewhere that by default starkits were writable (r/w) but this in fact has changed over summer 2002. [http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=jcw-147A42.16572031052002%40news1.xs4all.nl] Now starkits are by default read-only (r/o) [http://trixie.triqs.com/pipermail/starkit/2002-July/000089.html], but the documentation is lagging behind that fact. You make your starkit writable by doing it at wrap time: sdx wrap app.kit -writable ''2002-09-17 (September 17, 2002)'' [sdx] doesnt give any hints that this option exists when displaying help with "sdx help wrap" but it does indeed exist! ;> (''Whoops, fixed now... -[jcw]'') ''2002-10-08 (October 8, 2002)'' [Steve Landers] is aware of this issue (from the starkit mailing list), and he has either already fixed the problem in the new sdx, or is fixing it right now! ;) ''2002-10-08'' - I'm batching some mods to sdx and will tackle them RSN - [stevel] ---- [Ro] My starkit is wrapped to be writable, but for some reason changes to the files in the starkit are only written to the disk when I quit the app. Does anyone know how I can make my starkits write to the disk more often? Thanks a bundle ;D ---- [JAG] "-writable" Starkits are suppposed to automatically commit changes every 5 seconds, but there has been some discussion on the Starkit mailing list about whether this is working correctly or not... [LV] Has there been any resolution to this issue? [Ro] I dont think anyone answered my mail directly on the mailing list, but I'm sure that [JCW] is aware. I will write a little script to test/demonstrate this, something small to show the problem more acutely... soon ;) 01nov02 [jcw] - The flush problems have been resolved recently. The next batch of Tclkit builds (based on Tcl/Tk 8.4.1 btw) will fully support writable starkits. No more known crashes on exit, btw. An eminently cool example IMO, would now be to create a single-file website - i.e. tclhttpd wrapped up as starkit, with user data inside. Or alternately tclkit+tclhttpd packaged as starpack, and user data ''outside'' (or as separate starkit, the sky is the limit...). See also the [starsite] page. [Ro] - '''YAY!''' [Jeff Smith] - "HeadsUp" [http://www.freewebs.com/headsup] is an example of single-file website - i.e. tclhttpd wrapped up as starkit, with user data inside. ---- [Sexy Starkits] [Category Tclkit]