I believe iptables -L will list all currently applied rules; none if there aren't any applied and iptables isn't filtering traffic. I imagine if you want to detect if it is loaded you could do something with lsmod to see if iptables related modules are loaded... lsmod | grep iptable ??? Looks lik
Like Roberto pointed out, you're using the "-h" flag of df which will give you a human readable output in terms of K, M or G...whichever is most appropriate... Reading from /sys/block/device/partion/size gives you the raw size of the partition...-Adam
Original Message
Subject: R
You certainly can. There are a variety of ways including
LinuxFromScratch.org (aka LFS), Soup To Nuts
(souptonuts.sourceforge.net), and generic builds involving a C library,
BusyBox and the Linux kernel. I've tried all three. You can also
typically search for and find the build scripts involved
1) There should be either an info page or man page on mkinitrd.
2) There are many examples on google such as this one from Texas Instruments:
focus.ti.com/lit/an/spraah2/spraah2.pdf
NOTE: That pdf also has some basic startup script information which should help
with your second question...