Varlinks - how not to break semantics

Pavel Machek (pavel@elf.ucw.cz)
Wed, 29 Apr 1998 23:52:13 +0200


Hi!

So you are worried about breaking semantics of varlinks.

OOk, consider following:

a) Link is processed as varlink if and only if it beggins with ///.
[normally, you have no reason to prepend ///, so it should be safe]

or

b) Link is processed as varlink if and only if it begins with
/proc/varlink/.
[this is completely clean in case proc is mounted on /proc]

In both cases, leading part is completely trimmed, so
'/proc/varlink/.' is really refference to current directory.

[Yes, and make /proc/varlink non-existent directory]

What do you think, unix purists?

Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu