public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Oleg Drokin <green@linuxhacker.ru>
Cc: Bryan Henderson <hbryan@us.ibm.com>,
	linux-fsdevel@vger.kernel.org, neilb@cse.unsw.edu.au
Subject: Re: FS-specified FSID for non-device based filesystems?
Date: Fri, 14 Apr 2006 16:59:48 -0400	[thread overview]
Message-ID: <20060414205948.GG30419@fieldses.org> (raw)
In-Reply-To: <20060414204543.GE10907@linuxhacker.ru>

On Fri, Apr 14, 2006 at 11:45:43PM +0300, Oleg Drokin wrote:
> Well, I do not see how there is a difference.  From my reading of the
> code it seems that fsid is composed of device's minor/major and export
> point's inode ino.
> 
> I propose to replace (if supported by fs) device's minor/major by some
> unique number returned by fs itself.  Should be no worse than what we
> have now.

Wouldn't some ways of identifying filesystems (ext2/3 labels?) more
easily be done from userspace?  Would it be possible to do what you want
from userspace using the fsid export option?  There's no reason the
fsid= option has to be set manually; you could generate /etc/exports
lines (or exportfs commands) automatically.

--b.

  reply	other threads:[~2006-04-14 20:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-12 11:10 FS-specified FSID for non-device based filesystems? Oleg Drokin
2006-04-14 20:22 ` Bryan Henderson
2006-04-14 20:45   ` Oleg Drokin
2006-04-14 20:59     ` J. Bruce Fields [this message]
2006-04-14 21:32     ` Bryan Henderson
2006-04-14 21:41       ` Oleg Drokin
2006-04-17  0:54 ` Neil Brown
2006-04-17  3:50   ` Greg KH
2006-04-17  4:32     ` Neil Brown
2006-04-18 18:07       ` Greg KH
2006-04-19 12:15         ` Miklos Szeredi
2006-04-20 11:35           ` Al Viro
2006-04-20 11:58             ` Miklos Szeredi
2006-04-20 12:30               ` Al Viro
2006-04-20 12:43                 ` Miklos Szeredi
2006-04-17  8:00   ` Anton Altaparmakov

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=20060414205948.GG30419@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=green@linuxhacker.ru \
    --cc=hbryan@us.ibm.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.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