From: Florin Malita <mali@go.ro>
To: linux-fsdevel@vger.kernel.org
Subject: Mountpoint lookup
Date: 05 Feb 2003 17:02:01 +0200 [thread overview]
Message-ID: <1044457119.23738.131.camel@zed.malinux.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 722 bytes --]
Is there a way of finding the mountpoint a fs is being mounted on at
read_super time?
I'm developing a userland filesystem interface (LUFS -
http://lufs.sourceforge.net) and the only way of getting the mountpoint
I found so far is to wait until I get a struct file* (in readdir for
example) and then go through its f_vfsmount, building the mountpoint
path. This is race prone.
I suspect there's some sort of Zen restriction floating around the
mountpoint (the darn fs shall not need to know its mountpoint) but I'm
relying on it for absolute symlinks remapping.
Thanks,
--
Florin Malita web: http://www.malinux.net
public key: http://www.malinux.net/data/fmalita.gpg
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2003-02-05 15:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-05 15:02 Florin Malita [this message]
2003-02-05 15:03 ` Mountpoint lookup Christoph Hellwig
[not found] ` <1044459408.23735.147.camel@zed.malinux.net>
[not found] ` <20030205154536.A21838@infradead.org>
2003-02-05 20:03 ` Florin Malita
2003-02-05 21:15 ` Bryan Henderson
2003-02-06 10:39 ` Florin Malita
2003-02-22 18:56 ` David Chow
2003-02-05 19:13 ` Andrew Sharp
2003-02-05 19:18 ` Christoph Hellwig
2003-02-05 20:06 ` Bryan Henderson
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=1044457119.23738.131.camel@zed.malinux.net \
--to=mali@go.ro \
--cc=linux-fsdevel@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