Am Mittwoch, dem 06.01.2021 um 22:24 -0600 schrieb Paul via blfs- support: > I am interested in the idea of LFS to better understand Unix/Linux. I > have been using Linux (Ubuntu/Debian/Arch) as my desktop for several > years and it bothers me that I still don't understand A LOT about how it > works. I like the idea of being able to simplify to the point where I > understand the whole thing. However, looking through some of the LFS > book (I haven't actually done it) I am concerned that the final system > may still not be simplified to the point where I will have time to > understand it all. > > Question 1: If I thoughtfully work through LFS, will I understand what > every file on my system is for and what every process in userspace is doing? Definitly not every single file/process. There are still (even LFS is quite lightweight) thousands of them, at least files - so i don't think there's someone who knows them all by name.
But for sure you'll get a better understanding of how they are organized on disk and probably a better understanding of where to look when searching for something. > > Question 2: Is it possible to run a system using only the kernel, grub > (or other bootloader), maybe a compiler/libc if I need it, and a single > executible loaded by the kernel that I would write in C? Kind of like a > "hello world" exercise that would turn my computer into a single > text-based game, a super super super simple shell, or literally printing > "hello world" on the monitor? Sure, that is the 'init' program (/sbin/init) which needs to be replaced. Than you can strip down your system to be a two-files-OS (1. kernel, 2. your init). Doubt whether it is really fun ;-) > > Thanks! -Paul > -- Thomas -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page