LFS201 - Chapter 2 Discussion // Questions // Banter
I will try to make a thread for each chapter at some point, it will have the same title throughout the course
I am relatively new to Linux but I thought Chapter 2 was fairly straight forward in regards to the File System Hierarchy
A question for anyone who uses Linux Professionally...
Is there a few particular File Systems it would be better to know like the back of my hand: bin, lib, etc, root, dev, etc.... that is used more vs others, or does it really just depend on the job you have?
Comments
-
@luisviveropena ^ ?
0 -
Hi @blackbear710 ,
I will try to make a thread for each chapter at some point, it will have the same title throughout the course
If you want to do that, I don't see any problem.
Is there a few particular File Systems it would be better to know like the back of my hand:
bin, lib, etc, root, dev, etc.... that is used more vs others, or does it really just depend on the job you have?I don't think so. A system administrator, operator, etc., uses and/or work with what he/she needs at the moment. So we use to work mostly with tools (binaries) located in some direcories you can find in the path. For example:
root@starseedstation:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/binMany regards!
Luis.0 -
A thread for every chapter is the best idea! I was reading through so much info to see if Lab 4.1 was already asked about. Lab 4.1 seems 100x harder than everything else I read through. I don't understand the questions or solution, even using the legend. Also, by study plan of getting through this course of 44 chapters in 4 weeks, does that not mean 11 chapters per week?
Best regards,
Warren0 -
You can use key words in the search bar for the forumto see if a question was asked on specific topics. This will make it much easier.
0 -
Thanks for the tip! No luck with the 201 lab so i guess not asked yet.
0 -
Same results, everybody from every year, finds it super easy but me, lol. i will watch zoom next week.
1 -
@Warren67 said:
A thread for every chapter is the best idea! I was reading through so much info to see if Lab 4.1 was already asked about. Lab 4.1 seems 100x harder than everything else I read through. I don't understand the questions or solution, even using the legend. Also, by study plan of getting through this course of 44 chapters in 4 weeks, does that not mean 11 chapters per week?Best regards,
Warren@Warren67 yes I have my eye on the study plan's suggested timing also. Not so much as a schedule but as a guide to how much time to spend on each chapter and how deep to go into each topic.
So on the basis of completing everything in 6 months, the study plan suggests 4 weeks for LFS201 which is 44 chapters. This could be up to 8 weeks if completing over a year. 44 chapters in 4-8 weeks is equivalent to spending 0.5-1 day / chapter.
At the moment, I'm spending more than this on each chapter in LFS201. I'm finding the content easy to get through, and some of the labs are also very basic, but then some are quite challenging are require a thorough read of the man pages and what seems like a deep dive for example into process and signal theory in Chapter 4.
0 -
@Warren67 said:
A thread for every chapter is the best idea! I was reading through so much info to see if Lab 4.1 was already asked about. Lab 4.1 seems 100x harder than everything else I read through. I don't understand the questions or solution, even using the legend. Also, by study plan of getting through this course of 44 chapters in 4 weeks, does that not mean 11 chapters per week?Best regards,
WarrenHi Warren,
Here are my takeaways from Lab 4.1 - please note this is just my interpretation and hence potentially incorrect in some way. Apologies, this went a bit longer that I'd intended. The "Note the following" section towards the bottom of the lab covers the key takeaways from the lab:
If more than one of a given signal is raised while the process has blocked it, does the process receive it multiple times?
Does the behaviour of real time signals differ from normal signals?
If you run the program, you should see in the Signal Number(Times Processed) section that signals with an ID of 34+ (the real time signals) are handled by the process 3 times each, implying each instance of these signals when sent (lines 99 - 117) is queued until the process can receive them (receiving signals is blocked by the process at line 90, and unblocked at line 121).
Whereas the signals with an ID of 31 and below are only handled once - implying that they are not queued as such, just the fact that one or more signals of a particular id was sent is stored by the system (signal is either ON or OFF). This info is then passed to the process once it can receive signals.
Are all signals received by the process, or are some handled before they reach it?
For me when running the program, looking through the Signal Number(Times Processed) section of the output, I see that signals 9, 18, 19, 32 & 33 are not received.
Signal 18 (SIGCONT) looks like it's handled by the shell to resume a process that has been previously paused - so it makes sense that this signal doesn't reach the process.
Signals 9, 19, 32 and 33 are not sent (lines 100 - 102). My interpretation of this being that the program creator expects these signals to be problematic. The note at the bottom of the lab explains why 32 & 33 could be an issue. My understanding of signals 9 (SIGKILL) and 19 (SIGSTOP) is that a process cannot override the default signal handlers for these - so if the process were to send these to itself, it would fail to run correctly.
What order are the signals received in?
Looking through lines 99 to 117 of the code again, the signals were sent sequentially (1..64)
Looking through the final section of the program output, History: Signal Number(Count Processed) shows the order in which the signals were received. For me, signals 31 and below (the non-realtime signals) are not received in a sequential order.
However, signals 34+ (the realtime ones) are received sequentially - which again implies that realtime signals are queued by the system and are handled first in first out, whereas the other signals are handled in some other fashion.
Hope that is helpful and not too waffle-y, there may well be other takeaways that I've missed..
Cheers
1 -
Thanks dacarab, I am gaining a lot by going through your thoughts on this lab. Also read a few chapters of the "The Linux Command Line" to get a new take, my work on LFS101 was rushed and i had gaps in understanding basics.
Regards
1 -
@Chrisfeig, The pace is my biggest challenge, glad you clarified it as i thought i was misreading something. I am taking less notes and putting main ideas and problems on flashcards. If i can't recall what the idea means or the solution, I put the solution on the back and revisit until i know it cold.
0 -
@Warren67 said:
@Chrisfeig, The pace is my biggest challenge, glad you clarified it as i thought i was misreading something. I am taking less notes and putting main ideas and problems on flashcards. If i can't recall what the idea means or the solution, I put the solution on the back and revisit until i know it cold.Flashcards are a great idea @Warren67 I use Anki if you haven't tried it yet I highly recommend it The spaced repetition system is brilliant.
0 -
I haven't seen Anki in years. Had to Google it. Installing now.
0
Categories
- All Categories
- 217 LFX Mentorship
- 217 LFX Mentorship: Linux Kernel
- 791 Linux Foundation IT Professional Programs
- 353 Cloud Engineer IT Professional Program
- 178 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 147 Cloud Native Developer IT Professional Program
- 137 Express Training Courses
- 137 Express Courses - Discussion Forum
- 6.2K Training Courses
- 47 LFC110 Class Forum - Discontinued
- 71 LFC131 Class Forum
- 42 LFD102 Class Forum
- 226 LFD103 Class Forum
- 18 LFD110 Class Forum
- 38 LFD121 Class Forum
- 18 LFD133 Class Forum
- 7 LFD134 Class Forum
- 18 LFD137 Class Forum
- 71 LFD201 Class Forum
- 4 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 2 LFD233 Class Forum
- 4 LFD237 Class Forum
- 24 LFD254 Class Forum
- 697 LFD259 Class Forum
- 111 LFD272 Class Forum
- 4 LFD272-JP クラス フォーラム
- 12 LFD273 Class Forum
- 148 LFS101 Class Forum
- 1 LFS111 Class Forum
- 3 LFS112 Class Forum
- 2 LFS116 Class Forum
- 4 LFS118 Class Forum
- LFS120 Class Forum
- 7 LFS142 Class Forum
- 5 LFS144 Class Forum
- 4 LFS145 Class Forum
- 2 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 2 LFS157 Class Forum
- 29 LFS158 Class Forum
- 7 LFS162 Class Forum
- 2 LFS166 Class Forum
- 4 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 3 LFS178 Class Forum
- 3 LFS180 Class Forum
- 2 LFS182 Class Forum
- 5 LFS183 Class Forum
- 31 LFS200 Class Forum
- 737 LFS201 Class Forum - Discontinued
- 3 LFS201-JP クラス フォーラム
- 18 LFS203 Class Forum
- 134 LFS207 Class Forum
- 2 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 302 LFS211 Class Forum
- 56 LFS216 Class Forum
- 52 LFS241 Class Forum
- 48 LFS242 Class Forum
- 38 LFS243 Class Forum
- 15 LFS244 Class Forum
- 2 LFS245 Class Forum
- LFS246 Class Forum
- 48 LFS250 Class Forum
- 2 LFS250-JP クラス フォーラム
- 1 LFS251 Class Forum
- 152 LFS253 Class Forum
- 1 LFS254 Class Forum
- 1 LFS255 Class Forum
- 7 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.2K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 118 LFS260 Class Forum
- 159 LFS261 Class Forum
- 42 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 24 LFS267 Class Forum
- 22 LFS268 Class Forum
- 30 LFS269 Class Forum
- LFS270 Class Forum
- 202 LFS272 Class Forum
- 2 LFS272-JP クラス フォーラム
- 1 LFS274 Class Forum
- 4 LFS281 Class Forum
- 9 LFW111 Class Forum
- 259 LFW211 Class Forum
- 181 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 795 Hardware
- 199 Drivers
- 68 I/O Devices
- 37 Monitors
- 102 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 85 Storage
- 758 Linux Distributions
- 82 Debian
- 67 Fedora
- 17 Linux Mint
- 13 Mageia
- 23 openSUSE
- 148 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 353 Ubuntu
- 468 Linux System Administration
- 39 Cloud Computing
- 71 Command Line/Scripting
- Github systems admin projects
- 93 Linux Security
- 78 Network Management
- 102 System Management
- 47 Web Management
- 63 Mobile Computing
- 18 Android
- 33 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 371 Off Topic
- 114 Introductions
- 174 Small Talk
- 22 Study Material
- 805 Programming and Development
- 303 Kernel Development
- 484 Software Development
- 1.8K Software
- 261 Applications
- 183 Command Line
- 3 Compiling/Installing
- 987 Games
- 317 Installation
- 97 All In Program
- 97 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)