This is the mail archive of the
mailing list for the eCos project.
Re: Should hard links to directories work?
- From: Ross Younger <wry at ecoscentric dot com>
- To: sandeep <shimple0 at yahoo dot com>
- Cc: "ecos-devel at ecos dot sourceware dot org" <ecos-devel at ecos dot sourceware dot org>
- Date: Wed, 20 May 2009 15:47:40 +0100
- Subject: Re: Should hard links to directories work?
- References: <email@example.com>
> Before we discuss it further, where/how do you think you will use directory hardlinking ...
I don't have a use for it :-) - I only ask as I'm integrating the YAFFS
filesystem (see discussion elsewhere on these lists...) and thought of the
question while writing test cases.
FWIW, the only time I've ever come across directory hardlinks being useful
is in a chroot on a standard Unix system where it's sometimes a good idea to
nobble '..' (usually to be the same as '.') to preclude one of the standard
> ... if it were available for normal user?
Remember that eCos has no concept of users. Everything runs in the kernel -
everything is privileged, arguably higher than the 'root' user of the
standard Unix model.
Embedded Software Engineer, eCosCentric Limited.
Barnwell House, Barnwell Drive, Cambridge CB5 8UU, UK.
Registered in England no. 4422071. www.ecoscentric.com