TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Variant Symlink Filesystem for Linux

2 pointsby onslauthover 9 years ago

1 comment

onslauthover 9 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.<p>This allows for a single global symlink, that will resolve differently depending on the value of the environment variable set when the process starts.<p>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.<p>I would be glad to receive any feed back, anything at all. Thanks :)