From mint-bounce@lists.fishpool.fi  Fri Aug 28 17:26:33 2009
X-Virus-Scanned: amavisd-new at demon.co.uk
Subject: Re: [MiNT] symlinks and hostfs
From: Alan Hourihane <alanh@fairlite.co.uk>
To: Vincent =?ISO-8859-1?Q?Rivi=E8re?= <vincent.riviere@freesbee.fr>
Cc: mint@lists.fishpool.fi
In-Reply-To: <4A98472E.3010505@freesbee.fr>
References: <4A97D65D.6090100@freesbee.fr>
	 <1251471399.19057.103.camel@jetpack.demon.co.uk>
	 <1251472068.19057.104.camel@jetpack.demon.co.uk>
	 <4A97F60C.5040903@freesbee.fr>
	 <1251473424.19057.108.camel@jetpack.demon.co.uk>
	 <4A98472E.3010505@freesbee.fr>
Content-Type: text/plain; charset="ISO-8859-1"
Date: Fri, 28 Aug 2009 22:22:49 +0100
Message-Id: <1251494569.23844.2.camel@jetpack.demon.co.uk>
Mime-Version: 1.0
X-Mailer: Evolution 2.24.5 
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: alanh@fairlite.co.uk
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id n7SLQWOO007464

On Fri, 2009-08-28 at 23:07 +0200, Vincent Rivière wrote:
> Alan Hourihane wrote:
> > It doesn't ignore it. The initial call to path2cookie() does the real
> > work and operates on the "flag". Then it passes the actual details to
> > the filesystem call. So aranym is never asked to do a stat() directly,
> > it's just emulating what it thinks it should do.
> 
> Sorry, I didn't understand that stuff around path2cookie().

No problem.

> Well, I think every function looking like stat(), lstat(), getxattr(), 
> and so on should be explicitly documented with the expected behaviour 
> with symlinks. It seems that, about symlinks, the hostfs interface is 
> not interpreted in the same way between FreeMiNT and ARAnyM :-(

Documentation is always lacking, but it's ARAnyM that gets this wrong,
not FreeMiNT. It's just plain silly to be doing what it's doing, just
for symlinks.

Alan.


