Operating System Programming 4DISS

(REV358--31-Jan-2024)
Welcome to the Operating System Programming for DISS site. The following is a step-by-step guide to set up a Virtual Debian Guest on VirtualBox. This site has been managed by VauLSMorg since 2020.
This is the WAY!

View on GitHub

HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT


Compiling TLPI

Check TARBALL TLPI

ls -al tlpi-230522-dist.tar.gz


Run Script

bash 04-WEEK04.sh


Check and Read RESULT

cd $HOME/RESULT/W04/
ls -al


The result will be similar to the following. Check if there are error messages inside these files:

ZCZC 0A5EA3E WEEKSQ 04 00
ZCZC 0A5DF04 VERSUM 23:3DCB942A 23:3DCB942A
ZCZC 0A53BB7 VERINC 48:BB8EC4A6 48:BB8EC4A6
ZCZC 0A5009D SCRIPT # REV06: Sun 17 Sep 2023 17:00
ZCZC 0A5DFCF XCHECK HOST cbkadal USER cbkadal GROUP cbkadal HOME /home/cbkadal/ ARCH x86_64 NPROC 4
ZCZC 0A550A7 VERDSK 23G 32G 2AB74ACBA35B 94C4C6D37149
ZCZC 0A5AEED CMOUN1 /dev/sdb2 /mnt/lfs ext4 rw,relatime 0 0
ZCZC 0A5800C CMOUN2 /dev/sdb1 /mnt/cbkadal ext4 rw,relatime 0 0
ZCZC 0A5053D VERLNX 6.1.0-12-amd64
ZCZC 0A50F47 DISTRO Description: Debian GNU/Linux 12 (bookworm)
ZCZC 0A5E32E CHDIR1 RESULT YES
ZCZC 0A5AE13 CHDIR2 mydemo YES
ZCZC 0A5D77B CHDIR3 mywork YES
ZCZC 0A5186D CHDIR4 git/os232/TXT YES
ZCZC 0A50EED CHDIR5 git/os YES
ZCZC 0A56538 RESULT ===== RESULT IN /home/cbkadal/RESULT/W04/WEEK04-00-BASIC.txt =====


OK:    Coreutils 9.1    >= 7.0
OK:    Bash      5.2.15 >= 3.2
OK:    Binutils  2.40   >= 2.13.1
OK:    Bison     3.8.2  >= 2.7
OK:    Diffutils 3.8    >= 2.8.1
OK:    Findutils 4.9.0  >= 4.2.31
OK:    Gawk      5.2.1  >= 4.0.1
OK:    GCC       12.2.0 >= 5.1
OK:    GCC (C++) 12.2.0 >= 5.1
OK:    Grep      3.8    >= 2.5.1a
OK:    Gzip      1.12   >= 1.3.12
OK:    M4        1.4.19 >= 1.4.10
OK:    Make      4.3    >= 4.0
OK:    Patch     2.7.6  >= 2.5.4
OK:    Perl      5.36.0 >= 5.8.8
OK:    Python    3.11.2 >= 3.4
OK:    Sed       4.9    >= 4.1.5
OK:    Tar       1.34   >= 1.22
OK:    Texinfo   6.8    >= 5.0
OK:    Xz        5.4.1  >= 5.0.0
OK:    Linux Kernel 6.1.0 >= 4.14
OK:    Linux Kernel supports UNIX 98 PTY
Aliases:
OK:    awk  is GNU
OK:    yacc is Bison
OK:    sh   is Bash
Compiler check:
OK:    g++ works
ZCZC 0A36080 WEEKSQ 04 01
ZCZC 0A35C97 VERSUM 73:3F6FA35E 73:3F6FA35E
ZCZC 0A3A053 VERINC 48:BB8EC4A6 48:BB8EC4A6
ZCZC 0A3E2C0 SCRIPT # REV07: Mon 11 Sep 2023 17:00
ZCZC 0A38475 RESULT ===== RESULT IN /home/cbkadal/RESULT/W04/WEEK04-01-VERSION.txt =====


ZCZC 0ABF69F TLPIBALL acl altio BUILDING cap cgroups CHANGES consh COPYING.agpl-v3 COPYING.gpl-v3 COPYING.lgpl-v3 daemons dirs_links filebuff fileio filelock files filesys getopt inotify lib loginacct Makefile Makefile.inc Makefile.inc.FreeBSD Makefile.inc.HP-UX Makefile.inc.MacOSX Makefile.inc.Solaris Makefile.inc.Tru64 memalloc mmap namespaces pgsjc pipes pmsg proc proccred procexec procpri procres progconc psem pshm pty README seccomp shlibs signals sockets svipc svmsg svsem svshm sysinfo syslim threads time timers tty users_groups vdso vmem xattr
ZCZC 0AB90D5 PWD /home/cbkadal/mywork/WEEK04/tlpi-dist
ZCZC 0ABB243 MAKE
ZCZC 0AB2E8F DIRSIZE 1199
ZCZC 0ABE5ED FILE1 -rw-r--r-- 1 cbkadal cbkadal 5841 Feb 26 2023 README
ZCZC 0ABEF06 FILE2 -rw-r--r-- 1 cbkadal cbkadal 2915 May 22 15:20 time/calendar_time.c
ZCZC 0AB587B FILE3 -rwxr-xr-x 1 cbkadal cbkadal 28800 Sep 25 16:26 time/calendar_time
ZCZC 0ABB7DE calendar_time Seconds since the Epoch (1 Jan 1970): 1695633997 (about 53.733 years) gettimeofday() returned 1695633997 secs, 626342 microsecs Broken down by gmtime(): year=123 mon=8 mday=25 hour=9 min=26 sec=37 wday=1 yday=267 isdst=0 Broken down by localtime(): year=123 mon=8 mday=25 hour=16 min=26 sec=37 wday=1 yday=267 isdst=0 asctime() formats the gmtime() value as: Mon Sep 25 09:26:37 2023 ctime() formats the time() value as: Mon Sep 25 16:26:37 2023 mktime() of gmtime() value: 1695608797 secs mktime() of localtime() value: 1695633997 secs
ZCZC 0AB3B3C make clean
ZCZC 0AB0CC4 WEEKSQ 04 04
ZCZC 0AB8861 VERSUM 3B:802BFF4E 3B:802BFF4E
ZCZC 0ABEE88 VERINC 48:BB8EC4A6 48:BB8EC4A6
ZCZC 0AB2654 SCRIPT # REV03: Mon 25 Sep 2023 14:00
ZCZC 0AB031F VERDSK 23G 32G 2AB74ACBA35B 94C4C6D37149
ZCZC 0AB8FF4 VERLNX 6.1.0-12-amd64
ZCZC 0AB5AC1 TLPISIZE 701 1043 701
ZCZC 0AB6CD3 RESULT ===== RESULT IN /home/cbkadal/RESULT/W04/WEEK04-04-TLPI.txt =====



HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT