Skip to contentSkip to conversation

vfs: variant symlinks from uts

PATCH NAK Ken Schmidt 1 participant 1 message Sep 28, 2007 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 vfs: variant symlinks from uts

This allows variant symlinks to interpret their variables from uts.

--

fs/Kconfig +7 -0
diff -urN linux-2.6.22.5.orig/fs/Kconfig linux-2.6.22.5/fs/Kconfig
@@ -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
diff -urN linux-2.6.22.5.orig/fs/variant/Makefile linux-2.6.22.5/fs/variant/Makefile
@@ -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