Re:Fear and Loathing in Debian/Ubuntu (or: who needs /etc/motd)
by rg3 on Thursday December 08, 2011 @08:34AM
(#3328975)
Also, the original wording is not clear, IMHO.
"On Debian GNU/Linux this file is a symbolic link pointing to /var/run. The contents of this file are regenerated upon every system boot based on the contents of /etc/motd.tail."
It should probably read:
"On Debian GNU/Linux this file is usually a symbolic link pointing to /var/run. The contents of the file in /var/run are regenerated upon every system boot based on the contents of /etc/motd.tail."
To make it clear that the programs that generate the contents target the file in /var/run, and do not operate directly on /etc/motd.
Re:Fear and Loathing in Debian/Ubuntu (or: who needs /etc/motd)
by eridius on Wednesday December 07, 2011 @07:22PM
(#3326901)
Manpages for specific utilities really should not be reiterating basic unix knowledge (e.g. that piping data to a file via the shell > operator doesn't break symlinks).
Re:Fear and Loathing in Debian/Ubuntu (or: who needs /etc/motd)
by anigbrowl on Wednesday December 07, 2011 @07:32PM
(#3326934)
How else are new users supposed to find out? Man pages are often poorly written and unhelpful. Indeed, calling the utility 'man' instead of 'help' is unhelpful.
Re:Fear and Loathing in Debian/Ubuntu (or: who needs /etc/motd)
by alexchamberlain on Thursday December 08, 2011 @04:45AM
(#3328451)
You have got to be kidding! Man pages are amazing - often you can figure out what is going on or what niche switch you want to use much quicker with a man page than Google.
Re:Fear and Loathing in Debian/Ubuntu (or: who needs /etc/motd)
by anigbrowl on Friday December 09, 2011 @07:51PM
(#3336438)
These assertions are not mutually exclusive.
Re:Fear and Loathing in Debian/Ubuntu (or: who needs /etc/motd)
by PotatoEngineer on Tuesday December 13, 2011 @02:38PM
(#3348871)
I agree; I use Linux infrequently, and I've always found the man pages to be chock-full of details on how to use particular switches, but lacking in examples. I usually have to read them very closely just to get to the point of "look, I just want the basic usage on this tool so I can do X, the thing the tool is made for, rather than X -q -m -p."
Re:Fear and Loathing in Debian/Ubuntu (or: who needs /etc/motd)
by Someone on Thursday December 08, 2011 @10:52AM
(#3329537)
I sure hope you would not write it that way, with a double negative. "Regeneration will occur if /etc/motd is a symlink to /var/run/motd"? Still not nice, but IMO easier to understand.
A comment in the Description area that runs along these lines would have made the entire question a non-starter:
If /etc/motd is a non-symlinked file, regeneration will not occur.