man/openrc.8: update checkpath documentation

X-GENTOO-BUG: 500606
X-GENTOO-BUG-URL: https://bugs.gentoo.org/show_bug.cgi?id=500606
This commit is contained in:
Alexander V Vershilov 2014-02-16 04:08:23 +04:00 committed by William Hubbs
parent f66f41c4f0
commit d59737afb1

View File

@ -322,10 +322,25 @@ Mark the service as inactive.
.Op Fl p , -pipe .Op Fl p , -pipe
.Op Fl m , -mode Ar mode .Op Fl m , -mode Ar mode
.Op Fl o , -owner Ar owner .Op Fl o , -owner Ar owner
.Op Fl q , -quiet
.Ar path ... .Ar path ...
.Xc .Xc
Checks to see if the path exists, is of the right type, owned by the right Checks to see if the path exists, is of the right type, owned by the right
people and has the correct access modes. If not, then it corrects the path. people and has the correct access modes. If not, then it corrects the path.
Type.
File, directory and pipe types are supported, if type is not provided then
directory is used
Mode.
Mode should be provided as a three (644) or four digit string (0644). If mode
is argument is not provided then default value is used: 0644 - for files, and
0775 for directories.
Truncate variant of options create empty directory or file, or clears contents
if it exists.
Quiet argument suppress normal output, repeat quiet argument to suppress errors.
.It Ic checkpath .It Ic checkpath
.Op Fl W , -writable .Op Fl W , -writable
.Ar path .Ar path