Commit Graph

201 Commits

Author SHA1 Message Date
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
ast 7d4f6c34b0 No code change: corrected spelling in comment, removed trailing white spaces. 2013-10-05 08:06:35 +00:00
christos 0a4e19dfb8 use return instead of exit. 2013-01-24 17:53:49 +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
christos e5d78d1189 don't print the NULL, but the error 2012-06-14 00:39:33 +00:00
mlelstv 4c4531d7b7 return exit code from mount_XXXX again 2012-04-09 15:50:20 +00:00
christos 8b15007246 add missing DPADD 2012-04-07 05:58:55 +00:00
christos 338fb03101 use getfsspecname 2012-04-07 04:13:06 +00:00
christos 6ab6e47220 Accept NAME=label for special so that we can wire down our wedges. 2012-04-07 03:13:32 +00:00
joerg baa8e84b6f Use __dead 2011-08-29 14:34:58 +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 0120167d51 "when in doubt, let the kernel decide" 2011-02-17 16:57:46 +00:00
pooka 2fff573bcd In case we are union-mounting /, don't force MNT_UPDATE. This makes
the following work:

	mount -t tmpfs -o union tmpfs /

(some caveats are implied, such as if you "mkdir /usr" you're
screwed, but then again you'll get there with "rm -rf /usr" even
without union -- we supply rope)

per discussion with zafer, use case for jibbed
2011-01-13 11:57:02 +00:00
pooka 6070963e92 xref rump_smbfs 2010-11-21 18:33:08 +00:00
pooka ce626609cc Remove puffs| from vfstype before making comparison to determine if
fs is mounted.

Fixes slightly-miscategorized kern/37626.
2010-01-14 21:46:24 +00:00
pooka 707f1f2b92 If getargs and vfs has PUFFS_TYPEPREFIX, use mount_puffs to query args. 2010-01-14 21:30:17 +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
stacktic d253d157dc Fixed a_mask to actually use its argument 2009-06-19 12:55:45 +00:00
yamt f0ea152bc0 disable automatic mountd reloading for now because it makes the service
temporary unavailable.  PR/41331 from FUKAUMI Naoki.
2009-05-04 11:41:48 +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
pooka 4d0f7c6fcd Warn that autoselecting nfs based on : or @ in the device path will
be removed in a future release.
2009-01-11 12:33:50 +00:00
martti 8f3ae7f144 s/If/It/ 2008-08-13 10:00:10 +00:00
pooka 99fed7264c Refactor mount utilities to provide a mount_fs_parseargs() routine.
Use this routine both in mount_fs and rump_fs to provide equivalent
command line parameters and therefore usage interchangeability.
While doing this, combine some common mountgoop to mountprog.h
2008-08-05 20:57:45 +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
lukem 6543a91fea Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)
2008-07-20 01:20:21 +00:00
xtraeme eab7dadfb7 Xref mount_tmpfs(8). 2008-05-06 17:21:56 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
pooka 16170d27f6 Explain that nosuid,nodev is also needed for non-privileged mounts. 2007-08-01 08:51:24 +00:00
christos 7f593965ea cast sizeof() to int for printf widths. 2007-07-17 23:56:01 +00:00
christos a6e0a40b9f kill MFSTYPENAME 2007-07-17 20:13:43 +00:00
hubertf d8a2863966 - removes unused ctype.h header
- correct comment in mount_nfs/getnfsargs.c: s/Nead/Need/

From: Slava Semushin <php-coder@altlinux.ru>
2007-03-10 00:30:36 +00:00
hubertf df06563bc3 Remove more duplicate #includes,
from Slava Semushin <slava.semushin@gmail.com>
2007-01-17 21:59:49 +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
christos 2f9c53340f sprinkle volatile. 2006-10-16 02:54:23 +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