From: "Ara.T.Howard" Date: 2004-04-16T01:04:10+09:00 Subject: Re: File locking, portably? On Fri, 16 Apr 2004, Hugh Sasse Staff Elec Eng wrote: > On Fri, 16 Apr 2004, John Platte wrote: > > > On 2004 Apr 15, at 9:54, Ara.T.Howard wrote: > > > > >>> SSH tunneling? > > >> > > >> This is getting somewhat less portable..... :-) > > > > > > for me it's o.k. - we are all linux. > > > > Y'all are probably aware, but I should mention that PuTTY has quite a > > complete SSH feature set for Windows (including ssh-agent), and is > > MIT-licensed. > > Yes, I'm using that, but have not done much with it > programmatically. But this seems a long way round, with dependencies, > to get file locking... Is there anything just using ruby that is > reliable? File.flock should work - execpt for NFS. if you are on a hetrogeneous NFS systems then i'd imagine you have much bigger problems though... -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328 | URL :: http://www.ngdc.noaa.gov/stp/ | TRY :: for l in ruby perl;do $l -e "print \"\x3a\x2d\x29\x0a\"";done ===============================================================================