diff options
author | jhb <jhb@FreeBSD.org> | 2014-03-11 15:28:41 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2014-03-11 15:28:41 +0000 |
commit | cbdb898ddfc732494e2b5679eac39b0b74443173 (patch) | |
tree | f9df5b51ac6f9c996c0d4cbe643b45f1a3abfba2 /usr.sbin/services_mkdb/services_mkdb.8 | |
parent | 6f16f3acfd812427f5aed3cc9b6e1512339e14b7 (diff) | |
download | FreeBSD-src-cbdb898ddfc732494e2b5679eac39b0b74443173.zip FreeBSD-src-cbdb898ddfc732494e2b5679eac39b0b74443173.tar.gz |
MFC 261030:
Similar to cap_mkdb(1), add endianness support to services_mkdb(1)
to support cross-builds once this is invoked during releases.
Diffstat (limited to 'usr.sbin/services_mkdb/services_mkdb.8')
-rw-r--r-- | usr.sbin/services_mkdb/services_mkdb.8 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/usr.sbin/services_mkdb/services_mkdb.8 b/usr.sbin/services_mkdb/services_mkdb.8 index 834423a..e3b70e2 100644 --- a/usr.sbin/services_mkdb/services_mkdb.8 +++ b/usr.sbin/services_mkdb/services_mkdb.8 @@ -37,6 +37,7 @@ .Nd generate the services database .Sh SYNOPSIS .Nm +.Op Fl b | l .Op Fl q .Op Fl o Ar database .Op Ar file @@ -61,6 +62,10 @@ The file must be in the correct format (see .Pp The options are as follows: .Bl -tag -width indent +.It Fl b +Use big-endian byte order for database metadata. +.It Fl l +Use little-endian byte order for database metadata. .It Fl o Ar database Put the output databases in the named file. .It Fl q @@ -70,6 +75,13 @@ Print the services file to stdout, omitting duplicate entries and comments. .El .Pp The databases are used by the C library services routines (see +.Pp +The +.Fl b +and +.Fl l +flags are mutually exclusive. +The default byte ordering is the current host order. .Xr getservent 3 ) . .Sh FILES .Bl -tag -width ".Pa /var/db/services.db.tmp" -compact |