Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libutil Use table instead of a list.



details:   https://anonhg.NetBSD.org/src/rev/16ca4b9ed927
branches:  trunk
changeset: 754564:16ca4b9ed927
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Tue May 04 06:53:35 2010 +0000

description:
Use table instead of a list.

diffstat:

 lib/libutil/stat_flags.3 |  41 ++++++++++++++++++++++-------------------
 1 files changed, 22 insertions(+), 19 deletions(-)

diffs (65 lines):

diff -r 18c5d51aaaa9 -r 16ca4b9ed927 lib/libutil/stat_flags.3
--- a/lib/libutil/stat_flags.3  Tue May 04 06:41:27 2010 +0000
+++ b/lib/libutil/stat_flags.3  Tue May 04 06:53:35 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: stat_flags.3,v 1.5 2008/04/30 13:10:52 martin Exp $
+.\" $NetBSD: stat_flags.3,v 1.6 2010/05/04 06:53:35 jruoho Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December 14, 2006
+.Dd May 4, 2010
 .Dt STAT_FLAGS 3
 .Os
 .Sh NAME
@@ -58,26 +58,29 @@
 structure.
 .Pp
 They recognize the following flags:
-.Bl -tag -width "schg (SF_IMMUTABLE)"
-.It Dv arch Pq Dv SF_ARCHIVED
-file is archived.
-.It Dv nodump Pq Dv UF_NODUMP
-do not dump file.
-.It Dv opaque Pq Dv UF_OPAQUE
-directory is opaque in union filesystems.
-.It Dv sappnd Pq Dv SF_APPEND
-writes to the file may only append (superuser only).
-.It Dv schg Pq Dv SF_IMMUTABLE
-file cannot be changed, is immutable (superuser only).
-.It Dv snap Pq Dv SF_SNAPSHOT
-file is snapshot inode.
-.It Dv uappnd Pq Dv UF_APPEND
-writes to the file may only append (user only).
-.It Dv uchg Pq Dv UF_IMMUTABLE
-file cannot be changed, is immutable (user only).
+.Bl -column -offset indent "uappnd " "SF_IMMUTABLE" "xxx"
+.It Sy String Ta Sy Flag Ta Sy Description
+.It Va arch Ta Dv SF_ARCHIVED Ta file is archived
+.It Va nodump Ta Dv UF_NODUMP Ta do not dump file
+.It Va opaque Ta Dv UF_OPAQUE Ta directory is opaque in union filesystems
+.It Va sappnd Ta Dv SF_APPEND Ta writes to the file may only append
+.It Va schg Ta Dv SF_IMMUTABLE Ta file cannot be changed; it is immutable
+.It Va snap Ta Dv SF_SNAPSHOT Ta file is a snapshot inode
+.It Va uappnd Ta Dv UF_APPEND Ta writes to the file may only append
+.It Va uchg Ta Dv UF_IMMUTABLE Ta file cannot be changed; it is immutable
 .El
 .Pp
 The
+.Dv SF_APPEND
+and
+.Dv SF_IMMUTABLE
+flags are for the superuser only, whereas
+.Dv UF_APPEND
+and
+.Dv UF_IMMUTABLE
+are for the user only.
+.Pp
+The
 .Fn flags_to_string
 function converts the bits set in the
 .Fa flags



Home | Main Index | Thread Index | Old Index