From: "Ara.T.Howard" Date: 2005-09-23T09:30:14+09:00 Subject: Re: File::stat(any).ino => 0 [WAS] Re: Help me clean up this method On Fri, 23 Sep 2005 nobu.nokada@softhome.net wrote: > Hi, > > At Fri, 23 Sep 2005 08:49:15 +0900, > Ara.T.Howard wrote in [ruby-talk:157186]: >>> eban has suggested File.identical? for that purpose. >> >> that sounds great - but how would it be implemented on windows if there is no >> unique field in the inode? > > Of course, comparing expanded pathes ;) lol! that's fine - but does that work with hard/soft links? i know next to nothing about windows but remember something about it having something like hard links and: harp:~ > touch a harp:~ > ln a b harp:~ > ruby -e'p File::expand_path("b")' "/home/ahoward/b" so that's wouldn't work on unix - maybe it does on windows? -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | Your life dwells amoung the causes of death | Like a lamp standing in a strong breeze. --Nagarjuna ===============================================================================