creating a raw disk on linux 2.6

it turns out that linux kernel 2.6 uses udev to manage devices on modern linux systems. and no u cant just use mknod to create that device in /dev.

what follows is the quick and dirty (and wrong apparently but gets it up and running) way of creating a /dev/device on a modern linux system.

before we begin a summary of steps to follow:

no to SCO

this is just such important news that i had to repeat: Court Rules: Novell owns the UNIX and UnixWare copyrights! Novell has right to waive!

and there is more news over at Google News

tsm administrative script

its good tsm practice to backup your tsm database (the db2 database on your tsm server that holds the activity log et al) on a reqular basis. what you see below is a script that the tsm support guys gave me that i beautified up with some descriptive comments. feel free to use it if u see fit or post comments if you have any tweaks and improvements.

history and the bash prompt

the history command is amazing little tool in the bash shell. when you type the command "history" it gets you .. the history of all the commands you typed in at the prompt. but thats not the only trick it does. you up and down arrow keys also work to let you view your historical commands.

more advanced tricks are covered by this article called "How to get the best out of the history command in GNU/Linux"

 

guarddog - a kde gui for the linux iptables firewall

i prefer to use a gui for when it comes to iptables and while there is firestarter and firewall builder i prefer guarddog. guarddog is an iptables gui for kde.

its nice, simple, helpful and gets the job done!

so without any further ado i present the rpm for guarddog for fedora 7 and the src.rpm for it too!

microsoft core fonts rpm

lets face it, there are too many webmasters out there who dont know there is more than 1 web browser out there.

so we, the linux community have to come up with new and innovative ways around these problems. one of the problems is that webpages are written with core web fonts. they are available on the net from microsoft but they are not redistributable. meaning that you and i have to go to microsoft and download them ourselves.

remote Xwindows client

my job as a sys admin requires that i telnet or ssh to a remote machine on a regular basis. however, sometimes, i also need a gui. (i get tired of hitting esc+3 all the time!)

so i created the two scripts below:

Xstart.sh is the xdmcp version of the scripts.

if you look at it, i have used $RANDOM. whats that for? well, instead of telling it to use display :1 coz :0 is busy, i m telling it to use $RANDOM. imagine if :1 is also busy or :2. ok, i took the lazy way out, so sue me! i use the scripts to logon to CDE on the AIX machines

krpmbuilder - a wizard that builds rpm

seriously folks, i dont know how to make an rpm. i m not ashamed, i have attached an rpm i built to this article. its an rpm of krpmbuild. i used krpmbuild to create the rpm of krpmbuild.

ya ya enough of the cryptic talk. basically i downloaded the tar ball, extracted it, ran ./configure;make; make install and used the newly created binary to package itself.

so whats krpmbuilder? here is the sourceforge summary:

configuring xntp on aix

if you are reading this, it means you intend to configure accurate time on your aix machine. and the method you have decided to use is ntp or network time protocol. you have decided not to use sntp (simple network time protocol) or even calling your local telco to listen to the clock. no, you want accurate time to the millisecond.

Fedora 7 on hp pavilion dv4000 (dv4282ea)

its that time of year again. a fresh dvd of fedora 7, the 32 bit has been cooked and installed on my (corporate owned) hp pavilion dv4282ea.

Pages

Subscribe to Posix In Egypt RSS