vfs: variant symlinks from uts
PATCH 2/2 vfs: variant symlinks from uts
This allows variant symlinks to interpret their variables from uts.
Signed-off-by Ken Schmidt <[email protected]>
--
fs/Kconfig +7 -0
@@ -532,6 +532,13 @@ dynamically redirect their symbolic link targets based on embedded variables. If unsure, say N +config VARIANT_UTS + tristate "Variant symlinks from UTS(uname)" + depends on VARIANT + help + If you say Y here, Variables embedded in symbolic links (variant + symlinks) will be evaluated from UTS (uname). + config QUOTA bool "Quota support" help
fs/variant/Makefile +3 -0
@@ -3,3 +3,6 @@ # obj-$(CONFIG_VARIANT) += variant.o + +obj-$(CONFIG_VARIANT_UTS) += variant-uts.o +
fs/variant/variant-uts.c +76 -0
76 lines not on this page · raw message