NetBSD/share/man/man7
thorpej 65412a2710 Implement expansion of special "magic" strings in symlinks into
system-specific values.  Submitted by Chris Demetriou in Nov 1995 (!)
in PR kern/1781, modified only slighly by me.

This is enabled on a per-mount basis with the MNT_MAGICLINKS mount
flag.  It can be enabled at mountroot() time by building the kernel
with the ROOTFS_MAGICLINKS option.

The following magic strings are supported by the implementation:

	@machine	value of MACHINE for the system
	@machine_arch	value of MACHINE_ARCH for the system
	@hostname	the system host name, as set with sethostname()
	@domainname	the system domain name, as set with setdomainname()
	@kernel_ident	the kernel config file name
	@osrelease	the releaes number of the OS
	@ostype		the name of the OS (always "NetBSD" for NetBSD)

Example usage:

	mkdir /arch/i386/bin
	mkdir /arch/sparc/bin
	ln -s /arch/@machine_arch/bin /bin
2005-06-23 00:30:28 +00:00
..
Makefile add script.7 2005-05-07 02:21:09 +00:00
ascii.7
environ.7
hier.7 Add trailing slashes to some directories missing them. 2004-11-21 09:17:13 +00:00
hostname.7
intro.7 NetBSD -> .Nx. 2005-06-10 20:48:59 +00:00
mailaddr.7
mdoc.7
mdoc.samples.7 Change all .Xr config 8 to .Xr config 1, following the recent move of 2005-06-20 13:25:23 +00:00
nls.7
operator.7
packages.7 Adjust to The Not-Quite-That-New World Order: 2005-03-12 16:17:33 +00:00
release.7 Change all .Xr config 8 to .Xr config 1, following the recent move of 2005-06-20 13:25:23 +00:00
script.7 Remove superfluous word, found by Jared Yanovich, 2005-06-10 17:48:34 +00:00
setuid.7
signal.7 Turn two commas into fulls stops for better readability. 2005-01-14 22:33:15 +00:00
sticky.7
symlink.7 Implement expansion of special "magic" strings in symlinks into 2005-06-23 00:30:28 +00:00