Commit Graph

23 Commits

Author SHA1 Message Date
wiz 252a57e3a8 whitespace. 2014-01-10 09:43:15 +00:00
dholland b510fd7487 Clarify the behavior of the @machine and @machine_arch magic links
relative to uname output when running in emulations: the magic links
are *not* affected even though uname output changes.

(This means @machine magic links can be used for e.g. amd64 vs. i386
device nodes. There's also an @emul magic link for emulation.)

Noted by apb.
2014-01-09 18:55:41 +00:00
jruoho 0901655f4f Use .Ss and -offset indent. 2011-06-02 09:02:39 +00:00
joerg 787e55aa29 Remove PECOFF/Win32 emulation. 2011-04-26 16:57:38 +00:00
christos 8883daf182 prettier markup 2011-02-01 21:06:13 +00:00
christos 9f6dc01c41 merge the two lists. 2011-02-01 21:03:53 +00:00
christos d2cb166562 document gid, rgid 2009-06-26 15:50:17 +00:00
joerg bee3db8e83 Fix markup 2009-03-11 13:52:19 +00:00
dholland ce6785d91d Bump date for mjf's Dec 4 2007 commit that corrected the description of
magiclinks and added @ruid.
2008-11-30 23:39:20 +00:00
reed 091bd2e203 Fix spelling typo. 2008-09-13 13:45:00 +00:00
mjf d4a648c345 Implement a new magic string for magic symlinks, @ruid, which exapnds to the
real user id of the process and use this magic string for per-user tmp.
This should fix PR/35687

Kernel parts reviewed by wrstuden@
2007-12-04 22:09:01 +00:00
wiz 9000cdc5de Bump date for previous. 2007-02-07 06:41:50 +00:00
rillig a70aaa0ac5 Added a HISTORY section. 2007-02-05 14:48:25 +00:00
elad 9477ac30bc Add "@uid" keyword translation, to translate effective user-id of the
process.
2006-11-04 10:14:00 +00:00
thorpej d379332a27 Document the new @emul magic symlink var as well as the new @{var} syntax. 2005-07-06 19:05:09 +00:00
wiz f6a26780ce Bump date for new magic symlinks, and add uname(1) to SEE ALSO. 2005-06-26 10:11:05 +00:00
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
agc 075022b349 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22309, verified by myself.
2003-08-07 10:30:41 +00:00
bjh21 dd7d539761 Add lchflags() to the list of syscalls that act on symlinks. 2002-07-07 14:56:48 +00:00
wiz 66bb8e2176 Make DESCRIPTION sections (mostly by renaming non-standard section headers).
[See bin/14591 for a reason why we should have them.]
2002-03-06 14:43:02 +00:00
wiz 0c2e5eb7eb Punctuation fixes. 2001-09-11 01:25:53 +00:00
wiz 2a3e3930e4 Boring whitespace fixes. 2001-09-11 01:02:18 +00:00
jdolecek 945fe691ae Move symlink.7 to share/man/man7/, where it belongs 1999-09-27 17:44:49 +00:00