public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bernard Blackham <b-lkml@blackham.com.au>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] VFS mapping table
Date: Sun, 1 Jun 2003 21:38:04 +0800	[thread overview]
Message-ID: <20030601133804.GA4131@amidala> (raw)

[-- Attachment #1: Type: text/plain, Size: 870 bytes --]

Hi,

Whilst setting up a bunch of thin clients, I thought it'd be really
useful if a symlink could be pointed at, say /mnt/{ip}/hostname and
{ip} would expand to the IP address of the machine (inspired by
Tru64 unix).

It was subsequently realised that this could have other uses, so
here is a patch, against 2.4.20 (applies against 2.4.21-rc6 too)
that allows you to expand {keyword} to something customisable
through /proc. For usage details, see the comments at the top of
fs/vfs_map.c

Patch at http://dagobah.ucc.asn.au/linux-2.4.20-vfsmap.diff
68dd58872ec33cfb4ce34306b712a8f4  linux-2.4.20-vfsmap.diff

So does anybody think this would be a useful feature to have, or
just feature bloat? If useful, I'd be happy to port it to 2.5.xx.

Ta,
Bernard.
PS. please CC me on replies.

-- 
 Bernard Blackham 
 bernard at blackham dot com dot au

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2003-06-01 13:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-01 13:38 Bernard Blackham [this message]
2003-06-01 17:47 ` [PATCH] VFS mapping table viro

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=20030601133804.GA4131@amidala \
    --to=b-lkml@blackham.com.au \
    --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