diff options
author | ed <ed@FreeBSD.org> | 2009-02-12 19:21:48 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-02-12 19:21:48 +0000 |
commit | 262e123f42bd9a67863895a67632ef5eff7d883c (patch) | |
tree | 54589eb2d4ec17d1a3266d12e8a6fb79a299cc4d /etc/etc.powerpc | |
parent | df6314fc7947b16e5c38f201c2264d2a92778156 (diff) | |
download | FreeBSD-src-262e123f42bd9a67863895a67632ef5eff7d883c.zip FreeBSD-src-262e123f42bd9a67863895a67632ef5eff7d883c.tar.gz |
Remove pts(4) entries from /etc/ttys.
Even though I increased the amount of pts(4) entries in /etc/ttys some
time ago, I didn't realize back then those entries shouldn't have been
there in the first place.
I just looked at the getttyent() source code and it turns out when you
call setttyent(), it walks through /dev/pts and looks for the device
with the highest number. After you receive EOF's from getttyent(), it
makes up entries for pts(4) devices.
This means that adding entries for pts(4) is somewhat harmful, because
if you now traverse the list, you get redundant entries, so just remove
them.
Diffstat (limited to 'etc/etc.powerpc')
-rw-r--r-- | etc/etc.powerpc/ttys | 512 |
1 files changed, 0 insertions, 512 deletions
diff --git a/etc/etc.powerpc/ttys b/etc/etc.powerpc/ttys index 4b22640..d0b9fe7a 100644 --- a/etc/etc.powerpc/ttys +++ b/etc/etc.powerpc/ttys @@ -307,515 +307,3 @@ ttySs none network ttySt none network ttySu none network ttySv none network -pts/0 none network -pts/1 none network -pts/2 none network -pts/3 none network -pts/4 none network -pts/5 none network -pts/6 none network -pts/7 none network -pts/8 none network -pts/9 none network -pts/10 none network -pts/11 none network -pts/12 none network -pts/13 none network -pts/14 none network -pts/15 none network -pts/16 none network -pts/17 none network -pts/18 none network -pts/19 none network -pts/20 none network -pts/21 none network -pts/22 none network -pts/23 none network -pts/24 none network -pts/25 none network -pts/26 none network -pts/27 none network -pts/28 none network -pts/29 none network -pts/30 none network -pts/31 none network -pts/32 none network -pts/33 none network -pts/34 none network -pts/35 none network -pts/36 none network -pts/37 none network -pts/38 none network -pts/39 none network -pts/40 none network -pts/41 none network -pts/42 none network -pts/43 none network -pts/44 none network -pts/45 none network -pts/46 none network -pts/47 none network -pts/48 none network -pts/49 none network -pts/50 none network -pts/51 none network -pts/52 none network -pts/53 none network -pts/54 none network -pts/55 none network -pts/56 none network -pts/57 none network -pts/58 none network -pts/59 none network -pts/60 none network -pts/61 none network -pts/62 none network -pts/63 none network -pts/64 none network -pts/65 none network -pts/66 none network -pts/67 none network -pts/68 none network -pts/69 none network -pts/70 none network -pts/71 none network -pts/72 none network -pts/73 none network -pts/74 none network -pts/75 none network -pts/76 none network -pts/77 none network -pts/78 none network -pts/79 none network -pts/80 none network -pts/81 none network -pts/82 none network -pts/83 none network -pts/84 none network -pts/85 none network -pts/86 none network -pts/87 none network -pts/88 none network -pts/89 none network -pts/90 none network -pts/91 none network -pts/92 none network -pts/93 none network -pts/94 none network -pts/95 none network -pts/96 none network -pts/97 none network -pts/98 none network -pts/99 none network -pts/100 none network -pts/101 none network -pts/102 none network -pts/103 none network -pts/104 none network -pts/105 none network -pts/106 none network -pts/107 none network -pts/108 none network -pts/109 none network -pts/110 none network -pts/111 none network -pts/112 none network -pts/113 none network -pts/114 none network -pts/115 none network -pts/116 none network -pts/117 none network -pts/118 none network -pts/119 none network -pts/120 none network -pts/121 none network -pts/122 none network -pts/123 none network -pts/124 none network -pts/125 none network -pts/126 none network -pts/127 none network -pts/128 none network -pts/129 none network -pts/130 none network -pts/131 none network -pts/132 none network -pts/133 none network -pts/134 none network -pts/135 none network -pts/136 none network -pts/137 none network -pts/138 none network -pts/139 none network -pts/140 none network -pts/141 none network -pts/142 none network -pts/143 none network -pts/144 none network -pts/145 none network -pts/146 none network -pts/147 none network -pts/148 none network -pts/149 none network -pts/150 none network -pts/151 none network -pts/152 none network -pts/153 none network -pts/154 none network -pts/155 none network -pts/156 none network -pts/157 none network -pts/158 none network -pts/159 none network -pts/160 none network -pts/161 none network -pts/162 none network -pts/163 none network -pts/164 none network -pts/165 none network -pts/166 none network -pts/167 none network -pts/168 none network -pts/169 none network -pts/170 none network -pts/171 none network -pts/172 none network -pts/173 none network -pts/174 none network -pts/175 none network -pts/176 none network -pts/177 none network -pts/178 none network -pts/179 none network -pts/180 none network -pts/181 none network -pts/182 none network -pts/183 none network -pts/184 none network -pts/185 none network -pts/186 none network -pts/187 none network -pts/188 none network -pts/189 none network -pts/190 none network -pts/191 none network -pts/192 none network -pts/193 none network -pts/194 none network -pts/195 none network -pts/196 none network -pts/197 none network -pts/198 none network -pts/199 none network -pts/200 none network -pts/201 none network -pts/202 none network -pts/203 none network -pts/204 none network -pts/205 none network -pts/206 none network -pts/207 none network -pts/208 none network -pts/209 none network -pts/210 none network -pts/211 none network -pts/212 none network -pts/213 none network -pts/214 none network -pts/215 none network -pts/216 none network -pts/217 none network -pts/218 none network -pts/219 none network -pts/220 none network -pts/221 none network -pts/222 none network -pts/223 none network -pts/224 none network -pts/225 none network -pts/226 none network -pts/227 none network -pts/228 none network -pts/229 none network -pts/230 none network -pts/231 none network -pts/232 none network -pts/233 none network -pts/234 none network -pts/235 none network -pts/236 none network -pts/237 none network -pts/238 none network -pts/239 none network -pts/240 none network -pts/241 none network -pts/242 none network -pts/243 none network -pts/244 none network -pts/245 none network -pts/246 none network -pts/247 none network -pts/248 none network -pts/249 none network -pts/250 none network -pts/251 none network -pts/252 none network -pts/253 none network -pts/254 none network -pts/255 none network -pts/256 none network -pts/257 none network -pts/258 none network -pts/259 none network -pts/260 none network -pts/262 none network -pts/262 none network -pts/263 none network -pts/264 none network -pts/265 none network -pts/266 none network -pts/267 none network -pts/268 none network -pts/269 none network -pts/270 none network -pts/272 none network -pts/272 none network -pts/273 none network -pts/274 none network -pts/275 none network -pts/276 none network -pts/277 none network -pts/278 none network -pts/279 none network -pts/280 none network -pts/282 none network -pts/282 none network -pts/283 none network -pts/284 none network -pts/285 none network -pts/286 none network -pts/287 none network -pts/288 none network -pts/289 none network -pts/290 none network -pts/292 none network -pts/292 none network -pts/293 none network -pts/294 none network -pts/295 none network -pts/296 none network -pts/297 none network -pts/298 none network -pts/299 none network -pts/300 none network -pts/301 none network -pts/302 none network -pts/303 none network -pts/304 none network -pts/305 none network -pts/306 none network -pts/307 none network -pts/308 none network -pts/309 none network -pts/310 none network -pts/311 none network -pts/312 none network -pts/313 none network -pts/314 none network -pts/315 none network -pts/316 none network -pts/317 none network -pts/318 none network -pts/319 none network -pts/320 none network -pts/321 none network -pts/322 none network -pts/323 none network -pts/324 none network -pts/325 none network -pts/326 none network -pts/327 none network -pts/328 none network -pts/329 none network -pts/330 none network -pts/331 none network -pts/332 none network -pts/333 none network -pts/334 none network -pts/335 none network -pts/336 none network -pts/337 none network -pts/338 none network -pts/339 none network -pts/340 none network -pts/341 none network -pts/342 none network -pts/343 none network -pts/344 none network -pts/345 none network -pts/346 none network -pts/347 none network -pts/348 none network -pts/349 none network -pts/350 none network -pts/351 none network -pts/352 none network -pts/353 none network -pts/354 none network -pts/355 none network -pts/356 none network -pts/357 none network -pts/358 none network -pts/359 none network -pts/360 none network -pts/362 none network -pts/362 none network -pts/363 none network -pts/364 none network -pts/365 none network -pts/366 none network -pts/367 none network -pts/368 none network -pts/369 none network -pts/370 none network -pts/372 none network -pts/372 none network -pts/373 none network -pts/374 none network -pts/375 none network -pts/376 none network -pts/377 none network -pts/378 none network -pts/379 none network -pts/380 none network -pts/382 none network -pts/382 none network -pts/383 none network -pts/384 none network -pts/385 none network -pts/386 none network -pts/387 none network -pts/388 none network -pts/389 none network -pts/390 none network -pts/392 none network -pts/392 none network -pts/393 none network -pts/394 none network -pts/395 none network -pts/396 none network -pts/397 none network -pts/398 none network -pts/399 none network -pts/400 none network -pts/401 none network -pts/402 none network -pts/403 none network -pts/404 none network -pts/405 none network -pts/406 none network -pts/407 none network -pts/408 none network -pts/409 none network -pts/410 none network -pts/411 none network -pts/412 none network -pts/413 none network -pts/414 none network -pts/415 none network -pts/416 none network -pts/417 none network -pts/418 none network -pts/419 none network -pts/420 none network -pts/421 none network -pts/422 none network -pts/423 none network -pts/424 none network -pts/425 none network -pts/426 none network -pts/427 none network -pts/428 none network -pts/429 none network -pts/430 none network -pts/431 none network -pts/432 none network -pts/433 none network -pts/434 none network -pts/435 none network -pts/436 none network -pts/437 none network -pts/438 none network -pts/439 none network -pts/440 none network -pts/441 none network -pts/442 none network -pts/443 none network -pts/444 none network -pts/445 none network -pts/446 none network -pts/447 none network -pts/448 none network -pts/449 none network -pts/450 none network -pts/451 none network -pts/452 none network -pts/453 none network -pts/454 none network -pts/455 none network -pts/456 none network -pts/457 none network -pts/458 none network -pts/459 none network -pts/460 none network -pts/462 none network -pts/462 none network -pts/463 none network -pts/464 none network -pts/465 none network -pts/466 none network -pts/467 none network -pts/468 none network -pts/469 none network -pts/470 none network -pts/472 none network -pts/472 none network -pts/473 none network -pts/474 none network -pts/475 none network -pts/476 none network -pts/477 none network -pts/478 none network -pts/479 none network -pts/480 none network -pts/482 none network -pts/482 none network -pts/483 none network -pts/484 none network -pts/485 none network -pts/486 none network -pts/487 none network -pts/488 none network -pts/489 none network -pts/490 none network -pts/492 none network -pts/492 none network -pts/493 none network -pts/494 none network -pts/495 none network -pts/496 none network -pts/497 none network -pts/498 none network -pts/499 none network -pts/500 none network -pts/501 none network -pts/502 none network -pts/503 none network -pts/504 none network -pts/505 none network -pts/506 none network -pts/507 none network -pts/508 none network -pts/509 none network -pts/510 none network -pts/511 none network |