NetBSD/lib
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
..
csu Copyright Maintenance 2005-05-21 06:46:34 +00:00
i18n_module add new citrus iconv module UTF-7. 2005-03-06 04:25:04 +00:00
libarch Bring over the changes from revision 1.7 of 2004-10-07 01:47:11 +00:00
libasn1 Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
libbsdmalloc
libbz2
libc Implement expansion of special "magic" strings in symlinks into 2005-06-23 00:30:28 +00:00
libcdk Need to prefix relative directories with `${.CURDIR}/' so that 2004-08-05 01:24:02 +00:00
libcom_err Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
libcompat getpw*_r() may return 0 and set pwd==NULL 2005-04-19 03:38:08 +00:00
libcrypt fix compile issue. 2005-01-12 05:27:48 +00:00
libcrypto Oops, openssl_errstr(1), not (3). 2005-04-24 00:13:50 +00:00
libcrypto_idea
libcrypto_mdc2
libcrypto_rc5
libcurses Make these work with today's curses and termcap reality. 2005-05-23 04:04:49 +00:00
libdes
libedit make this useable from c++. 2005-06-12 06:58:21 +00:00
libevent Remove superfluous .Pp, add some commas, improve grammar in a sentence, 2005-04-17 08:51:19 +00:00
libform Improve RETURN VALUES section. 2004-11-24 12:47:20 +00:00
libgssapi Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
libhdb Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
libintl appease gcc -Wuninitialized 2005-06-01 11:08:57 +00:00
libipsec Bump version number 2005-05-20 00:58:58 +00:00
libkadm Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
libkadm5clnt Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
libkadm5srv Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
libkafs Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
libkdb Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
libkrb Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
libkrb5 Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
libkstream
libkvm Fix fallout from vm_anon changes 2005-05-11 17:41:52 +00:00
libl Allow this to compile if MKSTATICLIB=no. 2005-05-07 00:23:01 +00:00
libm Don't cast x to double, it already is one. 2005-05-03 04:18:32 +00:00
libmagic update for 4.08 2004-03-23 08:40:36 +00:00
libmenu Increment major number (to 5) because of the libcurses major number change 2004-03-22 19:01:28 +00:00
libossaudio appease gcc -Wuninitialized. some delint 2005-06-01 11:22:18 +00:00
libpam Remove CPPFLAGS 2005-04-25 17:21:31 +00:00
libpcap Fix bpf_open so that we can run tcpdump without write-access to 2005-06-10 19:00:09 +00:00
libpci Modify prototype for pci_findvendor() and add pci_findproduct(). 2004-08-03 03:32:43 +00:00
libpmc de-__P 2005-02-04 15:27:44 +00:00
libposix Append to AFLAGS rather than setting AINC. 2004-04-18 04:26:15 +00:00
libpthread Create links for pthread_attr_setschedparam.3 2005-06-17 18:37:24 +00:00
libpthread_dbg Remove pt_blockuc. If the debugger attempts to muck with the state of a 2004-10-12 22:17:56 +00:00
libradius Fix compilation both with and without SSL. The buffer argument is different 2005-03-31 14:29:32 +00:00
libresolv Only compile in IPv6 support if ${USE_INET6} != "no" 2005-01-10 02:58:58 +00:00
librmt Split a sentence in SEE ALSO by a .Pp. 2004-06-10 13:58:47 +00:00
libroken Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
librpcsvc Build librpcsvc as a shared library, since pam_unix.so needs it. 2005-01-08 10:02:36 +00:00
librt This function is in librt, not libc. 2005-05-16 00:45:24 +00:00
libskey de-__P 2005-02-04 16:14:21 +00:00
libsl Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
libss Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
libssh Update for 4.0, bump version. 2005-04-23 16:53:47 +00:00
libssl Need to prefix relative directories with `${.CURDIR}/' so that 2004-08-05 01:24:02 +00:00
libtelnet Don't perform a check for "secure" tty for root logins when using PAM; 2005-05-05 23:21:58 +00:00
libterm add t_putws 2005-05-15 21:10:52 +00:00
libusbhid Use (unsigned char) cast to sanitise arguments to ctype functions. 2004-10-28 21:14:52 +00:00
libutil Fix capso in Dd argument. 2005-05-16 18:49:24 +00:00
libvers Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
libwrap getpw*_r() may return 0 and set pwd==NULL 2005-04-19 03:38:08 +00:00
liby
libz PR/21167: Christian Biere: ctype function misuse. 2005-04-17 17:22:36 +00:00
Makefile Provide the minimum set of .WAIT barriers, adding explanatory comments. 2005-06-03 14:28:07 +00:00
Makefile.inc Convert from the src/lib -specific DEPLIBS to using LIBDPLIBS from <bsd.lib.mk> 2004-08-04 08:04:25 +00:00
bumpversion
checkoldver
checkver
checkvers