FreeBSD easter eggs

bkouhi said:
2. % cd /usr/share/calendar/

There are some interesting stuff under that directory. Try it yourself!

Well, the calendar stuff is not tied to FreeBSD, you can find similar stuff in the same directory from all other BSDs and even Linux. But I agree, it is really interesting!
 
bkouhi said:
Do you know any easter eggs in FreeBSD? I found one: just open a terminal and type make love and see result.

In the case someone is interested, from /usr/src/usr.bin/make/job.c:

Code:
#ifndef WITHOUT_OLD_JOKE
                    if (strcmp(gn->name,"love") == 0)
                               (*abortProc)("Not war.");
                     else
#endif
 
Code:
# rm -rf /
rm: "/" may not be removed

bkouhi said:
I found two other easter eggs!

1. From wikipedia: http://en.wikipedia.org/wiki/Marshall_Kirk_McKusick
The magic number used in the UFS2 super block structure reflects McKusick's birth date: #define FS_UFS2_MAGIC 0x19540119 (as found in /usr/include/ufs/ffs/fs.h on FreeBSD systems).

Not actually an easter egg, but McKusick birth date is exactly 84 years from the 2038 year problem: 2038/01/19 ;)
http://en.wikipedia.org/wiki/Year_2038_problem
 
What about 8 Logo during login screen. I don't know how to enable/disable it but somehow my son made it. FreeBSD 12.2p0
 

Attachments

  • fbsd_logos_conv.jpg
    fbsd_logos_conv.jpg
    664.3 KB · Views: 218
What about 8 Logo during login screen. I don't know how to enable/disable it but somehow my son made it. FreeBSD 12.2p0
kern.vt.splash_cpu="1" in /boot/loader.conf
 
It's a bug and it's already reported. You can reproduce it by type "yes" in vtty then while "y" is repeating on the screen click and hold the left mouse button and switch to another vtty. The logo for cpu splash will appear even if it's not set in /boot/loader.conf
 
Back
Top