Skip to content

Commit 8ebdce5

Browse files
committed
2 parents 8e2e18e + 8bc1580 commit 8ebdce5

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

ch8/slab4_actualsz_wstg_plot/plot_graph.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ hash gnuplot || {
8282
exit 1
8383
}
8484
pgrep Xorg >/dev/null || {
85-
echo "${name}: WARNING: are you sure you're running in a GUI? (no Xorg detected)"
85+
pgrep Xwayland >/dev/null || {
86+
echo "${name}: WARNING: are you sure you're running in a GUI? (no Xorg or Xwayland process detected)"
8687
GUI_ENV=0
88+
}
8789
}
88-
8990
prep_datafile
9091
plotit
91-
9292
exit 0

questions/ch3_qs_assignments.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ in single-user mode (and then change the root password).
2020

2121
4. (A bit advanced, for when you're feeling adventurous!) Refer ahead
2222
to Chapter 5, Writing Your First Kernel Module – LKMs Part 2, in
23-
the Configuring a debug kernel section. It details the kernel config options to
24-
be minimally set up for a very useful thing indeed – a debug kernel!
23+
the 'Configuring a debug kernel' section. It details the kernel config options
24+
to be minimally set up for a very useful thing indeed – a debug kernel!
2525

2626
Running your code on a debug kernel can help you uncover hard-to-spot
27-
bugs and issues. Your job here is to configure another kernel with these
28-
debug options, then build and run it.
27+
bugs and issues. Your job here is to configure another 'debug kernel' with
28+
these debug config options, then build and boot from it.
2929

solutions_to_assgn/ch3/solutions_ch3.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,7 @@ tree ${TMPD}
3838
then change the root password).
3939
A.
4040
--- Left as an exercise to the reader ---
41+
(Tip: described in some detail in Ch 3 / Experimenting with the GRUB prompt).
4142

42-
(Described in some detail in Ch 3 / Doing a bit more on the GRUB prompt).
43+
4. <Qs 4 is also ...>
44+
--- Left as an exercise to the reader ---

0 commit comments

Comments
 (0)