From: Tom Sawyer Date: 2003-01-11T09:14:21+09:00 Subject: Re: 'borrow' Tcl's virtual file system On Friday 10 January 2003 03:09 pm, Brennan Leathers wrote: > On Friday, January 10, 2003, at 08:32 AM, Dossy wrote: > > The basic idea is that when you tell Tcl that you're using a VFS, it > > secretly redirects all file I/O activity to happen to the VFS and not > > to > > the real FS. An example of how this might "look" from Ruby might be: > > having used tcl in the past, I know what you refer to re: the VFS. I > know this is not an optimal solution, but there is the Objective-C > class NSFileHandle which opens either files or sockets for r/w. I > assume this available thru rubycocoa, just thought Id throw this out > there for mac ppl. > > brennan there is also a virtual file system project that works at the file system level. i don't recall off hand what it was called. it was recently in linux journal i beleive. from what i read it was coming along nicely and i imagine will make its way as a standard of distributions after a while. so having a Ruby level version to this kind of thing may be mute, except that it Might be cross-platform. -- tom sawyer, aka transami transami@transami.net .''. .''. . *''* :_\/_: . :_\/_: _\(/_ .:.*_\/_* : /\ : .'.:.'. .''.: /\ : ./)\ ':'* /\ * : '..'. -=:o:=- :_\/_:'.:::. | ' *''* * '.\'/.' _\(/_'.':'.' : /\ : ::::: = *_\/_* -= o =- /)\ ' * '..' ':::' === * /\ * .'/.\'. '._____ * | *..* : |. |' .---"| * | _ .--'| || | _| | * | .-'| __ | | | || | .-----. | |' | || | | | | | || | ___' ' /"\ | '-."". '-' '-.' '` |_. ------------------------------------------------------------