| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:39+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "quotactl" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 28 |
#, no-wrap |
| 29 |
msgid "2026-04-19" |
| 30 |
msgstr "" |
| 31 |
|
| 32 |
#. type: TH |
| 33 |
#: archlinux debian-unstable |
| 34 |
#, no-wrap |
| 35 |
msgid "Linux man-pages 6.18" |
| 36 |
msgstr "" |
| 37 |
|
| 38 |
#. type: SH |
| 39 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 40 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 41 |
#, no-wrap |
| 42 |
msgid "NAME" |
| 43 |
msgstr "" |
| 44 |
|
| 45 |
#. type: Plain text |
| 46 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 47 |
#: opensuse-tumbleweed |
| 48 |
msgid "quotactl, quotactl_fd - manipulate disk quotas" |
| 49 |
msgstr "" |
| 50 |
|
| 51 |
#. type: SH |
| 52 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 53 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 54 |
#, no-wrap |
| 55 |
msgid "LIBRARY" |
| 56 |
msgstr "" |
| 57 |
|
| 58 |
#. type: Plain text |
| 59 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 60 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 61 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 62 |
msgstr "" |
| 63 |
|
| 64 |
#. type: SH |
| 65 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 66 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 67 |
#, no-wrap |
| 68 |
msgid "SYNOPSIS" |
| 69 |
msgstr "" |
| 70 |
|
| 71 |
#. type: Plain text |
| 72 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 73 |
#, no-wrap |
| 74 |
msgid "" |
| 75 |
"B<#include E<lt>xfs/xqm.hE<gt>> /* Definition of B<Q_X*> and B<XFS_QUOTA_*> constants\n" |
| 76 |
" (or B<E<lt>linux/dqblk_xfs.hE<gt>>; see NOTES) */\n" |
| 77 |
"B<#include E<lt>sys/quota.hE<gt>>\n" |
| 78 |
msgstr "" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 82 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 83 |
#, no-wrap |
| 84 |
msgid "" |
| 85 |
"B<int quotactl(int >I<op>B<, const char *_Nullable >I<special>B<, int >I<id>B<,>\n" |
| 86 |
"B< caddr_t >I<addr>B<);>\n" |
| 87 |
msgstr "" |
| 88 |
|
| 89 |
#. type: Plain text |
| 90 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "" |
| 93 |
"B<#include E<lt>xfs/xqm.hE<gt>> /* Definition of B<Q_X*> and B<XFS_QUOTA_*> constants\n" |
| 94 |
" (or B<E<lt>linux/dqblk_xfs.hE<gt>>; see NOTES) */\n" |
| 95 |
"B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n" |
| 96 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 97 |
msgstr "" |
| 98 |
|
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 101 |
#: opensuse-tumbleweed |
| 102 |
#, no-wrap |
| 103 |
msgid "B<int syscall(SYS_quotactl_fd, int >I<fd>B<, int >I<op>B<, int >I<id>B<, caddr_t >I<addr>B<);>\n" |
| 104 |
msgstr "" |
| 105 |
|
| 106 |
#. type: SH |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
#, no-wrap |
| 110 |
msgid "DESCRIPTION" |
| 111 |
msgstr "" |
| 112 |
|
| 113 |
#. type: Plain text |
| 114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 116 |
msgid "" |
| 117 |
"The quota system can be used to set per-user, per-group, and per-project " |
| 118 |
"limits on the amount of disk space used on a filesystem. For each user and/" |
| 119 |
"or group, a soft limit and a hard limit can be set for each filesystem. The " |
| 120 |
"hard limit can't be exceeded. The soft limit can be exceeded, but warnings " |
| 121 |
"will ensue. Moreover, the user can't exceed the soft limit for more than " |
| 122 |
"grace period duration (one week by default) at a time; after this, the soft " |
| 123 |
"limit counts as a hard limit." |
| 124 |
msgstr "" |
| 125 |
|
| 126 |
#. type: Plain text |
| 127 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 128 |
#: opensuse-tumbleweed |
| 129 |
msgid "" |
| 130 |
"The B<quotactl>() and B<quotactl_fd>() calls manipulate disk quotas. The " |
| 131 |
"difference between these functions is the way the filesystem being " |
| 132 |
"manipulated is specified, see description of the arguments below. See NOTES " |
| 133 |
"for why one variant might be preferred over the other." |
| 134 |
msgstr "" |
| 135 |
|
| 136 |
#. 847aac644e92e5624f2c153bab409bf713d5ff9a |
| 137 |
#. type: Plain text |
| 138 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 139 |
#: opensuse-tumbleweed |
| 140 |
msgid "" |
| 141 |
"The I<op> argument indicates an operation to be applied to the user or group " |
| 142 |
"ID specified in I<id>. To initialize the I<op> argument, use the " |
| 143 |
"I<QCMD(subop, type)> macro. The I<type> value is either B<USRQUOTA>, for " |
| 144 |
"user quotas, B<GRPQUOTA>, for group quotas, or (since Linux 4.1) " |
| 145 |
"B<PRJQUOTA>, for project quotas. The I<subop> value is described below." |
| 146 |
msgstr "" |
| 147 |
|
| 148 |
#. type: Plain text |
| 149 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 150 |
#: opensuse-tumbleweed |
| 151 |
msgid "" |
| 152 |
"For B<quotactl>(), the I<special> argument is a pointer to a null-terminated " |
| 153 |
"string containing the pathname of the (mounted) block special device for the " |
| 154 |
"filesystem being manipulated." |
| 155 |
msgstr "" |
| 156 |
|
| 157 |
#. type: Plain text |
| 158 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 159 |
#: opensuse-tumbleweed |
| 160 |
msgid "" |
| 161 |
"For B<quotactl_fd>(), the I<fd> argument is a file descriptor (which may be " |
| 162 |
"opened with the B<O_PATH> flag) referring to a file or directory on the " |
| 163 |
"filesystem being manipulated." |
| 164 |
msgstr "" |
| 165 |
|
| 166 |
#. type: Plain text |
| 167 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 168 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 169 |
msgid "" |
| 170 |
"The I<addr> argument is the address of an optional, operation-specific, data " |
| 171 |
"structure that is copied in or out of the system. The interpretation of " |
| 172 |
"I<addr> is given with each operation below." |
| 173 |
msgstr "" |
| 174 |
|
| 175 |
#. type: Plain text |
| 176 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 177 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 178 |
msgid "The I<subop> value is one of the following operations:" |
| 179 |
msgstr "" |
| 180 |
|
| 181 |
#. type: TP |
| 182 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 183 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 184 |
#, no-wrap |
| 185 |
msgid "B<Q_QUOTAON>" |
| 186 |
msgstr "" |
| 187 |
|
| 188 |
#. type: Plain text |
| 189 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 190 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 191 |
msgid "" |
| 192 |
"Turn on quotas for a filesystem. The I<id> argument is the identification " |
| 193 |
"number of the quota format to be used. Currently, there are three supported " |
| 194 |
"quota formats:" |
| 195 |
msgstr "" |
| 196 |
|
| 197 |
#. type: TP |
| 198 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 199 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 200 |
#, no-wrap |
| 201 |
msgid "B<QFMT_VFS_OLD>" |
| 202 |
msgstr "" |
| 203 |
|
| 204 |
#. type: Plain text |
| 205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 207 |
msgid "The original quota format." |
| 208 |
msgstr "" |
| 209 |
|
| 210 |
#. type: TP |
| 211 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 212 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 213 |
#, no-wrap |
| 214 |
msgid "B<QFMT_VFS_V0>" |
| 215 |
msgstr "" |
| 216 |
|
| 217 |
#. type: Plain text |
| 218 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 219 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 220 |
msgid "" |
| 221 |
"The standard VFS v0 quota format, which can handle 32-bit UIDs and GIDs and " |
| 222 |
"quota limits up to 2\\[ha]42 bytes and 2\\[ha]32 inodes." |
| 223 |
msgstr "" |
| 224 |
|
| 225 |
#. type: TP |
| 226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 228 |
#, no-wrap |
| 229 |
msgid "B<QFMT_VFS_V1>" |
| 230 |
msgstr "" |
| 231 |
|
| 232 |
#. type: Plain text |
| 233 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 234 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 235 |
msgid "" |
| 236 |
"A quota format that can handle 32-bit UIDs and GIDs and quota limits of 2\\" |
| 237 |
"[ha]63 - 1 bytes and 2\\[ha]63 - 1 inodes." |
| 238 |
msgstr "" |
| 239 |
|
| 240 |
#. type: Plain text |
| 241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 243 |
msgid "" |
| 244 |
"The I<addr> argument points to the pathname of a file containing the quotas " |
| 245 |
"for the filesystem. The quota file must exist; it is normally created with " |
| 246 |
"the B<quotacheck>(8) program" |
| 247 |
msgstr "" |
| 248 |
|
| 249 |
#. type: Plain text |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
msgid "" |
| 253 |
"Quota information can be also stored in hidden system inodes for ext4, XFS, " |
| 254 |
"and other filesystems if the filesystem is configured so. In this case, " |
| 255 |
"there are no visible quota files and there is no need to use " |
| 256 |
"B<quotacheck>(8). Quota information is always kept consistent by the " |
| 257 |
"filesystem and the B<Q_QUOTAON> operation serves only to enable enforcement " |
| 258 |
"of quota limits. The presence of hidden system inodes with quota " |
| 259 |
"information is indicated by the B<DQF_SYS_FILE> flag in the I<dqi_flags> " |
| 260 |
"field returned by the B<Q_GETINFO> operation." |
| 261 |
msgstr "" |
| 262 |
|
| 263 |
#. type: Plain text |
| 264 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 265 |
#: opensuse-tumbleweed |
| 266 |
msgid "" |
| 267 |
"The B<quotactl_fd>() variant of this system call ignores the I<addr> and " |
| 268 |
"I<id> arguments, so the B<Q_QUOTAON> operation of B<quotactl_fd>() is only " |
| 269 |
"suitable for work with hidden system inodes." |
| 270 |
msgstr "" |
| 271 |
|
| 272 |
#. type: Plain text |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
msgid "This operation requires privilege (B<CAP_SYS_ADMIN>)." |
| 276 |
msgstr "" |
| 277 |
|
| 278 |
#. type: TP |
| 279 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 280 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 281 |
#, no-wrap |
| 282 |
msgid "B<Q_QUOTAOFF>" |
| 283 |
msgstr "" |
| 284 |
|
| 285 |
#. type: Plain text |
| 286 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 287 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 288 |
msgid "" |
| 289 |
"Turn off quotas for a filesystem. The I<addr> and I<id> arguments are " |
| 290 |
"ignored. This operation requires privilege (B<CAP_SYS_ADMIN>)." |
| 291 |
msgstr "" |
| 292 |
|
| 293 |
#. type: TP |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
#, no-wrap |
| 297 |
msgid "B<Q_GETQUOTA>" |
| 298 |
msgstr "" |
| 299 |
|
| 300 |
#. type: Plain text |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
msgid "" |
| 304 |
"Get disk quota limits and current usage for user or group I<id>. The " |
| 305 |
"I<addr> argument is a pointer to a I<dqblk> structure defined in I<E<lt>sys/" |
| 306 |
"quota.hE<gt>> as follows:" |
| 307 |
msgstr "" |
| 308 |
|
| 309 |
#. type: Plain text |
| 310 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 311 |
#, no-wrap |
| 312 |
msgid "" |
| 313 |
"struct dqblk { /* Definition since Linux 2.4.22 */\n" |
| 314 |
" uint64_t dqb_bhardlimit; /* Absolute limit on disk\n" |
| 315 |
" quota blocks alloc */\n" |
| 316 |
" uint64_t dqb_bsoftlimit; /* Preferred limit on\n" |
| 317 |
" disk quota blocks */\n" |
| 318 |
" uint64_t dqb_curspace; /* Current occupied space\n" |
| 319 |
" (in bytes) */\n" |
| 320 |
" uint64_t dqb_ihardlimit; /* Maximum number of\n" |
| 321 |
" allocated inodes */\n" |
| 322 |
" uint64_t dqb_isoftlimit; /* Preferred inode limit */\n" |
| 323 |
" uint64_t dqb_curinodes; /* Current number of\n" |
| 324 |
" allocated inodes */\n" |
| 325 |
" uint64_t dqb_btime; /* Time limit for excessive\n" |
| 326 |
" disk use */\n" |
| 327 |
" uint64_t dqb_itime; /* Time limit for excessive\n" |
| 328 |
" files */\n" |
| 329 |
" uint32_t dqb_valid; /* Bit mask of QIF_*\n" |
| 330 |
" constants */\n" |
| 331 |
"};\n" |
| 332 |
"\\&\n" |
| 333 |
"/* Flags in dqb_valid that indicate which fields in\n" |
| 334 |
" dqblk structure are valid. */\n" |
| 335 |
"\\&\n" |
| 336 |
"#define QIF_BLIMITS 1\n" |
| 337 |
"#define QIF_SPACE 2\n" |
| 338 |
"#define QIF_ILIMITS 4\n" |
| 339 |
"#define QIF_INODES 8\n" |
| 340 |
"#define QIF_BTIME 16\n" |
| 341 |
"#define QIF_ITIME 32\n" |
| 342 |
"#define QIF_LIMITS (QIF_BLIMITS | QIF_ILIMITS)\n" |
| 343 |
"#define QIF_USAGE (QIF_SPACE | QIF_INODES)\n" |
| 344 |
"#define QIF_TIMES (QIF_BTIME | QIF_ITIME)\n" |
| 345 |
"#define QIF_ALL (QIF_LIMITS | QIF_USAGE | QIF_TIMES)\n" |
| 346 |
msgstr "" |
| 347 |
|
| 348 |
#. type: Plain text |
| 349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
msgid "" |
| 352 |
"The I<dqb_valid> field is a bit mask that is set to indicate the entries in " |
| 353 |
"the I<dqblk> structure that are valid. Currently, the kernel fills in all " |
| 354 |
"entries of the I<dqblk> structure and marks them as valid in the " |
| 355 |
"I<dqb_valid> field. Unprivileged users may retrieve only their own quotas; " |
| 356 |
"a privileged user (B<CAP_SYS_ADMIN>) can retrieve the quotas of any user." |
| 357 |
msgstr "" |
| 358 |
|
| 359 |
#. type: TP |
| 360 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 361 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 362 |
#, no-wrap |
| 363 |
msgid "B<Q_GETNEXTQUOTA> (since Linux 4.6)" |
| 364 |
msgstr "" |
| 365 |
|
| 366 |
#. commit 926132c0257a5a8d149a6a395cc3405e55420566 |
| 367 |
#. type: Plain text |
| 368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 370 |
msgid "" |
| 371 |
"This operation is the same as B<Q_GETQUOTA>, but it returns quota " |
| 372 |
"information for the next ID greater than or equal to I<id> that has a quota " |
| 373 |
"set." |
| 374 |
msgstr "" |
| 375 |
|
| 376 |
#. type: Plain text |
| 377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 379 |
msgid "" |
| 380 |
"The I<addr> argument is a pointer to a I<nextdqblk> structure whose fields " |
| 381 |
"are as for the I<dqblk>, except for the addition of a I<dqb_id> field that " |
| 382 |
"is used to return the ID for which quota information is being returned:" |
| 383 |
msgstr "" |
| 384 |
|
| 385 |
#. type: Plain text |
| 386 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 387 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 388 |
#, no-wrap |
| 389 |
msgid "" |
| 390 |
"struct nextdqblk {\n" |
| 391 |
" uint64_t dqb_bhardlimit;\n" |
| 392 |
" uint64_t dqb_bsoftlimit;\n" |
| 393 |
" uint64_t dqb_curspace;\n" |
| 394 |
" uint64_t dqb_ihardlimit;\n" |
| 395 |
" uint64_t dqb_isoftlimit;\n" |
| 396 |
" uint64_t dqb_curinodes;\n" |
| 397 |
" uint64_t dqb_btime;\n" |
| 398 |
" uint64_t dqb_itime;\n" |
| 399 |
" uint32_t dqb_valid;\n" |
| 400 |
" uint32_t dqb_id;\n" |
| 401 |
"};\n" |
| 402 |
msgstr "" |
| 403 |
|
| 404 |
#. type: TP |
| 405 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 406 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 407 |
#, no-wrap |
| 408 |
msgid "B<Q_SETQUOTA>" |
| 409 |
msgstr "" |
| 410 |
|
| 411 |
#. type: Plain text |
| 412 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 413 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 414 |
msgid "" |
| 415 |
"Set quota information for user or group I<id>, using the information " |
| 416 |
"supplied in the I<dqblk> structure pointed to by I<addr>. The I<dqb_valid> " |
| 417 |
"field of the I<dqblk> structure indicates which entries in the structure " |
| 418 |
"have been set by the caller. This operation supersedes the B<Q_SETQLIM> and " |
| 419 |
"B<Q_SETUSE> operations in the previous quota interfaces. This operation " |
| 420 |
"requires privilege (B<CAP_SYS_ADMIN>)." |
| 421 |
msgstr "" |
| 422 |
|
| 423 |
#. type: TP |
| 424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
#, no-wrap |
| 427 |
msgid "B<Q_GETINFO> (since Linux 2.4.22)" |
| 428 |
msgstr "" |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
msgid "" |
| 434 |
"Get information (like grace times) about quotafile. The I<addr> argument " |
| 435 |
"should be a pointer to a I<dqinfo> structure. This structure is defined in " |
| 436 |
"I<E<lt>sys/quota.hE<gt>> as follows:" |
| 437 |
msgstr "" |
| 438 |
|
| 439 |
#. type: Plain text |
| 440 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 441 |
#, no-wrap |
| 442 |
msgid "" |
| 443 |
"struct dqinfo { /* Defined since Linux 2.4.22 */\n" |
| 444 |
" uint64_t dqi_bgrace; /* Time before block soft limit\n" |
| 445 |
" becomes hard limit */\n" |
| 446 |
" uint64_t dqi_igrace; /* Time before inode soft limit\n" |
| 447 |
" becomes hard limit */\n" |
| 448 |
" uint32_t dqi_flags; /* Flags for quotafile\n" |
| 449 |
" (DQF_*) */\n" |
| 450 |
" uint32_t dqi_valid;\n" |
| 451 |
"};\n" |
| 452 |
"\\&\n" |
| 453 |
"/* Bits for dqi_flags */\n" |
| 454 |
"\\&\n" |
| 455 |
"/* Quota format QFMT_VFS_OLD */\n" |
| 456 |
"\\&\n" |
| 457 |
"#define DQF_ROOT_SQUASH (1 E<lt>E<lt> 0) /* Root squash enabled */\n" |
| 458 |
" /* Before Linux 4.0, this had been defined\n" |
| 459 |
" privately as V1_DQF_RSQUASH */\n" |
| 460 |
"\\&\n" |
| 461 |
"/* Quota format QFMT_VFS_V0 / QFMT_VFS_V1 */\n" |
| 462 |
"\\&\n" |
| 463 |
"#define DQF_SYS_FILE (1 E<lt>E<lt> 16) /* Quota stored in\n" |
| 464 |
" a system file */\n" |
| 465 |
"\\&\n" |
| 466 |
"/* Flags in dqi_valid that indicate which fields in\n" |
| 467 |
" dqinfo structure are valid. */\n" |
| 468 |
"\\&\n" |
| 469 |
"#define IIF_BGRACE 1\n" |
| 470 |
"#define IIF_IGRACE 2\n" |
| 471 |
"#define IIF_FLAGS 4\n" |
| 472 |
"#define IIF_ALL (IIF_BGRACE | IIF_IGRACE | IIF_FLAGS)\n" |
| 473 |
msgstr "" |
| 474 |
|
| 475 |
#. type: Plain text |
| 476 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 477 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 478 |
msgid "" |
| 479 |
"The I<dqi_valid> field in the I<dqinfo> structure indicates the entries in " |
| 480 |
"the structure that are valid. Currently, the kernel fills in all entries of " |
| 481 |
"the I<dqinfo> structure and marks them all as valid in the I<dqi_valid> " |
| 482 |
"field. The I<id> argument is ignored." |
| 483 |
msgstr "" |
| 484 |
|
| 485 |
#. type: TP |
| 486 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 487 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 488 |
#, no-wrap |
| 489 |
msgid "B<Q_SETINFO> (since Linux 2.4.22)" |
| 490 |
msgstr "" |
| 491 |
|
| 492 |
#. type: Plain text |
| 493 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 494 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 495 |
msgid "" |
| 496 |
"Set information about quotafile. The I<addr> argument should be a pointer " |
| 497 |
"to a I<dqinfo> structure. The I<dqi_valid> field of the I<dqinfo> structure " |
| 498 |
"indicates the entries in the structure that have been set by the caller. " |
| 499 |
"This operation supersedes the B<Q_SETGRACE> and B<Q_SETFLAGS> operations in " |
| 500 |
"the previous quota interfaces. The I<id> argument is ignored. This " |
| 501 |
"operation requires privilege (B<CAP_SYS_ADMIN>)." |
| 502 |
msgstr "" |
| 503 |
|
| 504 |
#. type: TP |
| 505 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 506 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 507 |
#, no-wrap |
| 508 |
msgid "B<Q_GETFMT> (since Linux 2.4.22)" |
| 509 |
msgstr "" |
| 510 |
|
| 511 |
#. type: Plain text |
| 512 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 513 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 514 |
msgid "" |
| 515 |
"Get quota format used on the specified filesystem. The I<addr> argument " |
| 516 |
"should be a pointer to a 4-byte buffer where the format number will be " |
| 517 |
"stored." |
| 518 |
msgstr "" |
| 519 |
|
| 520 |
#. type: TP |
| 521 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 522 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 523 |
#, no-wrap |
| 524 |
msgid "B<Q_SYNC>" |
| 525 |
msgstr "" |
| 526 |
|
| 527 |
#. type: Plain text |
| 528 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 529 |
#: opensuse-tumbleweed |
| 530 |
msgid "" |
| 531 |
"Update the on-disk copy of quota usages for a filesystem. For " |
| 532 |
"B<quotactl>(), if I<special> is NULL, then all filesystems with active " |
| 533 |
"quotas are sync'ed. (B<quotactl_fd>() always sync's only one filesystem.) " |
| 534 |
"In both cases, the I<addr> and I<id> arguments are ignored." |
| 535 |
msgstr "" |
| 536 |
|
| 537 |
#. type: TP |
| 538 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 539 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 540 |
#, no-wrap |
| 541 |
msgid "B<Q_GETSTATS> (supported up to Linux 2.4.21)" |
| 542 |
msgstr "" |
| 543 |
|
| 544 |
#. type: Plain text |
| 545 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 546 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 547 |
msgid "" |
| 548 |
"Get statistics and other generic information about the quota subsystem. The " |
| 549 |
"I<addr> argument should be a pointer to a I<dqstats> structure in which data " |
| 550 |
"should be stored. This structure is defined in I<E<lt>sys/quota.hE<gt>>. " |
| 551 |
"The I<special> and I<id> arguments are ignored." |
| 552 |
msgstr "" |
| 553 |
|
| 554 |
#. type: Plain text |
| 555 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 556 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 557 |
msgid "" |
| 558 |
"This operation is obsolete and was removed in Linux 2.4.22. Files in I</" |
| 559 |
"proc/sys/fs/quota/> carry the information instead." |
| 560 |
msgstr "" |
| 561 |
|
| 562 |
#. type: Plain text |
| 563 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 564 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 565 |
msgid "" |
| 566 |
"For XFS filesystems making use of the XFS Quota Manager (XQM), the above " |
| 567 |
"operations are bypassed and the following operations are used:" |
| 568 |
msgstr "" |
| 569 |
|
| 570 |
#. type: TP |
| 571 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 572 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 573 |
#, no-wrap |
| 574 |
msgid "B<Q_XQUOTAON>" |
| 575 |
msgstr "" |
| 576 |
|
| 577 |
#. type: Plain text |
| 578 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 579 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 580 |
msgid "" |
| 581 |
"Turn on quotas for an XFS filesystem. XFS provides the ability to turn on/" |
| 582 |
"off quota limit enforcement with quota accounting. Therefore, XFS expects " |
| 583 |
"I<addr> to be a pointer to an I<unsigned int> that contains a bitwise " |
| 584 |
"combination of the following flags (defined in I<E<lt>xfs/xqm.hE<gt>>):" |
| 585 |
msgstr "" |
| 586 |
|
| 587 |
#. type: Plain text |
| 588 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 589 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 590 |
#, no-wrap |
| 591 |
msgid "" |
| 592 |
"XFS_QUOTA_UDQ_ACCT /* User quota accounting */\n" |
| 593 |
"XFS_QUOTA_UDQ_ENFD /* User quota limits enforcement */\n" |
| 594 |
"XFS_QUOTA_GDQ_ACCT /* Group quota accounting */\n" |
| 595 |
"XFS_QUOTA_GDQ_ENFD /* Group quota limits enforcement */\n" |
| 596 |
"XFS_QUOTA_PDQ_ACCT /* Project quota accounting */\n" |
| 597 |
"XFS_QUOTA_PDQ_ENFD /* Project quota limits enforcement */\n" |
| 598 |
msgstr "" |
| 599 |
|
| 600 |
#. type: Plain text |
| 601 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 602 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 603 |
msgid "" |
| 604 |
"This operation requires privilege (B<CAP_SYS_ADMIN>). The I<id> argument is " |
| 605 |
"ignored." |
| 606 |
msgstr "" |
| 607 |
|
| 608 |
#. type: TP |
| 609 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 610 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 611 |
#, no-wrap |
| 612 |
msgid "B<Q_XQUOTAOFF>" |
| 613 |
msgstr "" |
| 614 |
|
| 615 |
#. type: Plain text |
| 616 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 617 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 618 |
msgid "" |
| 619 |
"Turn off quotas for an XFS filesystem. As with B<Q_QUOTAON>, XFS " |
| 620 |
"filesystems expect a pointer to an I<unsigned int> that specifies whether " |
| 621 |
"quota accounting and/or limit enforcement need to be turned off (using the " |
| 622 |
"same flags as for B<Q_XQUOTAON> operation). This operation requires " |
| 623 |
"privilege (B<CAP_SYS_ADMIN>). The I<id> argument is ignored." |
| 624 |
msgstr "" |
| 625 |
|
| 626 |
#. type: TP |
| 627 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 628 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 629 |
#, no-wrap |
| 630 |
msgid "B<Q_XGETQUOTA>" |
| 631 |
msgstr "" |
| 632 |
|
| 633 |
#. type: Plain text |
| 634 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 635 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 636 |
msgid "" |
| 637 |
"Get disk quota limits and current usage for user I<id>. The I<addr> " |
| 638 |
"argument is a pointer to an I<fs_disk_quota> structure, which is defined in " |
| 639 |
"I<E<lt>xfs/xqm.hE<gt>> as follows:" |
| 640 |
msgstr "" |
| 641 |
|
| 642 |
#. type: Plain text |
| 643 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 644 |
#: opensuse-tumbleweed |
| 645 |
#, no-wrap |
| 646 |
msgid "" |
| 647 |
"/* All the blk units are in BBs (Basic Blocks) of\n" |
| 648 |
" 512 bytes. */\n" |
| 649 |
"\\&\n" |
| 650 |
"#define FS_DQUOT_VERSION 1 /* fs_disk_quota.d_version */\n" |
| 651 |
"\\&\n" |
| 652 |
"#define XFS_USER_QUOTA (1E<lt>E<lt>0) /* User quota type */\n" |
| 653 |
"#define XFS_PROJ_QUOTA (1E<lt>E<lt>1) /* Project quota type */\n" |
| 654 |
"#define XFS_GROUP_QUOTA (1E<lt>E<lt>2) /* Group quota type */\n" |
| 655 |
"\\&\n" |
| 656 |
"struct fs_disk_quota {\n" |
| 657 |
" int8_t d_version; /* Version of this structure */\n" |
| 658 |
" int8_t d_flags; /* XFS_{USER,PROJ,GROUP}_QUOTA */\n" |
| 659 |
" uint16_t d_fieldmask; /* Field specifier */\n" |
| 660 |
" uint32_t d_id; /* User, project, or group ID */\n" |
| 661 |
" uint64_t d_blk_hardlimit; /* Absolute limit on\n" |
| 662 |
" disk blocks */\n" |
| 663 |
" uint64_t d_blk_softlimit; /* Preferred limit on\n" |
| 664 |
" disk blocks */\n" |
| 665 |
" uint64_t d_ino_hardlimit; /* Maximum # allocated\n" |
| 666 |
" inodes */\n" |
| 667 |
" uint64_t d_ino_softlimit; /* Preferred inode limit */\n" |
| 668 |
" uint64_t d_bcount; /* # disk blocks owned by\n" |
| 669 |
" the user */\n" |
| 670 |
" uint64_t d_icount; /* # inodes owned by the user */\n" |
| 671 |
" int32_t d_itimer; /* Zero if within inode limits */\n" |
| 672 |
" /* If not, we refuse service */\n" |
| 673 |
" int32_t d_btimer; /* Similar to above; for\n" |
| 674 |
" disk blocks */\n" |
| 675 |
" uint16_t d_iwarns; /* # warnings issued with\n" |
| 676 |
" respect to # of inodes */\n" |
| 677 |
" uint16_t d_bwarns; /* # warnings issued with\n" |
| 678 |
" respect to disk blocks */\n" |
| 679 |
" int32_t d_padding2; /* Padding - for future use */\n" |
| 680 |
" uint64_t d_rtb_hardlimit; /* Absolute limit on realtime\n" |
| 681 |
" (RT) disk blocks */\n" |
| 682 |
" uint64_t d_rtb_softlimit; /* Preferred limit on RT\n" |
| 683 |
" disk blocks */\n" |
| 684 |
" uint64_t d_rtbcount; /* # realtime blocks owned */\n" |
| 685 |
" int32_t d_rtbtimer; /* Similar to above; for RT\n" |
| 686 |
" disk blocks */\n" |
| 687 |
" uint16_t d_rtbwarns; /* # warnings issued with\n" |
| 688 |
" respect to RT disk blocks */\n" |
| 689 |
" int16_t d_padding3; /* Padding - for future use */\n" |
| 690 |
" char d_padding4[8]; /* Yet more padding */\n" |
| 691 |
"};\n" |
| 692 |
msgstr "" |
| 693 |
|
| 694 |
#. type: Plain text |
| 695 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 696 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 697 |
msgid "" |
| 698 |
"Unprivileged users may retrieve only their own quotas; a privileged user " |
| 699 |
"(B<CAP_SYS_ADMIN>) may retrieve the quotas of any user." |
| 700 |
msgstr "" |
| 701 |
|
| 702 |
#. type: TP |
| 703 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 704 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 705 |
#, no-wrap |
| 706 |
msgid "B<Q_XGETNEXTQUOTA> (since Linux 4.6)" |
| 707 |
msgstr "" |
| 708 |
|
| 709 |
#. commit 8b37524962b9c54423374717786198f5c0820a28 |
| 710 |
#. type: Plain text |
| 711 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 712 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 713 |
msgid "" |
| 714 |
"This operation is the same as B<Q_XGETQUOTA>, but it returns (in the " |
| 715 |
"I<fs_disk_quota> structure pointed by I<addr>) quota information for the " |
| 716 |
"next ID greater than or equal to I<id> that has a quota set. Note that " |
| 717 |
"since I<fs_disk_quota> already has I<q_id> field, no separate structure type " |
| 718 |
"is needed (in contrast with B<Q_GETQUOTA> and B<Q_GETNEXTQUOTA> operations)" |
| 719 |
msgstr "" |
| 720 |
|
| 721 |
#. type: TP |
| 722 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 723 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 724 |
#, no-wrap |
| 725 |
msgid "B<Q_XSETQLIM>" |
| 726 |
msgstr "" |
| 727 |
|
| 728 |
#. type: Plain text |
| 729 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 730 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 731 |
msgid "" |
| 732 |
"Set disk quota limits for user I<id>. The I<addr> argument is a pointer to " |
| 733 |
"an I<fs_disk_quota> structure. This operation requires privilege " |
| 734 |
"(B<CAP_SYS_ADMIN>)." |
| 735 |
msgstr "" |
| 736 |
|
| 737 |
#. type: TP |
| 738 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 739 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 740 |
#, no-wrap |
| 741 |
msgid "B<Q_XGETQSTAT>" |
| 742 |
msgstr "" |
| 743 |
|
| 744 |
#. type: Plain text |
| 745 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 746 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 747 |
msgid "" |
| 748 |
"Returns XFS filesystem-specific quota information in the I<fs_quota_stat> " |
| 749 |
"structure pointed by I<addr>. This is useful for finding out how much space " |
| 750 |
"is used to store quota information, and also to get the quota on/off status " |
| 751 |
"of a given local XFS filesystem. The I<fs_quota_stat> structure itself is " |
| 752 |
"defined as follows:" |
| 753 |
msgstr "" |
| 754 |
|
| 755 |
#. type: Plain text |
| 756 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 757 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 758 |
#, no-wrap |
| 759 |
msgid "" |
| 760 |
"#define FS_QSTAT_VERSION 1 /* fs_quota_stat.qs_version */\n" |
| 761 |
"\\&\n" |
| 762 |
"struct fs_qfilestat {\n" |
| 763 |
" uint64_t qfs_ino; /* Inode number */\n" |
| 764 |
" uint64_t qfs_nblks; /* Number of BBs\n" |
| 765 |
" 512-byte-blocks */\n" |
| 766 |
" uint32_t qfs_nextents; /* Number of extents */\n" |
| 767 |
"};\n" |
| 768 |
"\\&\n" |
| 769 |
"struct fs_quota_stat {\n" |
| 770 |
" int8_t qs_version; /* Version number for\n" |
| 771 |
" future changes */\n" |
| 772 |
" uint16_t qs_flags; /* XFS_QUOTA_{U,P,G}DQ_{ACCT,ENFD} */\n" |
| 773 |
" int8_t qs_pad; /* Unused */\n" |
| 774 |
" struct fs_qfilestat qs_uquota; /* User quota storage\n" |
| 775 |
" information */\n" |
| 776 |
" struct fs_qfilestat qs_gquota; /* Group quota storage\n" |
| 777 |
" information */\n" |
| 778 |
" uint32_t qs_incoredqs; /* Number of dquots in core */\n" |
| 779 |
" int32_t qs_btimelimit; /* Limit for blocks timer */\n" |
| 780 |
" int32_t qs_itimelimit; /* Limit for inodes timer */\n" |
| 781 |
" int32_t qs_rtbtimelimit;/* Limit for RT\n" |
| 782 |
" blocks timer */\n" |
| 783 |
" uint16_t qs_bwarnlimit; /* Limit for # of warnings */\n" |
| 784 |
" uint16_t qs_iwarnlimit; /* Limit for # of warnings */\n" |
| 785 |
"};\n" |
| 786 |
msgstr "" |
| 787 |
|
| 788 |
#. type: Plain text |
| 789 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 790 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 791 |
msgid "The I<id> argument is ignored." |
| 792 |
msgstr "" |
| 793 |
|
| 794 |
#. type: TP |
| 795 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 796 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 797 |
#, no-wrap |
| 798 |
msgid "B<Q_XGETQSTATV>" |
| 799 |
msgstr "" |
| 800 |
|
| 801 |
#. type: Plain text |
| 802 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 803 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 804 |
msgid "" |
| 805 |
"Returns XFS filesystem-specific quota information in the I<fs_quota_statv> " |
| 806 |
"pointed to by I<addr>. This version of the operation uses a structure with " |
| 807 |
"proper versioning support, along with appropriate layout (all fields are " |
| 808 |
"naturally aligned) and padding to avoiding special compat handling; it also " |
| 809 |
"provides the ability to get statistics regarding the project quota file. " |
| 810 |
"The I<fs_quota_statv> structure itself is defined as follows:" |
| 811 |
msgstr "" |
| 812 |
|
| 813 |
#. type: Plain text |
| 814 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 815 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 816 |
#, no-wrap |
| 817 |
msgid "" |
| 818 |
"#define FS_QSTATV_VERSION1 1 /* fs_quota_statv.qs_version */\n" |
| 819 |
"\\&\n" |
| 820 |
"struct fs_qfilestatv {\n" |
| 821 |
" uint64_t qfs_ino; /* Inode number */\n" |
| 822 |
" uint64_t qfs_nblks; /* Number of BBs\n" |
| 823 |
" 512-byte-blocks */\n" |
| 824 |
" uint32_t qfs_nextents; /* Number of extents */\n" |
| 825 |
" uint32_t qfs_pad; /* Pad for 8-byte alignment */\n" |
| 826 |
"};\n" |
| 827 |
"\\&\n" |
| 828 |
"struct fs_quota_statv {\n" |
| 829 |
" int8_t qs_version; /* Version for future\n" |
| 830 |
" changes */\n" |
| 831 |
" uint8_t qs_pad1; /* Pad for 16-bit alignment */\n" |
| 832 |
" uint16_t qs_flags; /* XFS_QUOTA_.* flags */\n" |
| 833 |
" uint32_t qs_incoredqs; /* Number of dquots incore */\n" |
| 834 |
" struct fs_qfilestatv qs_uquota; /* User quota\n" |
| 835 |
" information */\n" |
| 836 |
" struct fs_qfilestatv qs_gquota; /* Group quota\n" |
| 837 |
" information */\n" |
| 838 |
" struct fs_qfilestatv qs_pquota; /* Project quota\n" |
| 839 |
" information */\n" |
| 840 |
" int32_t qs_btimelimit; /* Limit for blocks timer */\n" |
| 841 |
" int32_t qs_itimelimit; /* Limit for inodes timer */\n" |
| 842 |
" int32_t qs_rtbtimelimit; /* Limit for RT blocks\n" |
| 843 |
" timer */\n" |
| 844 |
" uint16_t qs_bwarnlimit; /* Limit for # of warnings */\n" |
| 845 |
" uint16_t qs_iwarnlimit; /* Limit for # of warnings */\n" |
| 846 |
" uint64_t qs_pad2[8]; /* For future proofing */\n" |
| 847 |
"};\n" |
| 848 |
msgstr "" |
| 849 |
|
| 850 |
#. type: Plain text |
| 851 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 852 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 853 |
msgid "" |
| 854 |
"The I<qs_version> field of the structure should be filled with the version " |
| 855 |
"of the structure supported by the callee (for now, only I<FS_QSTAT_VERSION1> " |
| 856 |
"is supported). The kernel will fill the structure in accordance with " |
| 857 |
"version provided. The I<id> argument is ignored." |
| 858 |
msgstr "" |
| 859 |
|
| 860 |
#. type: TP |
| 861 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 862 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 863 |
#, no-wrap |
| 864 |
msgid "B<Q_XQUOTARM> (buggy until Linux 3.16)" |
| 865 |
msgstr "" |
| 866 |
|
| 867 |
#. 9da93f9b7cdf8ab28da6b364cdc1fafc8670b4dc |
| 868 |
#. type: Plain text |
| 869 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 870 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 871 |
msgid "" |
| 872 |
"Free the disk space taken by disk quotas. The I<addr> argument should be a " |
| 873 |
"pointer to an I<unsigned int> value containing flags (the same as in " |
| 874 |
"I<d_flags> field of I<fs_disk_quota> structure) which identify what types " |
| 875 |
"of quota should be removed. (Note that the quota type passed in the I<op> " |
| 876 |
"argument is ignored, but should remain valid in order to pass preliminary " |
| 877 |
"quotactl syscall handler checks.)" |
| 878 |
msgstr "" |
| 879 |
|
| 880 |
#. type: Plain text |
| 881 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 882 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 883 |
msgid "" |
| 884 |
"Quotas must have already been turned off. The I<id> argument is ignored." |
| 885 |
msgstr "" |
| 886 |
|
| 887 |
#. type: TP |
| 888 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 889 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 890 |
#, no-wrap |
| 891 |
msgid "B<Q_XQUOTASYNC> (since Linux 2.6.15; no-op since Linux 3.4)" |
| 892 |
msgstr "" |
| 893 |
|
| 894 |
#. Added in commit ee34807a65aa0c5911dc27682863afca780a003e |
| 895 |
#. 4b217ed9e30f94b6e8e5e262020ef0ceab6113af |
| 896 |
#. type: Plain text |
| 897 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 898 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 899 |
msgid "" |
| 900 |
"This operation was an XFS quota equivalent to B<Q_SYNC>, but it is no-op " |
| 901 |
"since Linux 3.4, as B<sync>(1) writes quota information to disk now (in " |
| 902 |
"addition to the other filesystem metadata that it writes out). The " |
| 903 |
"I<special>, I<id> and I<addr> arguments are ignored." |
| 904 |
msgstr "" |
| 905 |
|
| 906 |
#. type: SH |
| 907 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 908 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 909 |
#, no-wrap |
| 910 |
msgid "RETURN VALUE" |
| 911 |
msgstr "" |
| 912 |
|
| 913 |
#. type: Plain text |
| 914 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 915 |
#: opensuse-tumbleweed |
| 916 |
msgid "" |
| 917 |
"On success, B<quotactl>() returns 0; on error, -1 is returned, and I<errno> " |
| 918 |
"is set to indicate the error." |
| 919 |
msgstr "" |
| 920 |
|
| 921 |
#. type: SH |
| 922 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 923 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 924 |
#, no-wrap |
| 925 |
msgid "ERRORS" |
| 926 |
msgstr "" |
| 927 |
|
| 928 |
#. type: TP |
| 929 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 930 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 931 |
#, no-wrap |
| 932 |
msgid "B<EACCES>" |
| 933 |
msgstr "" |
| 934 |
|
| 935 |
#. type: Plain text |
| 936 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 937 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 938 |
msgid "" |
| 939 |
"I<op> is B<Q_QUOTAON>, and the quota file pointed to by I<addr> exists, but " |
| 940 |
"is not a regular file or is not on the filesystem pointed to by I<special>." |
| 941 |
msgstr "" |
| 942 |
|
| 943 |
#. type: TP |
| 944 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 945 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 946 |
#, no-wrap |
| 947 |
msgid "B<EBUSY>" |
| 948 |
msgstr "" |
| 949 |
|
| 950 |
#. type: Plain text |
| 951 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 952 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 953 |
msgid "" |
| 954 |
"I<op> is B<Q_QUOTAON>, but another B<Q_QUOTAON> had already been performed." |
| 955 |
msgstr "" |
| 956 |
|
| 957 |
#. type: TP |
| 958 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 959 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 960 |
#, no-wrap |
| 961 |
msgid "B<EFAULT>" |
| 962 |
msgstr "" |
| 963 |
|
| 964 |
#. type: Plain text |
| 965 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 966 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 967 |
msgid "I<addr> or I<special> is invalid." |
| 968 |
msgstr "" |
| 969 |
|
| 970 |
#. type: TP |
| 971 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 972 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 973 |
#, no-wrap |
| 974 |
msgid "B<EINVAL>" |
| 975 |
msgstr "" |
| 976 |
|
| 977 |
#. type: Plain text |
| 978 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 979 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 980 |
msgid "I<op> or I<type> is invalid." |
| 981 |
msgstr "" |
| 982 |
|
| 983 |
#. type: Plain text |
| 984 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 985 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 986 |
msgid "I<op> is B<Q_QUOTAON>, but the specified quota file is corrupted." |
| 987 |
msgstr "" |
| 988 |
|
| 989 |
#. type: TP |
| 990 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 991 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 992 |
#, no-wrap |
| 993 |
msgid "B<EINVAL> (since Linux 5.5)" |
| 994 |
msgstr "" |
| 995 |
|
| 996 |
#. 3dd4d40b420846dd35869ccc8f8627feef2cff32 |
| 997 |
#. type: Plain text |
| 998 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 999 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1000 |
msgid "" |
| 1001 |
"I<op> is B<Q_XQUOTARM>, but I<addr> does not point to valid quota types." |
| 1002 |
msgstr "" |
| 1003 |
|
| 1004 |
#. type: TP |
| 1005 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1006 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1007 |
#, no-wrap |
| 1008 |
msgid "B<ENOENT>" |
| 1009 |
msgstr "" |
| 1010 |
|
| 1011 |
#. type: Plain text |
| 1012 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1013 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1014 |
msgid "The file specified by I<special> or I<addr> does not exist." |
| 1015 |
msgstr "" |
| 1016 |
|
| 1017 |
#. type: TP |
| 1018 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1019 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1020 |
#, no-wrap |
| 1021 |
msgid "B<ENOSYS>" |
| 1022 |
msgstr "" |
| 1023 |
|
| 1024 |
#. type: Plain text |
| 1025 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1026 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1027 |
msgid "The kernel has not been compiled with the B<CONFIG_QUOTA> option." |
| 1028 |
msgstr "" |
| 1029 |
|
| 1030 |
#. type: TP |
| 1031 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1032 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1033 |
#, no-wrap |
| 1034 |
msgid "B<ENOTBLK>" |
| 1035 |
msgstr "" |
| 1036 |
|
| 1037 |
#. type: Plain text |
| 1038 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1039 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1040 |
msgid "I<special> is not a block device." |
| 1041 |
msgstr "" |
| 1042 |
|
| 1043 |
#. type: TP |
| 1044 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1045 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1046 |
#, no-wrap |
| 1047 |
msgid "B<EPERM>" |
| 1048 |
msgstr "" |
| 1049 |
|
| 1050 |
#. type: Plain text |
| 1051 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1052 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1053 |
msgid "" |
| 1054 |
"The caller lacked the required privilege (B<CAP_SYS_ADMIN>) for the " |
| 1055 |
"specified operation." |
| 1056 |
msgstr "" |
| 1057 |
|
| 1058 |
#. type: TP |
| 1059 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1060 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1061 |
#, no-wrap |
| 1062 |
msgid "B<ERANGE>" |
| 1063 |
msgstr "" |
| 1064 |
|
| 1065 |
#. type: Plain text |
| 1066 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1067 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1068 |
msgid "" |
| 1069 |
"I<op> is B<Q_SETQUOTA>, but the specified limits are out of the range " |
| 1070 |
"allowed by the quota format." |
| 1071 |
msgstr "" |
| 1072 |
|
| 1073 |
#. type: TP |
| 1074 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1075 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1076 |
#, no-wrap |
| 1077 |
msgid "B<ESRCH>" |
| 1078 |
msgstr "" |
| 1079 |
|
| 1080 |
#. type: Plain text |
| 1081 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1082 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1083 |
msgid "" |
| 1084 |
"No disk quota is found for the indicated user. Quotas have not been turned " |
| 1085 |
"on for this filesystem." |
| 1086 |
msgstr "" |
| 1087 |
|
| 1088 |
#. type: Plain text |
| 1089 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1090 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1091 |
msgid "I<op> is B<Q_QUOTAON>, but the specified quota format was not found." |
| 1092 |
msgstr "" |
| 1093 |
|
| 1094 |
#. type: Plain text |
| 1095 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1096 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1097 |
msgid "" |
| 1098 |
"I<op> is B<Q_GETNEXTQUOTA> or B<Q_XGETNEXTQUOTA>, but there is no ID greater " |
| 1099 |
"than or equal to I<id> that has an active quota." |
| 1100 |
msgstr "" |
| 1101 |
|
| 1102 |
#. type: SH |
| 1103 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1104 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1105 |
#, no-wrap |
| 1106 |
msgid "NOTES" |
| 1107 |
msgstr "" |
| 1108 |
|
| 1109 |
#. type: SS |
| 1110 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1111 |
#: opensuse-tumbleweed |
| 1112 |
#, no-wrap |
| 1113 |
msgid "Alternative XFS header" |
| 1114 |
msgstr "" |
| 1115 |
|
| 1116 |
#. type: Plain text |
| 1117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1119 |
msgid "" |
| 1120 |
"Instead of I<E<lt>xfs/xqm.hE<gt>> one can use I<E<lt>linux/" |
| 1121 |
"dqblk_xfs.hE<gt>>, taking into account that there are several naming " |
| 1122 |
"discrepancies:" |
| 1123 |
msgstr "" |
| 1124 |
|
| 1125 |
#. type: IP |
| 1126 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1127 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1128 |
#, no-wrap |
| 1129 |
msgid "\\[bu]" |
| 1130 |
msgstr "" |
| 1131 |
|
| 1132 |
#. type: Plain text |
| 1133 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1134 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1135 |
msgid "" |
| 1136 |
"Quota enabling flags (of format B<XFS_QUOTA_[UGP]DQ_{ACCT,ENFD}>) are " |
| 1137 |
"defined without a leading \"X\", as B<FS_QUOTA_[UGP]DQ_{ACCT,ENFD}>." |
| 1138 |
msgstr "" |
| 1139 |
|
| 1140 |
#. type: Plain text |
| 1141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1143 |
msgid "" |
| 1144 |
"The same is true for B<XFS_{USER,GROUP,PROJ}_QUOTA> quota type flags, which " |
| 1145 |
"are defined as B<FS_{USER,GROUP,PROJ}_QUOTA>." |
| 1146 |
msgstr "" |
| 1147 |
|
| 1148 |
#. type: Plain text |
| 1149 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1150 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1151 |
msgid "" |
| 1152 |
"The I<dqblk_xfs.h> header file defines its own B<XQM_USRQUOTA>, " |
| 1153 |
"B<XQM_GRPQUOTA>, and B<XQM_PRJQUOTA> constants for the available quota " |
| 1154 |
"types, but their values are the same as for constants without the B<XQM_> " |
| 1155 |
"prefix." |
| 1156 |
msgstr "" |
| 1157 |
|
| 1158 |
#. type: SS |
| 1159 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1160 |
#: opensuse-tumbleweed |
| 1161 |
#, no-wrap |
| 1162 |
msgid "quotactl() versus quotactl_fd()" |
| 1163 |
msgstr "" |
| 1164 |
|
| 1165 |
#. type: Plain text |
| 1166 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1167 |
#: opensuse-tumbleweed |
| 1168 |
msgid "" |
| 1169 |
"The original B<quotactl>() variant of this system call requires specifying " |
| 1170 |
"the block device containing the filesystem to operate on. This makes it " |
| 1171 |
"impossible to use in cases where the filesystem has no backing block device " |
| 1172 |
"(e.g., tmpfs). Even when the block device does exist, it might be difficult " |
| 1173 |
"to locate (requires scanning I</proc/self/mounts> and even some filesystem-" |
| 1174 |
"specific parsing in the case of, for example, bcachefs). B<quotactl_fd>() " |
| 1175 |
"instead works on the mount point, which avoids this limitation and is " |
| 1176 |
"simpler to use (since the filesystem to manipulate is typically specified by " |
| 1177 |
"its mount point anyway)." |
| 1178 |
msgstr "" |
| 1179 |
|
| 1180 |
#. type: SH |
| 1181 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1182 |
#: opensuse-tumbleweed |
| 1183 |
#, no-wrap |
| 1184 |
msgid "STANDARDS" |
| 1185 |
msgstr "" |
| 1186 |
|
| 1187 |
#. type: Plain text |
| 1188 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1189 |
#: opensuse-tumbleweed |
| 1190 |
msgid "Linux." |
| 1191 |
msgstr "" |
| 1192 |
|
| 1193 |
#. type: SH |
| 1194 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1195 |
#: opensuse-tumbleweed |
| 1196 |
#, no-wrap |
| 1197 |
msgid "HISTORY" |
| 1198 |
msgstr "" |
| 1199 |
|
| 1200 |
#. type: TP |
| 1201 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1202 |
#: opensuse-tumbleweed |
| 1203 |
#, no-wrap |
| 1204 |
msgid "B<quotactl_fd>()" |
| 1205 |
msgstr "" |
| 1206 |
|
| 1207 |
#. type: Plain text |
| 1208 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1209 |
#: opensuse-tumbleweed |
| 1210 |
msgid "Linux 5.14." |
| 1211 |
msgstr "" |
| 1212 |
|
| 1213 |
#. type: SH |
| 1214 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1215 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1216 |
#, no-wrap |
| 1217 |
msgid "SEE ALSO" |
| 1218 |
msgstr "" |
| 1219 |
|
| 1220 |
#. type: Plain text |
| 1221 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1222 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1223 |
msgid "B<quota>(1), B<getrlimit>(2), B<quotacheck>(8), B<quotaon>(8)" |
| 1224 |
msgstr "" |
| 1225 |
|
| 1226 |
#. type: TH |
| 1227 |
#: debian-trixie |
| 1228 |
#, no-wrap |
| 1229 |
msgid "2024-05-02" |
| 1230 |
msgstr "" |
| 1231 |
|
| 1232 |
#. type: TH |
| 1233 |
#: debian-trixie |
| 1234 |
#, no-wrap |
| 1235 |
msgid "Linux man-pages 6.9.1" |
| 1236 |
msgstr "" |
| 1237 |
|
| 1238 |
#. type: Plain text |
| 1239 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1240 |
msgid "quotactl - manipulate disk quotas" |
| 1241 |
msgstr "" |
| 1242 |
|
| 1243 |
#. type: Plain text |
| 1244 |
#: debian-trixie |
| 1245 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 1246 |
msgstr "" |
| 1247 |
|
| 1248 |
#. type: Plain text |
| 1249 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 1250 |
#, no-wrap |
| 1251 |
msgid "" |
| 1252 |
"B<#include E<lt>sys/quota.hE<gt>>\n" |
| 1253 |
"B<#include E<lt>xfs/xqm.hE<gt>> /* Definition of B<Q_X*> and B<XFS_QUOTA_*> constants\n" |
| 1254 |
" (or B<E<lt>linux/dqblk_xfs.hE<gt>>; see NOTES) */\n" |
| 1255 |
msgstr "" |
| 1256 |
|
| 1257 |
#. 847aac644e92e5624f2c153bab409bf713d5ff9a |
| 1258 |
#. type: Plain text |
| 1259 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1260 |
msgid "" |
| 1261 |
"The B<quotactl>() call manipulates disk quotas. The I<op> argument " |
| 1262 |
"indicates an operation to be applied to the user or group ID specified in " |
| 1263 |
"I<id>. To initialize the I<op> argument, use the I<QCMD(subop, type)> " |
| 1264 |
"macro. The I<type> value is either B<USRQUOTA>, for user quotas, " |
| 1265 |
"B<GRPQUOTA>, for group quotas, or (since Linux 4.1) B<PRJQUOTA>, for " |
| 1266 |
"project quotas. The I<subop> value is described below." |
| 1267 |
msgstr "" |
| 1268 |
|
| 1269 |
#. type: Plain text |
| 1270 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1271 |
msgid "" |
| 1272 |
"The I<special> argument is a pointer to a null-terminated string containing " |
| 1273 |
"the pathname of the (mounted) block special device for the filesystem being " |
| 1274 |
"manipulated." |
| 1275 |
msgstr "" |
| 1276 |
|
| 1277 |
#. type: Plain text |
| 1278 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1279 |
#, no-wrap |
| 1280 |
msgid "" |
| 1281 |
"/* uint64_t is an unsigned 64-bit integer;\n" |
| 1282 |
" uint32_t is an unsigned 32-bit integer */\n" |
| 1283 |
"\\&\n" |
| 1284 |
"struct dqblk { /* Definition since Linux 2.4.22 */\n" |
| 1285 |
" uint64_t dqb_bhardlimit; /* Absolute limit on disk\n" |
| 1286 |
" quota blocks alloc */\n" |
| 1287 |
" uint64_t dqb_bsoftlimit; /* Preferred limit on\n" |
| 1288 |
" disk quota blocks */\n" |
| 1289 |
" uint64_t dqb_curspace; /* Current occupied space\n" |
| 1290 |
" (in bytes) */\n" |
| 1291 |
" uint64_t dqb_ihardlimit; /* Maximum number of\n" |
| 1292 |
" allocated inodes */\n" |
| 1293 |
" uint64_t dqb_isoftlimit; /* Preferred inode limit */\n" |
| 1294 |
" uint64_t dqb_curinodes; /* Current number of\n" |
| 1295 |
" allocated inodes */\n" |
| 1296 |
" uint64_t dqb_btime; /* Time limit for excessive\n" |
| 1297 |
" disk use */\n" |
| 1298 |
" uint64_t dqb_itime; /* Time limit for excessive\n" |
| 1299 |
" files */\n" |
| 1300 |
" uint32_t dqb_valid; /* Bit mask of QIF_*\n" |
| 1301 |
" constants */\n" |
| 1302 |
"};\n" |
| 1303 |
"\\&\n" |
| 1304 |
"/* Flags in dqb_valid that indicate which fields in\n" |
| 1305 |
" dqblk structure are valid. */\n" |
| 1306 |
"\\&\n" |
| 1307 |
"#define QIF_BLIMITS 1\n" |
| 1308 |
"#define QIF_SPACE 2\n" |
| 1309 |
"#define QIF_ILIMITS 4\n" |
| 1310 |
"#define QIF_INODES 8\n" |
| 1311 |
"#define QIF_BTIME 16\n" |
| 1312 |
"#define QIF_ITIME 32\n" |
| 1313 |
"#define QIF_LIMITS (QIF_BLIMITS | QIF_ILIMITS)\n" |
| 1314 |
"#define QIF_USAGE (QIF_SPACE | QIF_INODES)\n" |
| 1315 |
"#define QIF_TIMES (QIF_BTIME | QIF_ITIME)\n" |
| 1316 |
"#define QIF_ALL (QIF_LIMITS | QIF_USAGE | QIF_TIMES)\n" |
| 1317 |
msgstr "" |
| 1318 |
|
| 1319 |
#. type: Plain text |
| 1320 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1321 |
#, no-wrap |
| 1322 |
msgid "" |
| 1323 |
"/* uint64_t is an unsigned 64-bit integer;\n" |
| 1324 |
" uint32_t is an unsigned 32-bit integer */\n" |
| 1325 |
"\\&\n" |
| 1326 |
"struct dqinfo { /* Defined since Linux 2.4.22 */\n" |
| 1327 |
" uint64_t dqi_bgrace; /* Time before block soft limit\n" |
| 1328 |
" becomes hard limit */\n" |
| 1329 |
" uint64_t dqi_igrace; /* Time before inode soft limit\n" |
| 1330 |
" becomes hard limit */\n" |
| 1331 |
" uint32_t dqi_flags; /* Flags for quotafile\n" |
| 1332 |
" (DQF_*) */\n" |
| 1333 |
" uint32_t dqi_valid;\n" |
| 1334 |
"};\n" |
| 1335 |
"\\&\n" |
| 1336 |
"/* Bits for dqi_flags */\n" |
| 1337 |
"\\&\n" |
| 1338 |
"/* Quota format QFMT_VFS_OLD */\n" |
| 1339 |
"\\&\n" |
| 1340 |
"#define DQF_ROOT_SQUASH (1 E<lt>E<lt> 0) /* Root squash enabled */\n" |
| 1341 |
" /* Before Linux v4.0, this had been defined\n" |
| 1342 |
" privately as V1_DQF_RSQUASH */\n" |
| 1343 |
"\\&\n" |
| 1344 |
"/* Quota format QFMT_VFS_V0 / QFMT_VFS_V1 */\n" |
| 1345 |
"\\&\n" |
| 1346 |
"#define DQF_SYS_FILE (1 E<lt>E<lt> 16) /* Quota stored in\n" |
| 1347 |
" a system file */\n" |
| 1348 |
"\\&\n" |
| 1349 |
"/* Flags in dqi_valid that indicate which fields in\n" |
| 1350 |
" dqinfo structure are valid. */\n" |
| 1351 |
"\\&\n" |
| 1352 |
"#define IIF_BGRACE 1\n" |
| 1353 |
"#define IIF_IGRACE 2\n" |
| 1354 |
"#define IIF_FLAGS 4\n" |
| 1355 |
"#define IIF_ALL (IIF_BGRACE | IIF_IGRACE | IIF_FLAGS)\n" |
| 1356 |
msgstr "" |
| 1357 |
|
| 1358 |
#. type: Plain text |
| 1359 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1360 |
msgid "" |
| 1361 |
"Update the on-disk copy of quota usages for a filesystem. If I<special> is " |
| 1362 |
"NULL, then all filesystems with active quotas are sync'ed. The I<addr> and " |
| 1363 |
"I<id> arguments are ignored." |
| 1364 |
msgstr "" |
| 1365 |
|
| 1366 |
#. type: Plain text |
| 1367 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1368 |
#, no-wrap |
| 1369 |
msgid "" |
| 1370 |
"/* All the blk units are in BBs (Basic Blocks) of\n" |
| 1371 |
" 512 bytes. */\n" |
| 1372 |
"\\&\n" |
| 1373 |
"#define FS_DQUOT_VERSION 1 /* fs_disk_quota.d_version */\n" |
| 1374 |
"\\&\n" |
| 1375 |
"#define XFS_USER_QUOTA (1E<lt>E<lt>0) /* User quota type */\n" |
| 1376 |
"#define XFS_PROJ_QUOTA (1E<lt>E<lt>1) /* Project quota type */\n" |
| 1377 |
"#define XFS_GROUP_QUOTA (1E<lt>E<lt>2) /* Group quota type */\n" |
| 1378 |
"\\&\n" |
| 1379 |
"struct fs_disk_quota {\n" |
| 1380 |
" int8_t d_version; /* Version of this structure */\n" |
| 1381 |
" int8_t d_flags; /* XFS_{USER,PROJ,GROUP}_QUOTA */\n" |
| 1382 |
" uint16_t d_fieldmask; /* Field specifier */\n" |
| 1383 |
" uint32_t d_id; /* User, project, or group ID */\n" |
| 1384 |
" uint64_t d_blk_hardlimit; /* Absolute limit on\n" |
| 1385 |
" disk blocks */\n" |
| 1386 |
" uint64_t d_blk_softlimit; /* Preferred limit on\n" |
| 1387 |
" disk blocks */\n" |
| 1388 |
" uint64_t d_ino_hardlimit; /* Maximum # allocated\n" |
| 1389 |
" inodes */\n" |
| 1390 |
" uint64_t d_ino_softlimit; /* Preferred inode limit */\n" |
| 1391 |
" uint64_t d_bcount; /* # disk blocks owned by\n" |
| 1392 |
" the user */\n" |
| 1393 |
" uint64_t d_icount; /* # inodes owned by the user */\n" |
| 1394 |
" int32_t d_itimer; /* Zero if within inode limits */\n" |
| 1395 |
" /* If not, we refuse service */\n" |
| 1396 |
" int32_t d_btimer; /* Similar to above; for\n" |
| 1397 |
" disk blocks */\n" |
| 1398 |
" uint16_t d_iwarns; /* # warnings issued with\n" |
| 1399 |
" respect to # of inodes */\n" |
| 1400 |
" uint16_t d_bwarns; /* # warnings issued with\n" |
| 1401 |
" respect to disk blocks */\n" |
| 1402 |
" int32_t d_padding2; /* Padding - for future use */\n" |
| 1403 |
" uint64_t d_rtb_hardlimit; /* Absolute limit on realtime\n" |
| 1404 |
" (RT) disk blocks */\n" |
| 1405 |
" uint64_t d_rtb_softlimit; /* Preferred limit on RT\n" |
| 1406 |
" disk blocks */\n" |
| 1407 |
" uint64_t d_rtbcount; /* # realtime blocks owned */\n" |
| 1408 |
" int32_t d_rtbtimer; /* Similar to above; for RT\n" |
| 1409 |
" disk blocks */\n" |
| 1410 |
" uint16_t d_rtbwarns; /* # warnings issued with\n" |
| 1411 |
" respect to RT disk blocks */\n" |
| 1412 |
" int16_t d_padding3; /* Padding - for future use */\n" |
| 1413 |
" char d_padding4[8]; /* Yet more padding */\n" |
| 1414 |
"};\n" |
| 1415 |
msgstr "" |
| 1416 |
|
| 1417 |
#. type: Plain text |
| 1418 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1419 |
msgid "" |
| 1420 |
"On success, B<quotactl>() returns 0; on error -1 is returned, and I<errno> " |
| 1421 |
"is set to indicate the error." |
| 1422 |
msgstr "" |
| 1423 |
|
| 1424 |
#. type: TH |
| 1425 |
#: fedora-44 fedora-rawhide |
| 1426 |
#, no-wrap |
| 1427 |
msgid "2024-07-23" |
| 1428 |
msgstr "" |
| 1429 |
|
| 1430 |
#. type: TH |
| 1431 |
#: fedora-44 fedora-rawhide |
| 1432 |
#, no-wrap |
| 1433 |
msgid "Linux man-pages 6.13" |
| 1434 |
msgstr "" |
| 1435 |
|
| 1436 |
#. type: TH |
| 1437 |
#: mageia-cauldron |
| 1438 |
#, no-wrap |
| 1439 |
msgid "2026-02-08" |
| 1440 |
msgstr "" |
| 1441 |
|
| 1442 |
#. type: TH |
| 1443 |
#: mageia-cauldron |
| 1444 |
#, no-wrap |
| 1445 |
msgid "Linux man-pages 6.17" |
| 1446 |
msgstr "" |
| 1447 |
|
| 1448 |
#. type: Plain text |
| 1449 |
#: mageia-cauldron |
| 1450 |
#, no-wrap |
| 1451 |
msgid "" |
| 1452 |
"B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n" |
| 1453 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 1454 |
msgstr "" |
| 1455 |
|
| 1456 |
#. type: Plain text |
| 1457 |
#: mageia-cauldron |
| 1458 |
msgid "" |
| 1459 |
"I<Note>: glibc provides no wrapper for B<quotactl_fd>(), necessitating the " |
| 1460 |
"use of B<syscall>(2)." |
| 1461 |
msgstr "" |
| 1462 |
|
| 1463 |
#. type: Plain text |
| 1464 |
#: mageia-cauldron |
| 1465 |
#, no-wrap |
| 1466 |
msgid "" |
| 1467 |
"/* uint64_t is an unsigned 64-bit integer;\n" |
| 1468 |
" uint32_t is an unsigned 32-bit integer */\n" |
| 1469 |
"\\&\n" |
| 1470 |
"struct dqblk { /* Definition since Linux 2.4.22 */\n" |
| 1471 |
" uint64_t dqb_bhardlimit; /* Absolute limit on disk\n" |
| 1472 |
" quota blocks alloc */\n" |
| 1473 |
" uint64_t dqb_bsoftlimit; /* Preferred limit on\n" |
| 1474 |
" disk quota blocks */\n" |
| 1475 |
" uint64_t dqb_curspace; /* Current occupied space\n" |
| 1476 |
" (in bytes) */\n" |
| 1477 |
" uint64_t dqb_ihardlimit; /* Maximum number of\n" |
| 1478 |
" allocated inodes */\n" |
| 1479 |
" uint64_t dqb_isoftlimit; /* Preferred inode limit */\n" |
| 1480 |
" uint64_t dqb_curinodes; /* Current number of\n" |
| 1481 |
" allocated inodes */\n" |
| 1482 |
" uint64_t dqb_btime; /* Time limit for excessive\n" |
| 1483 |
" disk use */\n" |
| 1484 |
" uint64_t dqb_itime; /* Time limit for excessive\n" |
| 1485 |
" files */\n" |
| 1486 |
" uint32_t dqb_valid; /* Bit mask of QIF_*\n" |
| 1487 |
" constants */\n" |
| 1488 |
"};\n" |
| 1489 |
"\\&\n" |
| 1490 |
"/* Flags in dqb_valid that indicate which fields in\n" |
| 1491 |
" dqblk structure are valid. */\n" |
| 1492 |
"\\&\n" |
| 1493 |
"#define QIF_BLIMITS 1\n" |
| 1494 |
"#define QIF_SPACE 2\n" |
| 1495 |
"#define QIF_ILIMITS 4\n" |
| 1496 |
"#define QIF_INODES 8\n" |
| 1497 |
"#define QIF_BTIME 16\n" |
| 1498 |
"#define QIF_ITIME 32\n" |
| 1499 |
"#define QIF_LIMITS (QIF_BLIMITS | QIF_ILIMITS)\n" |
| 1500 |
"#define QIF_USAGE (QIF_SPACE | QIF_INODES)\n" |
| 1501 |
"#define QIF_TIMES (QIF_BTIME | QIF_ITIME)\n" |
| 1502 |
"#define QIF_ALL (QIF_LIMITS | QIF_USAGE | QIF_TIMES)\n" |
| 1503 |
msgstr "" |
| 1504 |
|
| 1505 |
#. type: Plain text |
| 1506 |
#: mageia-cauldron |
| 1507 |
#, no-wrap |
| 1508 |
msgid "" |
| 1509 |
"/* uint64_t is an unsigned 64-bit integer;\n" |
| 1510 |
" uint32_t is an unsigned 32-bit integer */\n" |
| 1511 |
"\\&\n" |
| 1512 |
"struct dqinfo { /* Defined since Linux 2.4.22 */\n" |
| 1513 |
" uint64_t dqi_bgrace; /* Time before block soft limit\n" |
| 1514 |
" becomes hard limit */\n" |
| 1515 |
" uint64_t dqi_igrace; /* Time before inode soft limit\n" |
| 1516 |
" becomes hard limit */\n" |
| 1517 |
" uint32_t dqi_flags; /* Flags for quotafile\n" |
| 1518 |
" (DQF_*) */\n" |
| 1519 |
" uint32_t dqi_valid;\n" |
| 1520 |
"};\n" |
| 1521 |
"\\&\n" |
| 1522 |
"/* Bits for dqi_flags */\n" |
| 1523 |
"\\&\n" |
| 1524 |
"/* Quota format QFMT_VFS_OLD */\n" |
| 1525 |
"\\&\n" |
| 1526 |
"#define DQF_ROOT_SQUASH (1 E<lt>E<lt> 0) /* Root squash enabled */\n" |
| 1527 |
" /* Before Linux 4.0, this had been defined\n" |
| 1528 |
" privately as V1_DQF_RSQUASH */\n" |
| 1529 |
"\\&\n" |
| 1530 |
"/* Quota format QFMT_VFS_V0 / QFMT_VFS_V1 */\n" |
| 1531 |
"\\&\n" |
| 1532 |
"#define DQF_SYS_FILE (1 E<lt>E<lt> 16) /* Quota stored in\n" |
| 1533 |
" a system file */\n" |
| 1534 |
"\\&\n" |
| 1535 |
"/* Flags in dqi_valid that indicate which fields in\n" |
| 1536 |
" dqinfo structure are valid. */\n" |
| 1537 |
"\\&\n" |
| 1538 |
"#define IIF_BGRACE 1\n" |
| 1539 |
"#define IIF_IGRACE 2\n" |
| 1540 |
"#define IIF_FLAGS 4\n" |
| 1541 |
"#define IIF_ALL (IIF_BGRACE | IIF_IGRACE | IIF_FLAGS)\n" |
| 1542 |
msgstr "" |
| 1543 |
|
| 1544 |
#. type: TH |
| 1545 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1546 |
#, no-wrap |
| 1547 |
msgid "Linux man-pages (unreleased)" |
| 1548 |
msgstr "" |