Commit Graph

82 Commits

Author SHA1 Message Date
jdolecek ad7bde6ea4 stress more that discard is experimental, and explain why; also note that
it's not compatible with log
2016-11-10 22:28:00 +00:00
sevan 7ebf29657a mount appeared in V1
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V1/man/man1/mount.1
Replace contraction.
Bump date.
2016-09-12 00:25:23 +00:00
mbalmer 89b27dd856 Add reference to mount_chfs, bump date. 2014-12-06 12:12:17 +00:00
apb c2ebc84464 Add a reference to secmodel_extensions(9), to make it a little easier to
figure out how to enable mounts for unprivileged users.  (Why don't we
just explain vfs.generic.usermount in the mount(8) man page?)

Also add another example of different ways in which the "special"
argument is interpreted by different file systems: mount_tmpfs(8)
ignores it.
2013-10-31 07:37:06 +00:00
drochner 5724e77fda Implement experimental support to pass notifications that a file
was deleted from the filesystem to the disk driver, commonly
known as "discard" or "trim".
fs/driver support is in ffs and ata wd for now.
This is what was posted here:
http://mail-index.netbsd.org/tech-kern/2012/02/28/msg012813.html
with minor cleanup, and the global switch replaced by a mount option.
2012-10-19 17:09:06 +00:00
wiz 547319c1ee - Improve wording;
- remove superfluous `.Pp' macro (fixes mandoc(1) warning).

From Bug Hunting.
2012-10-03 19:36:11 +00:00
wiz 0d00d3b578 Bump date for previous. 2012-06-23 23:41:25 +00:00
jdf 8efbef4b63 Clarify use of the union option for mount, as proposed in PR 45919.
Text proposed by apb.
2012-06-23 23:17:46 +00:00
dholland 1cb7b735a0 Improve previous; thanks to tsutsui-san for reminding me of the proper
reference. PR 45166
2011-07-22 15:53:21 +00:00
dholland fb83b6fe13 Clarify UFS2 superblock format stuff. Bump date. 2011-07-22 15:47:46 +00:00
wiz 6da344d4e1 New sentence, new line; fix wording; bump date. 2011-06-17 18:13:14 +00:00
manu 448e1c49b2 Add mount -o extattr option to enable extended attributs (corrently only
for UFS1).
Remove kernel option for EA backing store autocreation and do it by
default. Add a sysctl so that autocreated attriutr size can be modified.
2011-06-17 14:23:50 +00:00
pooka 6070963e92 xref rump_smbfs 2010-11-21 18:33:08 +00:00
wiz 0fe31f2e87 Drop trailing whitespace. 2009-10-03 07:37:01 +00:00
elad 1df9608023 Centralize documentation about exported sysctl variables in the relevant
secmodel's man-page.
2009-10-02 20:31:19 +00:00
wiz 5eb2ad1b22 Fix typo, and restore line that was lost in previous. 2009-02-23 08:14:53 +00:00
ad 59fcf21389 PR kern/26878 FFSv2 + softdep = livelock (no free ram)
PR kern/16942 panic with softdep and quotas
PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch
PR kern/26274 softdep panic: allocdirect_merge: ...
PR kern/26374 Long delay before non-root users can write to softdep partitions
PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem
PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption
PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk
PR kern/31981 stopping scsi disk can cause panic (softdep)
PR kern/32116 kernel panic in softdep (assertion failure)
PR kern/32532 softdep_trackbufs deadlock
PR kern/37191 softdep: locking against myself
PR kern/40474 Kernel panic after remounting raid root with softdep

Retire softdep, pass 2. As discussed and later formally announced on the
mailing lists.
2009-02-22 20:28:05 +00:00
apb 756ffbbce0 * Say that type "nfs" is inferred if the path contains a
":" or "@".  (Amazingly, this was not documented before).
* Say that the "nfs" inference is deprecated.  (It was deprecated in
  revision 1.87 of mount.c, dated 2009-01-11.)
* Add "-t nfs" in an example, so as not to rely on the automatic
  inference of nfs when the path contains a colon.
* Try to improve the description of how the arguments are interpreted.
2009-01-20 09:07:04 +00:00
wiz 2fd0883c1e New sentence, new line. 2009-01-11 21:57:14 +00:00
pooka 694167d28f Support mount -o rump, which uses the rump server instead of using
the kernel service.  E.g. "mount -t efs -o rump /dev/sgidev /mnt"
runs effectively "rump_efs /dev/sgidev /mnt".
2009-01-11 20:39:34 +00:00
martti 8f3ae7f144 s/If/It/ 2008-08-13 10:00:10 +00:00
wiz b2ac773421 Add missing word and bump date for previous. 2008-08-04 07:53:07 +00:00
simonb cf67ff2e05 Mention "-o log". 2008-08-04 07:49:57 +00:00
xtraeme eab7dadfb7 Xref mount_tmpfs(8). 2008-05-06 17:21:56 +00:00
pooka 16170d27f6 Explain that nosuid,nodev is also needed for non-privileged mounts. 2007-08-01 08:51:24 +00:00
elad 9b470b7708 Mention potential reasons for EPERM.
Requested by Anon Ymous.
2007-01-06 14:43:27 +00:00
mjf a2be0ed655 Revert the changes I introduced trying to solve tmpfs' NFS export problem.
Requested by yamt@
2006-10-31 08:12:46 +00:00
mjf 84bd46b9f9 Add support to allow a file system to not permit being exported over NFS.
Approved by elad@ and wrstuden@
2006-10-24 21:53:10 +00:00
wiz 730e1c55de End sentence with a dot. 2006-09-27 17:42:34 +00:00
elad fd2bf79719 Add a DIAGNOSTICS section, specifically to address the "Operation not
supported by device" error. Reference options(4). Bump date.
2006-09-25 20:07:17 +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
riz 288025ff2a Bump date, use "file system" consistently, no hyphen in "soft
dependencies", and sort options under -o.
2006-02-03 22:50:21 +00:00
riz efb16065b2 Note that softdep and async options can't be used together. From
Dheeraj S in PR#32211, wording and formatting changes by me.
2006-02-03 22:34:11 +00:00
reinoud 85b5a27e76 Crosslink mount(8) with mount_udf(8) 2006-02-02 16:24:09 +00:00
elad 9144e38e70 document port option; prompted by wiz@ :) 2006-01-13 09:34:46 +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
snj 654ad24a7f New sentence, new line, Xref fsck(8), use Dq. 2004-12-08 01:22:00 +00:00
jdolecek 19d91c00f9 document reload option, description shamelessly stolen off ffs_reload()
comment
2004-12-07 21:38:58 +00:00
snj 2055aee33c Bump date for last. 2004-03-27 19:22:28 +00:00
cgd efddf99c99 Recognize 'from_mount' as the device, which is especially useful when
putting root on NFS.  (From my PR, 20305.)
2004-03-27 06:11:48 +00:00
agc 276d62f603 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:22 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz 5fc05bb384 removable with only two es, from Adrian Mrva. 2002-12-21 12:27:14 +00:00
wiz d1a3cd19aa Sort SEE ALSO. 2002-11-07 12:45:35 +00:00
christos 0261b4559e PR/16688: Robert Elz: No way exists to use MNT_IGNORE (custom C code excepted) 2002-11-07 12:43:50 +00:00
wiz b3000c7d7c Use .Fl t instead of \fI-t\fP. 2002-10-01 13:49:15 +00:00
wiz 2fb4b1db52 New sentence, new line. By Robert Elz with minimal fixes. 2002-10-01 13:40:23 +00:00
christos 9f9ee29713 MNT_GETARGS support 2002-09-21 18:43:31 +00:00
lukem 9234db0acd Improve mount_mfs examples. Inspired by [misc/16193] from
Brian A. Seklecki <lavalamp@hurt.spiritual-machines.org>
2002-05-21 11:17:57 +00:00
wiz 0d862d5885 Drop empty lines and an unnecessary .Pp, sort sections. 2001-11-16 11:57:51 +00:00