| 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:29+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 |
#: debian-trixie debian-unstable |
| 21 |
#, no-wrap |
| 22 |
msgid "LOCATEDB" |
| 23 |
msgstr "" |
| 24 |
|
| 25 |
#. type: SH |
| 26 |
#: debian-trixie debian-unstable |
| 27 |
#, no-wrap |
| 28 |
msgid "NAME" |
| 29 |
msgstr "" |
| 30 |
|
| 31 |
#. type: Plain text |
| 32 |
#: debian-trixie debian-unstable |
| 33 |
msgid "locatedb - front-compressed file name database" |
| 34 |
msgstr "" |
| 35 |
|
| 36 |
#. type: SH |
| 37 |
#: debian-trixie debian-unstable |
| 38 |
#, no-wrap |
| 39 |
msgid "DESCRIPTION" |
| 40 |
msgstr "" |
| 41 |
|
| 42 |
#. type: Plain text |
| 43 |
#: debian-trixie debian-unstable |
| 44 |
msgid "" |
| 45 |
"This manual page documents the format of file name databases for the GNU " |
| 46 |
"version of B<locate>. The file name databases contain lists of files that " |
| 47 |
"were in particular directory trees when the databases were last updated." |
| 48 |
msgstr "" |
| 49 |
|
| 50 |
#. type: Plain text |
| 51 |
#: debian-trixie debian-unstable |
| 52 |
msgid "" |
| 53 |
"There can be multiple databases. Users can select which databases B<locate> " |
| 54 |
"searches using an environment variable or command line option; see " |
| 55 |
"B<locate>(1). The system administrator can choose the file name of the " |
| 56 |
"default database, the frequency with which the databases are updated, and " |
| 57 |
"the directories for which they contain entries. Normally, file name " |
| 58 |
"databases are updated by running the B<updatedb> program periodically, " |
| 59 |
"typically nightly; see B<updatedb>(1)." |
| 60 |
msgstr "" |
| 61 |
|
| 62 |
#. type: SH |
| 63 |
#: debian-trixie debian-unstable |
| 64 |
#, no-wrap |
| 65 |
msgid "GNU LOCATE02 database format" |
| 66 |
msgstr "" |
| 67 |
|
| 68 |
#. type: Plain text |
| 69 |
#: debian-trixie debian-unstable |
| 70 |
msgid "" |
| 71 |
"This is the default format of databases produced by B<updatedb>. The " |
| 72 |
"B<updatedb> program runs B<frcode> to compress the list of file names using " |
| 73 |
"front-compression, which reduces the database size by a factor of 4 to 5. " |
| 74 |
"Front-compression (also known as incremental encoding) works as follows." |
| 75 |
msgstr "" |
| 76 |
|
| 77 |
#. type: Plain text |
| 78 |
#: debian-trixie debian-unstable |
| 79 |
msgid "" |
| 80 |
"The database entries are a sorted list (case-insensitively, for users' " |
| 81 |
"convenience). Since the list is sorted, each entry is likely to share a " |
| 82 |
"prefix (initial string) with the previous entry. Each database entry begins " |
| 83 |
"with an signed offset-differential count byte, which is the additional " |
| 84 |
"number of characters of prefix of the preceding entry to use beyond the " |
| 85 |
"number that the preceding entry is using of its predecessor. (The counts " |
| 86 |
"can be negative.) Following the count is a null-terminated ASCII remainder " |
| 87 |
"\\(em the part of the name that follows the shared prefix." |
| 88 |
msgstr "" |
| 89 |
|
| 90 |
#. type: Plain text |
| 91 |
#: debian-trixie debian-unstable |
| 92 |
msgid "" |
| 93 |
"If the offset-differential count is larger than can be stored in a signed " |
| 94 |
"byte (\\(+-127), the byte has the value 0x80 (binary 10000000) and the " |
| 95 |
"actual count follows in a 2-byte word, with the high byte first (network " |
| 96 |
"byte order). This count can also be negative (the sign bit being in the " |
| 97 |
"first of the two bytes)." |
| 98 |
msgstr "" |
| 99 |
|
| 100 |
#. type: Plain text |
| 101 |
#: debian-trixie debian-unstable |
| 102 |
msgid "" |
| 103 |
"Every database begins with a dummy entry for a file called `LOCATE02', which " |
| 104 |
"B<locate> checks for to ensure that the database file has the correct " |
| 105 |
"format; it ignores the entry in doing the search." |
| 106 |
msgstr "" |
| 107 |
|
| 108 |
#. type: Plain text |
| 109 |
#: debian-trixie debian-unstable |
| 110 |
msgid "" |
| 111 |
"Databases cannot be concatenated together, even if the first (dummy) entry " |
| 112 |
"is trimmed from all but the first database. This is because the offset-" |
| 113 |
"differential count in the first entry of the second and following databases " |
| 114 |
"will be wrong." |
| 115 |
msgstr "" |
| 116 |
|
| 117 |
#. type: Plain text |
| 118 |
#: debian-trixie debian-unstable |
| 119 |
msgid "" |
| 120 |
"In the future, the data within the locate database may not be sorted in any " |
| 121 |
"particular order. To obtain sorted results, pipe the output of B<locate> " |
| 122 |
"through B<sort -f>." |
| 123 |
msgstr "" |
| 124 |
|
| 125 |
#. type: SH |
| 126 |
#: debian-trixie debian-unstable |
| 127 |
#, no-wrap |
| 128 |
msgid "slocate database format" |
| 129 |
msgstr "" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: debian-trixie debian-unstable |
| 133 |
msgid "" |
| 134 |
"The B<slocate> program uses a database format similar to, but not quite the " |
| 135 |
"same as, GNU B<locate>. The first byte of the database specifies its " |
| 136 |
"I<security> I<level>. If the security level is 0, B<slocate> will read, " |
| 137 |
"match and print filenames on the basis of the information in the database " |
| 138 |
"only. However, if the security level byte is 1, B<slocate> omits entries " |
| 139 |
"from its output if the invoking user is unable to access them. The second " |
| 140 |
"byte of the database is zero. The second byte is followed by the first " |
| 141 |
"database entry. The first entry in the database is not preceded by any " |
| 142 |
"differential count or dummy entry. Instead the differential count for the " |
| 143 |
"first item is assumed to be zero." |
| 144 |
msgstr "" |
| 145 |
|
| 146 |
#. type: Plain text |
| 147 |
#: debian-trixie debian-unstable |
| 148 |
msgid "" |
| 149 |
"Starting with the second entry (if any) in the database, data is interpreted " |
| 150 |
"as for the GNU LOCATE02 format." |
| 151 |
msgstr "" |
| 152 |
|
| 153 |
#. type: SH |
| 154 |
#: debian-trixie debian-unstable |
| 155 |
#, no-wrap |
| 156 |
msgid "Old Locate Database format" |
| 157 |
msgstr "" |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
#: debian-trixie debian-unstable |
| 161 |
msgid "" |
| 162 |
"There is also an old database format, used by Unix B<locate> and B<find> " |
| 163 |
"programs and earlier releases of the GNU ones. B<updatedb> runs programs " |
| 164 |
"called B<bigram> and B<code> to produce old-format databases. The old " |
| 165 |
"format differs from the above description in the following ways. Instead of " |
| 166 |
"each entry starting with an offset-differential count byte and ending with a " |
| 167 |
"null, byte values from 0 through 28 indicate offset-differential counts from " |
| 168 |
"-14 through 14. The byte value indicating that a long offset-differential " |
| 169 |
"count follows is 0x1e (30), not 0x80. The long counts are stored in host " |
| 170 |
"byte order, which is not necessarily network byte order, and host integer " |
| 171 |
"word size, which is usually 4 bytes. They also represent a count 14 less " |
| 172 |
"than their value. The database lines have no termination byte; the start of " |
| 173 |
"the next line is indicated by its first byte having a value \\(E<lt>= 30." |
| 174 |
msgstr "" |
| 175 |
|
| 176 |
#. type: Plain text |
| 177 |
#: debian-trixie debian-unstable |
| 178 |
msgid "" |
| 179 |
"In addition, instead of starting with a dummy entry, the old database format " |
| 180 |
"starts with a 256 byte table containing the 128 most common bigrams in the " |
| 181 |
"file list. A bigram is a pair of adjacent bytes. Bytes in the database " |
| 182 |
"that have the high bit set are indexes (with the high bit cleared) into the " |
| 183 |
"bigram table. The bigram and offset-differential count coding makes these " |
| 184 |
"databases 20\\(en25% smaller than the new format, but makes them not 8-bit " |
| 185 |
"clean. Any byte in a file name that is in the ranges used for the special " |
| 186 |
"codes is replaced in the database by a question mark, which not " |
| 187 |
"coincidentally is the shell wildcard to match a single character." |
| 188 |
msgstr "" |
| 189 |
|
| 190 |
#. type: SH |
| 191 |
#: debian-trixie debian-unstable |
| 192 |
#, no-wrap |
| 193 |
msgid "EXAMPLE" |
| 194 |
msgstr "" |
| 195 |
|
| 196 |
#. with nulls changed to newlines: |
| 197 |
#. type: Plain text |
| 198 |
#: debian-trixie debian-unstable |
| 199 |
#, no-wrap |
| 200 |
msgid "" |
| 201 |
"Input to B<frcode>:\n" |
| 202 |
"/usr/src\n" |
| 203 |
"/usr/src/cmd/aardvark.c\n" |
| 204 |
"/usr/src/cmd/armadillo.c\n" |
| 205 |
"/usr/tmp/zoo\n" |
| 206 |
msgstr "" |
| 207 |
|
| 208 |
#. type: Plain text |
| 209 |
#: debian-trixie debian-unstable |
| 210 |
#, no-wrap |
| 211 |
msgid "" |
| 212 |
"Length of the longest prefix of the preceding entry to share:\n" |
| 213 |
"0 /usr/src\n" |
| 214 |
"8 /cmd/aardvark.c\n" |
| 215 |
"14 rmadillo.c\n" |
| 216 |
"5 tmp/zoo\n" |
| 217 |
msgstr "" |
| 218 |
|
| 219 |
#. type: Plain text |
| 220 |
#: debian-trixie debian-unstable |
| 221 |
msgid "" |
| 222 |
"Output from B<frcode>, with trailing nulls changed to newlines and count " |
| 223 |
"bytes made printable:" |
| 224 |
msgstr "" |
| 225 |
|
| 226 |
#. type: Plain text |
| 227 |
#: debian-trixie debian-unstable |
| 228 |
#, no-wrap |
| 229 |
msgid "" |
| 230 |
"0 LOCATE02\n" |
| 231 |
"0 /usr/src\n" |
| 232 |
"8 /cmd/aardvark.c\n" |
| 233 |
"6 rmadillo.c\n" |
| 234 |
"-9 tmp/zoo\n" |
| 235 |
msgstr "" |
| 236 |
|
| 237 |
#. type: Plain text |
| 238 |
#: debian-trixie debian-unstable |
| 239 |
#, no-wrap |
| 240 |
msgid "(6 = 14 - 8, and -9 = 5 - 14)\n" |
| 241 |
msgstr "" |
| 242 |
|
| 243 |
#. type: SH |
| 244 |
#: debian-trixie debian-unstable |
| 245 |
#, no-wrap |
| 246 |
msgid "REPORTING BUGS" |
| 247 |
msgstr "" |
| 248 |
|
| 249 |
#. type: Plain text |
| 250 |
#: debian-trixie debian-unstable |
| 251 |
msgid "" |
| 252 |
"GNU findutils online help: E<lt>https://www.gnu.org/software/findutils/#get-" |
| 253 |
"helpE<gt>" |
| 254 |
msgstr "" |
| 255 |
|
| 256 |
#. type: Plain text |
| 257 |
#: debian-trixie debian-unstable |
| 258 |
msgid "" |
| 259 |
"Report any translation bugs to E<lt>https://translationproject.org/team/E<gt>" |
| 260 |
msgstr "" |
| 261 |
|
| 262 |
#. type: Plain text |
| 263 |
#: debian-trixie debian-unstable |
| 264 |
msgid "Report any other issue via the form at the GNU Savannah bug tracker:" |
| 265 |
msgstr "" |
| 266 |
|
| 267 |
#. type: Plain text |
| 268 |
#: debian-trixie debian-unstable |
| 269 |
msgid "E<lt>https://savannah.gnu.org/bugs/?group=findutilsE<gt>" |
| 270 |
msgstr "" |
| 271 |
|
| 272 |
#. type: Plain text |
| 273 |
#: debian-trixie debian-unstable |
| 274 |
msgid "" |
| 275 |
"General topics about the GNU findutils package are discussed at the I<bug-" |
| 276 |
"findutils> mailing list:" |
| 277 |
msgstr "" |
| 278 |
|
| 279 |
#. type: Plain text |
| 280 |
#: debian-trixie debian-unstable |
| 281 |
msgid "E<lt>https://lists.gnu.org/mailman/listinfo/bug-findutilsE<gt>" |
| 282 |
msgstr "" |
| 283 |
|
| 284 |
#. type: SH |
| 285 |
#: debian-trixie debian-unstable |
| 286 |
#, no-wrap |
| 287 |
msgid "COPYRIGHT" |
| 288 |
msgstr "" |
| 289 |
|
| 290 |
#. type: Plain text |
| 291 |
#: debian-trixie debian-unstable |
| 292 |
msgid "" |
| 293 |
"Copyright \\(co 1994\\(en2024 Free Software Foundation, Inc. License " |
| 294 |
"GPLv3+: GNU GPL version 3 or later E<lt>https://gnu.org/licenses/" |
| 295 |
"gpl.htmlE<gt>." |
| 296 |
msgstr "" |
| 297 |
|
| 298 |
#. type: Plain text |
| 299 |
#: debian-trixie debian-unstable |
| 300 |
msgid "" |
| 301 |
"This is free software: you are free to change and redistribute it. There is " |
| 302 |
"NO WARRANTY, to the extent permitted by law." |
| 303 |
msgstr "" |
| 304 |
|
| 305 |
#. type: SH |
| 306 |
#: debian-trixie debian-unstable |
| 307 |
#, no-wrap |
| 308 |
msgid "SEE ALSO" |
| 309 |
msgstr "" |
| 310 |
|
| 311 |
#. type: Plain text |
| 312 |
#: debian-trixie debian-unstable |
| 313 |
msgid "B<find>(1), B<locate>(1), B<xargs>(1), B<locatedb>(5)" |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
#. type: Plain text |
| 317 |
#: debian-trixie debian-unstable |
| 318 |
msgid "" |
| 319 |
"Full documentation E<lt>https://www.gnu.org/software/findutils/locatedbE<gt>" |
| 320 |
msgstr "" |
| 321 |
|
| 322 |
#. type: Plain text |
| 323 |
#: debian-trixie debian-unstable |
| 324 |
msgid "or available locally via: B<info locatedb>" |
| 325 |
msgstr "" |