From: Indraneel Majumdar <indraneel@smartpatch.net>
To: linux-kernel@vger.kernel.org
Subject: [indraneel@smartpatch.net: Re: multiple link]
Date: Mon, 29 Sep 2003 01:05:34 -0500 [thread overview]
Message-ID: <20030929060534.GA832@smartpatch.net> (raw)
Thanks, I will check the archives. I looked into stat.c stat.h fs.h and
it seems that inodes can only keep one link information (or maybe I'm
wrong).
I am trying to set up a cluster and looking for a _very_ simple
scaleable distributed filesystem solution (the opengfs, lustre patches
didn't work).
Thanks,
Indraneel
On Mon, Sep 29, 2003 at 01:57:16AM -0400, Valdis.Kletnieks@vt.edu wrote:
> On Mon, 29 Sep 2003 00:43:22 CDT, Indraneel Majumdar <indraneel@smartpatch.net> said:
> > Hi,
> > I was wondering if it's possible to link to multiple directories at the
> > same time:
> >
> > link <link_name> <target1> <target2> <target3>...
>
> Not really a kernel question, but anyhow..
>
> 'man 2 link' and 'man 2 symlink' will tell you that the system calls only make
> one link at a time. What /bin/ln does is a userspace question, but Kerhnigan
> and Pike would likely say the Right Answer is:
>
> % for i in target1 target2 target3; do ln link-name $i; done
>
> If you're asking something else, such as "How do I hardlink a directory to more
> than one parent?", that *is* a kernel question, but the generic answer is "You
> don't, unless you have a novel way to identify the Right Answer for 'where does
> ../ point?'". Check the archives, it was beaten to death a few weeks ago....
>
reply other threads:[~2003-09-29 6:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030929060534.GA832@smartpatch.net \
--to=indraneel@smartpatch.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox