Convert a lone double-quote to &dquot; so it won't confuse the heck out
of syntax highlighting editors; remove a redundant copyright notice; answer a frequently asked question about /dev/null.
This commit is contained in:
parent
acd4ef42d9
commit
f132643b6f
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=11270
1 changed files with 60 additions and 6 deletions
|
@ -10016,9 +10016,9 @@ CCP: Received Terminate Ack (1) state = Req-Sent (6)</programlisting>
|
|||
interpret strings such as
|
||||
<literal>set phone "123 456 789"</literal> correctly (and
|
||||
realize that the number is actually only
|
||||
<emphasis>one</emphasis> argument. In order to specify
|
||||
a <literal>"</literal> character, you must escape it using a
|
||||
backslash (<literal>\</literal>).</para>
|
||||
<emphasis>one</emphasis> argument. In order to specify a
|
||||
<literal>&dquot;</literal> character, you must escape it
|
||||
using a backslash (<literal>\</literal>).</para>
|
||||
|
||||
<para>When the chat interpreter parses each argument, it
|
||||
re-interprets the argument in order to find any special
|
||||
|
@ -11826,11 +11826,65 @@ raisechar=^^</programlisting>
|
|||
"Hang on, shouldn't there be '1 to document it.' in that list somewhere?"</emphasis></para>
|
||||
|
||||
<para><emphasis>And then I was enlightened :-)</emphasis></para>
|
||||
|
||||
<para><emphasis>This entry is Copyright (c) 1999 &a.des;.
|
||||
Please do not reproduce without attribution.</emphasis></para>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
<qandaentry>
|
||||
<question id="dev-null">
|
||||
<para>Where does data written to <filename>/dev/null</filename>
|
||||
go?</para>
|
||||
</question>
|
||||
<answer>
|
||||
<para>It goes into a special data sink in the CPU where it
|
||||
is converted to heat which is vented through the heatsink
|
||||
/ fan assembly. This is why CPU cooling is increasingly
|
||||
important; as people get used to faster processors, they
|
||||
become careless with their data and more and more of it
|
||||
ends up in <filename>/dev/null</filename>, overheating
|
||||
their CPUs. If you delete <filename>/dev/null</filename>
|
||||
(which effectively disables the CPU data sink) your CPU
|
||||
may run cooler but your system will quickly become
|
||||
constipated with all that excess data and start to behave
|
||||
erratically. If you have a fast network connection you
|
||||
can cool down your CPU by reading data out of
|
||||
<filename>/dev/random</filename> and sending it off
|
||||
somewhere; however you run the risk of overheating your
|
||||
network connection and <filename>/</filename> or angering
|
||||
your ISP, as most of the data will end up getting
|
||||
converted to heat by their equipment, but they generally
|
||||
have good cooling, so if you don't overdo it you should be
|
||||
OK.</para>
|
||||
|
||||
<para><emphasis>Paul Robinson adds:</emphasis</para>
|
||||
|
||||
<para>There are other methods. As every good sysadmin knows,
|
||||
it is part of standard practise to send data to the screen
|
||||
of interesting variety to keep all the pixies that make up
|
||||
your picture happy. Screen pixies (commonly mis-typed or
|
||||
re-named as 'pixels') are categorised by the type of hat
|
||||
they wear (red, green or blue) and will hide or appear
|
||||
(thereby showing the colour of their hat) whenever they
|
||||
receive a little piece of food. Video cards turn data into
|
||||
pixie-food, and then send them to the pixies - the more
|
||||
expensive the card, the better the food, so the better
|
||||
behaved the pixies are. They also need constant simulation
|
||||
- this is why screen savers exist.</para>
|
||||
|
||||
<para>To take your suggestions further, you could just throw
|
||||
the random data to console, thereby letting the pixies
|
||||
consume it. This causes no heat to be produced at all,
|
||||
keeps the pixies happy and gets rid of your data quite
|
||||
quickly, even if it does make things look a bit messy on
|
||||
your screen.</para>
|
||||
|
||||
<para>Incidentally, as an ex-admin of a large ISP who
|
||||
experienced many problems attempting to maintain a stable
|
||||
temperature in a server room, I would strongly discourage
|
||||
people sending the data they don't want out to the
|
||||
network. The fairies who do the packet switching and
|
||||
routing get annoyed by it as well.</para>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
</qandaset>
|
||||
</chapter>
|
||||
|
||||
|
|
Loading…
Reference in a new issue