Commit Graph

36 Commits

Author SHA1 Message Date
wiz
cba53a68f9 Link to getvfsstat(2) instead of getfsstat(2). 2006-02-24 20:49:38 +00:00
chs
899d1b31b2 convert "magiclinks" from a per-fs mount option to a system-wide sysctl.
as discussed on tech-kern quite some time ago.
2006-02-12 01:32:06 +00:00
jmmv
6625b5f32f Lowercase after semicolon. 2005-08-05 13:21:13 +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
wiz
64ebeb5cbc \- is a minus, not -. 2004-05-13 10:20:57 +00:00
agc
eb7c1594f1 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
wiz
472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
thorpej
3fdac2b8c5 Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
wiz
2781a62f10 Drop trailing space. 2002-09-25 00:08:00 +00:00
christos
d90f115245 describe MNT_GETARGS 2002-09-21 18:19:30 +00:00
ross
dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
wiz
53d84b5c61 Sort sections, sort SEE ALSO, punctuation and miscellanous fixes. 2001-09-16 02:13:26 +00:00
wiz
dfcfff97f3 Boring whitespace fixes. 2001-09-16 01:38:59 +00:00
enami
823f836758 Document some recently added user visible mount option. Addresses PR#6577.
While I'm here, I reorderd SEE ALSO section properly.
2000-03-06 09:11:14 +00:00
kleink
15be242b3a Add a LIBRARY section to system call manual pages. While it's clear that the
libraries contain stubs only (with minor exceptions a la pipe(2)), the purpose
of this section is to provide linkage information.
1999-12-02 21:42:35 +00:00
lukem
e0c4130ae6 use .Fn appropriately 1999-11-07 01:26:02 +00:00
jdolecek
8eb5a4184d xref symlink(7) 1999-09-26 21:18:53 +00:00
garbled
38c96853cf Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Wheee!
1999-03-22 19:44:33 +00:00
abs
6381de4c64 Add links to getmntinfo(3) and getfsstat(2) 1998-12-07 05:17:53 +00:00
lukem
ce83c69e00 first pass at fixing up capitalization of function names and
arguments; ensure that each is correct with respect to the
implementation, rather than being correct as per english.
1998-08-29 08:32:32 +00:00
lukem
d8c6c15bb4 fix up case of function names 1998-06-08 09:45:50 +00:00
perry
a5c24028fa merge lite-2 1998-02-02 05:20:24 +00:00
tv
b934dcf21f Typo fix: the umount call is no longer called umount, it is now called
unmount.
1997-11-26 14:46:44 +00:00
cgd
61f9093c88 document MNT_NOCOREDUMP 1996-10-23 22:54:26 +00:00
jtc
991d366a82 Update to agree with <sys/mount.h>; From Todd C. Miller <millert@cs.colorado.edu> 1996-02-29 23:47:48 +00:00
mycroft
3544b72f01 Update to match mount(2) prototype. 1996-02-08 18:33:58 +00:00
jtc
31ed1143ff merge in changes from 1.1 release branch 1995-11-28 06:41:14 +00:00
jtc
b5d1933995 Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
section with the actual function declarations.  See PR #1589 for details.
1995-10-12 15:40:27 +00:00
cgd
4eab61bd40 merge with lite, keeping most local changes. clean up Ids 1995-02-27 12:31:34 +00:00
jtc
38065bce20 Remove description of EINVAL, "The pathname contains a character with the
high-order bit set", as this error is obsolete.

Eventually we may want to add code to some of the "optional" filesystems
(msdosfs, etc.) that checks for illegal characters.  At that time it would
be appropriate to reintroduce this error with appropriate text.  Perhaps
"The pathname contains a character that is not valid for filesystem type".
1994-04-22 00:13:22 +00:00
jtc
a3376999f0 Use symbolic names {NAME_MAX} & {PATH_MAX} instead of 255 and 1023 in
description of ENAMETOOLONG error.
1994-04-19 00:10:45 +00:00
jtc
250b6aa06e Use "Er" for argument to -width in the lists in the ERROR sections --- so
the formatting is consistant.
1993-11-29 21:24:57 +00:00
jtc
6e9ac1805f Clean up manpages:
Use .Fn rather than .Nm macro in HISTORY and STANDARDS sections.
  Use .At and .St macros instead of spelling out "Version 6 UNIX",
	"IEEE 1003.1-1988 (POSIX)", etc.
1993-11-25 00:38:17 +00:00
cgd
1966e528e6 fix flag name 'bug.' reported by Lennart Augustsson <augustss@cs.chalmers.se> 1993-11-08 03:31:24 +00:00
mycroft
dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00