On Sat, Jun 8, 2013, at 1:49, Krzysztof Żelechowski wrote: >> The >> .BR rootcontext= >> option allows you to explicitly label the root inode of a FS being mounted >> -before that FS or inode because visable to userspace. This was found to be >> +before that FS or inode because visible to userspace. This was found to be >> useful for things like stateless linux. > > I still do not understand the first sentence. What is that supposed to > mean? Maybe s/because/becomes/? Attached patch makes that change, plus some grammar fixes. Regards, Benno -- http://www.fastmail.fm - Email service worth paying for. Try it for free
From 753acb231f5cbbe846f0cdb0717ad91e8255cb4b Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@xxxxxxxxxxxxx> Date: Sun, 9 Jun 2013 10:50:01 +0200 Subject: [PATCH] docs: fix mistaken word and some grammar in man page of mount MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported-by: Krzysztof Żelechowski <giecrilj@xxxxxxxxxxxx> Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxxxxx> --- sys-utils/mount.8 | 23 +++++++++++------------ 1 files changed, 11 insertions(+), 12 deletions(-) diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index 3ffdb24..a9c68fd 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -946,28 +946,27 @@ filesystem that supports xattr labeling. The .BR rootcontext= option allows you to explicitly label the root inode of a FS being mounted -before that FS or inode because visible to userspace. This was found to be +before that FS or inode becomes visible to userspace. This was found to be useful for things like stateless linux. -Note that kernel rejects any remount request that includes the context -option even if unchanged from the current context. +Note that the kernel rejects any remount request that includes the context +option, \fBeven\fP when unchanged from the current context. -.B Warning that \fIcontext\fP value might contains comma -and in this case the value has to be properly quoted otherwise +.BR "Warning: the \fIcontext\fP value might contain commas" , +in which case the value has to be properly quoted, otherwise .BR mount (8) -will interpret the comma as separator between mount options. Don't forget that -shell strips off quotes and -.BR "double quoting is required" , -for example: +will interpret the comma as a separator between mount options. Don't forget that +the shell strips off quotes and thus +.BR "double quoting is required" . +For example: .RS .RS .sp -mount -t tmpfs none /mnt \-o 'context="system_u:object_r:tmp_t:s0:c127,c456",noexec' +.B mount -t tmpfs none /mnt \-o 'context="system_u:object_r:tmp_t:s0:c127,c456",noexec' .sp .RE - For more details, see -.BR selinux (8) +.BR selinux (8). .RE .TP -- 1.7.0.4