You are not logged in.

#1 2006-08-13 18:07:42

sweiss
Member
Registered: 2004-02-16
Posts: 635

Learning Arch in depth

Hi.
This may be a bit of a tricky question, but I'll try anyway.

I've been using Arch for about 2 and a half years now. I know how pacman works, and I've composed quite a few packages.
However, I feel I do not know Arch well enough, especially with all of the more recent changes, such as the module autodetection, udev and the likes. I thought it through, and I'm also not sure about Arch's booting sequence either.

To make a long story short, I'm looking for information about what makes Arch tick, in a more in-depth approach. The wiki mostly contains HowTos and guides for very specific actions, involving more of a "do this and do that" approach.

I'd like to learn how Arch is doing what it's doing. So that I can solve some of my own problems and even help others.

How would you advise me to do so?

Thanks.

Offline

#2 2006-08-13 18:31:34

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: Learning Arch in depth

sweiss wrote:

How would you advise me to do so?

Well you have been using arch longer than me so I don't think I'm the right to answer this, but if you want to know the arch bootup sequence it sounds sane to look through the initscripts.

Offline

#3 2006-08-13 18:47:01

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Learning Arch in depth

sweiss wrote:

To make a long story short, I'm looking for information about what makes Arch tick, in a more in-depth approach. The wiki mostly contains HowTos and guides for very specific actions, involving more of a "do this and do that" approach.

Whenever i write a wiki page, I try to make it more "here's why" than just "do this".

The top part of this: http://wiki.archlinux.org/index.php/XOr … figuration
and this page: http://wiki.archlinux.org/index.php/ModaliasPrimer
are both examples.

If there's anything specific, feel free to ask.

Mostly, the best way to know what's happening is to read through the system level scripts (/etc/rc.sysinit, /usr/lib/initcpio/init, etc etc).

Offline

#4 2006-08-13 19:58:24

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Learning Arch in depth

If you're not already on the mailing list, subscribe now. Also, the dev blog can be useful reading.

Offline

#5 2006-08-14 07:48:40

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Learning Arch in depth

sweiss wrote:

However, I feel I do not know Arch well enough, especially with all of the more recent changes, such as the module autodetection, udev and the likes. I thought it through, and I'm also not sure about Arch's booting sequence either.

Just read: Start with /etc/udev/rules.d/udev.rules, read them, understand them, try to understand the programs referenced there, read them if they are scripts.
Understand the boot process, read /etc/inittab, read the files that are referenced there, start with /etc/rc.sysinit. Read the mkinitcpio files, starting with /lib/initcpio/init and the mkinitcpio tool itself.

That way you will be able to understand arch very well. Have fun.

Offline

#6 2006-08-14 14:23:36

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Learning Arch in depth

Sweiss!!! I haven't seen you in ages!

Read every file in /etc/* and the manpages or online docs for each that looks confusing and/or interesting.

Dusty

Offline

#7 2006-08-14 14:48:42

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: Learning Arch in depth

Just reading probably won't teach you much.  Rolling up your sleeves and jumping into a project will both teach you in a way you won't soon forget AND will force you to read whatever's relevant.

Here are some project ideas:
* Encrypt a /home partition
* Encrypt all but the /boot partition
* Automate the process so you can quickly build a new encrypted system (i.e. shell scripts)
* Build your own Arch ISO so as to include your unique packages:
  -- Custom kernel
  -- "Missing" packages you usually have to install from Community, afterwards
* Alter your ISO so it auto-partitions just the way you like it (e.g. separate encrypted /home partition)
* Alter "quickinst" and any other dependencies so you don't have to go through the menus to do a install -- and things turn out just the way you like, every time
* Make all of the above work on a 512MB (or larger) USB Flash drive
* Get suspend2 to work (not much of a challenge any more, I guess)
* Get two USB devices -- cameras, printers, etc. -- to connect and always appear as the same /dev (e.g. /dev/cannon /dev/kodak)

HTH  8)

Offline

#8 2006-08-14 16:41:47

hehejo_
Member
From: Germany
Registered: 2005-10-08
Posts: 47
Website

Re: Learning Arch in depth

soloport wrote:

* Get two USB devices -- cameras, printers, etc. -- to connect and always appear as the same /dev (e.g. /dev/cannon /dev/kodak)

That is easy.. hehe

Offline

#9 2006-08-15 16:53:31

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: Learning Arch in depth

If I had the time... Ok, not a good way to start a thought, I know.  But my point is, I think it would be a great way to learn if one were to pick some essential wiki pages, go through them step-by-step and see what works, what breaks and what's missing -- and fix the pages, of course.  Then deviate from the main instructions some, where applicable, and put those results at the bottom (as sort of an "Tips and Tricks" appendix).

This would have to boost a person's understanding of any subject.  Plus it seems it would only enhance the wiki's value.  Bonus!

I'll get right on it!  Err... When I have some time  tongue

Offline

#10 2006-08-15 17:56:13

sweiss
Member
Registered: 2004-02-16
Posts: 635

Re: Learning Arch in depth

Dusty wrote:

Sweiss!!! I haven't seen you in ages!

Read every file in /etc/* and the manpages or online docs for each that looks confusing and/or interesting.

Dusty

Hey there Dusty.
I've been quite busy, yeah, but I continue educating myself Python-wise at least. Maybe soon I'll be able to create a wacky test editor myself and start a holy war wink

Thanks a lot for everyone's suggestions, I'm gonna do a lot of reading on friday I guess.

Keep it coming.

Offline

Board footer

Powered by FluxBB