Settings

Theme

Show HN: Variant Symlink Filesystem for Linux

github.com

2 points by onslauth 11 years ago · 1 comment

Reader

onslauthOP 11 years ago

This is a simple implementation of Variant Symlinks similar to the ones found on FreeBSD. It uses an environment variable, in this case PQ_CURRENT_CHASSIS, to resolve the symlink.

This allows for a single global symlink, that will resolve differently depending on the value of the environment variable set when the process starts.

At the moment the environment variable has been hard coded, as its for another project, but I do intend to update the code later to support custom environment variables in the symlink.

I would be glad to receive any feed back, anything at all. Thanks :)

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection