summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/nls/ru_RU.KOI8-R.msg8
-rw-r--r--lib/libc/sys/quotactl.222
2 files changed, 22 insertions, 8 deletions
diff --git a/lib/libc/nls/ru_RU.KOI8-R.msg b/lib/libc/nls/ru_RU.KOI8-R.msg
index 431bc27..55233b9 100644
--- a/lib/libc/nls/ru_RU.KOI8-R.msg
+++ b/lib/libc/nls/ru_RU.KOI8-R.msg
@@ -114,7 +114,7 @@ $ ENETRESET
$ ECONNABORTED
53 Программа вызвала аварийное прекращение подключения
$ ECONNRESET
-54 Подключение сброшено противоположной стороной
+54 Подключение сброшено противоположной строной
$ ENOBUFS
55 Не осталось места под буфер
$ EISCONN
@@ -146,7 +146,7 @@ $ EUSERS
$ EDQUOT
69 Превзойдена дисковая квота
$ ESTALE
-70 Устаревший дескриптор файла NFS
+70 Устаревший декриптор файла NFS
$ EREMOTE
71 Слишком много дистанционных переходов в пути
$ EBADRPC
@@ -180,9 +180,9 @@ $ ECANCELED
$ EILSEQ
86 Недопустимая последовательность байтов
$ ENOATTR
-87 Атрибут не найден
+87 Аттрибут не найден
$ EDOOFUS
-88 Ошибка программирования
+88 Ошибка програмирования
$
$ strsignal() support catalog
$
diff --git a/lib/libc/sys/quotactl.2 b/lib/libc/sys/quotactl.2
index 4b4dca5..ff3cb4b 100644
--- a/lib/libc/sys/quotactl.2
+++ b/lib/libc/sys/quotactl.2
@@ -84,7 +84,7 @@ and group identifiers (GRPQUOTA).
The
.Dq ufs
specific commands are:
-.Bl -tag -width Q_QUOTAOFFxx
+.Bl -tag -width Q_GETQUOTASIZEx
.It Dv Q_QUOTAON
Enable disk quotas for the file system specified by
.Fa path .
@@ -110,6 +110,17 @@ and
.Fa id
arguments are unused.
Only the super-user may turn quotas off.
+.It Dv Q_GETQUOTASIZE
+Get the wordsize used to represent the quotas for the user or group
+(as determined by the command type).
+Possible values are 32 for the old-style quota file
+and 64 for the new-style quota file.
+The
+.Fa addr
+argument is a pointer to an integer into which the size is stored.
+The identifier
+.Fa id
+is not used.
.It Dv Q_GETQUOTA
Get disk quota limits and current usage for the user or group
(as determined by the command type) with identifier
@@ -177,9 +188,11 @@ The
argument
or the command type is invalid.
In
-.Dv Q_GETQUOTA
-and
+.Dv Q_GETQUOTASIZE ,
+.Dv Q_GETQUOTA ,
.Dv Q_SETQUOTA ,
+and
+.Dv Q_SETUSE ,
quotas are not currently enabled for this file system.
.Pp
The
@@ -208,7 +221,8 @@ Too many symbolic links were encountered in translating a pathname.
.It Bq Er EROFS
In
.Dv Q_QUOTAON ,
-the quota file resides on a read-only file system.
+either the file system on which quotas are to be enabled is mounted read-only
+or the quota file resides on a read-only file system.
.It Bq Er EIO
An
.Tn I/O
OpenPOWER on IntegriCloud