[ / / / / / / / / / / / / / ] [ dir / b2 / builders / dempart / doomer / komica / truebrit / vichan ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
Verification *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

[–]

 No.1061524>>1061526 >>1061528 [Watch Thread][Show All Posts]

Is worth the effort? I have not heard much about linux from scratch other than it is tedious. Seems like there are a lot of benefits.

 No.1061526

>>1061524 (OP)

It's worth it just probably not for the reasons you think.

It's like the effort of making a barebones shell or text editor.


 No.1061528

>>1061524 (OP)

It's great as a learning experience, or for serious hobbyists. You should, however, be aware that it is not nearly as secure or efficient as a typical Linux distribution, and you will be stuck fixing all of your problems yourself whenever some piece of software changes and leads to compatibility issues (or worse).

I wouldn't consider its ability for you to choose exactly how you want your system built up from the kernel a benefit unless you know enough about operating systems to design and implement your own (which I suppose LFS allows you to do, in a way). And even if you can benefit from that, there are a lot of reasons you wouldn't want to.

If you want to try it out, go ahead, but don't get into it thinking you can use it much practically.


 No.1061572

The purpose of Linux from scratch is for education. You use it to learn about every piece involved in making a Linux based Unixlike system. If you're not interested in learning every piece of software needed and how to configure them together, the effort is not worth it.


 No.1062210

make your own operating system, just write a virtual memory framework, an exec switch, a vnode/vfs interface, a scheduler for time-sharing and system processes, network/tty streams, and a disk driver. Then get them all to communicate.


 No.1062211

File (hide): 772c4d508d6df2e⋯.png (4.63 KB, 300x300, 1:1, ClipboardImage.png) (h) (u)


 No.1062227

gentoo is a nice soft spot, if you learn how to do ebuilds you can basically do whatever you want, their portage system is incredibly flexible. it's a nice in-between that and linux from scratch, as you don't have to keep up with ALL updates, dependencies etc. yourself which you will straight-up not be able to do. I run gentoo and all that *kit, udev, dbus and systemd/openrc garbage has left my system years ago. I wrote my own init. On the other hand, they keep track of updates for my webbrowser. Things like that.

That being said, LFS is also good for embedded systems where you know the requirements exactly and updating doesn't matter. Don't be a glownigger and install ubuntu there.

Unrelated: this new CAPTCHA system here you get if you come via tor is probably the niggerest I've ever seen. Admins confirmed as potential systemd users.


 No.1062260

It's worth it as a learning experience and a jumping off point. I've done both LFS and just using portage's build-pkg feature to get custom systems. If you want just a custom system, something like gentoo's portage, openbsd ports or smgl is easier than fixing dependencies yourself.

I know people now think custom compiling of software for speed is a meme but it's not. If you are bored enough to treat the build of your main system like an embedded system you do get decent performance and boot time improvements. Kernel with no modules, only built in drivers for exactly what your system needs, lzop instead of gzip compression for the kernel and initramfs(if you even need one), statically built coreutils/system sh; like busybox/dash, libreboot if you can do it and daemontools style init system all lead to an insanely fast boot time. LFS also allows you to do things like use musl or uclibc more easily.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
7 replies | 1 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / b2 / builders / dempart / doomer / komica / truebrit / vichan ][ watchlist ]