lkml.org 
[lkml]   [2003]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH] VFS mapping table
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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.101 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site