65412a2710
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 |
||
---|---|---|
.. | ||
Makefile | ||
ascii.7 | ||
environ.7 | ||
hier.7 | ||
hostname.7 | ||
intro.7 | ||
mailaddr.7 | ||
mdoc.7 | ||
mdoc.samples.7 | ||
nls.7 | ||
operator.7 | ||
packages.7 | ||
release.7 | ||
script.7 | ||
setuid.7 | ||
signal.7 | ||
sticky.7 | ||
symlink.7 |