<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/sys/mount.2, branch release/5.2.1</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F5.2.1</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F5.2.1'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2003-09-08T16:23:21Z</updated>
<entry>
<title>In the !MNT_BYFSID case, return EINVAL from unmount(2) when the</title>
<updated>2003-09-08T16:23:21Z</updated>
<author>
<name>Ian Dowse</name>
<email>iedowse@FreeBSD.org</email>
</author>
<published>2003-09-08T16:23:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ffe40c80ea0e580db9390ed94c1fcdfff29e2082'/>
<id>urn:sha1:ffe40c80ea0e580db9390ed94c1fcdfff29e2082</id>
<content type='text'>
specified directory is not found in the mount list. Before the
MNT_BYFSID changes, unmount(2) used to return ENOENT for a nonexistent
path and EINVAL for a non-mountpoint, but we can no longer distinguish
between these cases. Of the two error codes, EINVAL was more likely
to occur in practice, and it was the only one of the two that was
documented.

Update the manual page to match the current behaviour.

Suggested by:	tjr
Reviewed by:	tjr
</content>
</entry>
<entry>
<title>Add a new mount flag MNT_BYFSID that can be used to unmount a file</title>
<updated>2003-07-01T17:40:23Z</updated>
<author>
<name>Ian Dowse</name>
<email>iedowse@FreeBSD.org</email>
</author>
<published>2003-07-01T17:40:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=318f2fb4bf0401e59e5959a8315624686028edb7'/>
<id>urn:sha1:318f2fb4bf0401e59e5959a8315624686028edb7</id>
<content type='text'>
system by specifying the file system ID instead of a path. Use this
by default in umount(8). This avoids the need to perform any vnode
operations to look up the mount point, so it makes it possible to
unmount a file system whose root vnode cannot be looked up (e.g.
due to a dead NFS server, or a file system that has become detached
from the hierarchy because an underlying file system was unmounted).
It also provides an unambiguous way to specify which file system is
to be unmunted.

Since the ability to unmount using a path name is retained only for
compatibility, that case now just uses a simple string comparison
of the supplied path against f_mntonname of each mounted file system.

Discussed on:	freebsd-arch
mdoc help from:	ru
</content>
</entry>
<entry>
<title>Separate the description of the flags for mount(2) and unmount(2)</title>
<updated>2003-06-30T22:22:12Z</updated>
<author>
<name>Ian Dowse</name>
<email>iedowse@FreeBSD.org</email>
</author>
<published>2003-06-30T22:22:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ff1db984952159d82e709b06769d9ad790229ee8'/>
<id>urn:sha1:ff1db984952159d82e709b06769d9ad790229ee8</id>
<content type='text'>
to clarify which system call accepts which arguments. Previously
the manual page gave the impression that calling unmount() with
flags of (MNT_FORCE | MNT_UPDATE | MNT_RDONLY) would downgrade a
read-write mount to read-only, which is clearly untrue; to do that,
these flags should be passed to mount() instead.
</content>
</entry>
<entry>
<title>mdoc(7) police: markup laundry.</title>
<updated>2003-02-23T01:47:49Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2003-02-23T01:47:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=522ccf3f353a439b7938a4f10adfab7d912210a2'/>
<id>urn:sha1:522ccf3f353a439b7938a4f10adfab7d912210a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mention the oddities and requirements for mount operations executed by</title>
<updated>2003-01-13T19:42:21Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>2003-01-13T19:42:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b4206324a5dd20c09e181ba9d76b9712c1e56700'/>
<id>urn:sha1:b4206324a5dd20c09e181ba9d76b9712c1e56700</id>
<content type='text'>
non-root users.

PR:		docs/42651
Submitted by:	Thomas Seck &lt;tmseck@netcologne.de&gt;
MFC after:	3 days
</content>
</entry>
<entry>
<title>mdoc(7) police: "The .Fa argument.".</title>
<updated>2002-12-19T09:40:28Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2002-12-19T09:40:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2efeeba554cbd7bdee9cfe17641c8bd335c7972f'/>
<id>urn:sha1:2efeeba554cbd7bdee9cfe17641c8bd335c7972f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mdoc(7) police: Fixed abuses of the .Ar and .Em macros.</title>
<updated>2002-12-18T13:33:04Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2002-12-18T13:33:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5c564bae0a7655b1a517f322ad410a743e98e8d2'/>
<id>urn:sha1:5c564bae0a7655b1a517f322ad410a743e98e8d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mdoc(7) police: Tidy up the syscall language.</title>
<updated>2002-12-18T09:22:32Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2002-12-18T09:22:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3'/>
<id>urn:sha1:2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3</id>
<content type='text'>
Stop calling system calls "function calls".

Use "The .Fn system call" a-la "The .Nm utility".

When referring to a non-BSD implementation in
the HISTORY section, call syscall a function,
to be safe.
</content>
</entry>
<entry>
<title>Uniformly refer to a file system as "file system".</title>
<updated>2002-12-12T17:26:04Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2002-12-12T17:26:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8d5d039f80a8d31947f4e84af20e8a56d0009c32'/>
<id>urn:sha1:8d5d039f80a8d31947f4e84af20e8a56d0009c32</id>
<content type='text'>
Approved by:	re
</content>
</entry>
<entry>
<title>mdoc(7) police: Use the new .In macro for #include statements.</title>
<updated>2001-10-01T16:09:29Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2001-10-01T16:09:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=32eef9aeb1f39a1623cea55da147c89abbd5b9a5'/>
<id>urn:sha1:32eef9aeb1f39a1623cea55da147c89abbd5b9a5</id>
<content type='text'>
</content>
</entry>
</feed>
