RE: iptables status

2008-08-19 Thread gnome
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

RE: how to get the size of a disk partition from user space?

2008-05-19 Thread gnome
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

RE: Linux Install

2008-01-09 Thread gnome
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

RE: Documentation for building an initrd (initial ramdisk) for ARM architecture

2007-11-26 Thread gnome
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...