public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sam Vilain <sam@vilain.net>
To: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Joshua Hudson <joshudson@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 02/27] allow hard links to directories, opt-in for any filesystem
Date: Wed, 01 Mar 2006 09:09:31 +1300	[thread overview]
Message-ID: <4404ADFB.7080204@vilain.net> (raw)
In-Reply-To: <44043973.4070202@yahoo.com.au>

Nick Piggin wrote:
>>Patch seems to work, might want more testing.
>>It probably should not be applied without a discussion, especially
>>as no filesystem in kernel tree wants this. I am working on a fs that does.
> This is backwards I think. This is not disallowed because there are
> no filesystems that want it. Linux doesn't want it so it is disallowed
> by the vfs.
 > You have to put forward a case for why we want it, rather than show us
 > your filesystem that "wants" it. Right?

Agreed.  Mostly this is because the design of unix directory semantics 
preclude it from being possible.  You have exactly one ".." entry.  More 
than one ".." would mean confusion (which does ".." refer to?).  A 
different name would confuse more programs.

The VFS is presenting collections of arbitrary filesystems as unix 
filesystem, it is not a generic abstraction for any kind of storage 
system that is extended to encompass novel approaches to filesystem 
structure.

So if you wanted to access such a filesystem via Linux you would need to 
present this non-unix idea of directory hard links through some kind of 
ioctl etc.

Besides, we already have bind mounts, which are in many ways like a 
directory hard link (and, in many other ways, unlike one).

Sam.

      parent reply	other threads:[~2006-02-28 20:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-28  6:04 [PATCH 02/27] allow hard links to directories, opt-in for any filesystem Joshua Hudson
2006-02-28 11:52 ` Nick Piggin
2006-02-28 16:57   ` Horst von Brand
2006-03-01  2:12     ` Nick Piggin
2006-03-02 21:10       ` Jan Engelhardt
2006-02-28 20:09   ` Sam Vilain [this message]

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=4404ADFB.7080204@vilain.net \
    --to=sam@vilain.net \
    --cc=joshudson@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nickpiggin@yahoo.com.au \
    /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