My work on the hammer file system is completed. You may download the module here: hammerfs-0.1.tar.gz. Here's a short walkthrough:
root@daniel-desktop:~# wget http://hammerfs.googlepages.com/hammerfs-0.1.tar.gz
root@daniel-desktop:~# tar zxf hammerfs-0.1.tar.gz
root@daniel-desktop:~# cd hammerfs
root@daniel-desktop:~/hammerfs# make
root@daniel-desktop:~/hammerfs# insmod hammer.ko
root@daniel-desktop:~/hammerfs# mount -t hammerfs nodev /mnt
root@daniel-desktop:~/hammerfs# cd /mnt
root@daniel-desktop:/mnt# ls -l
total 0
-rw-r--r-- 1 root root 434 2009-04-10 00:26 hammertime
root@daniel-desktop:/mnt# touch hammertime
touch: setting times of „hammertime“: Operation not permitted # can't touch this
root@daniel-desktop:/mnt# cat hammertime
.d:.
...,;l0kc.
.l;oddO0xOd:.
.'dxOKOd;..
;0kdo:.
.xNNXKKl
dNNNNNNX;
dNNNNNNNx
'XNKo0NNk
:XK, .ONK.
;Xl .kK.
.Oc '0.
.. .d;
The special file hammertime will display a new frame each time it is cated. To watch the entire animation, type watch -n0.1 cat hammertime
XD
AntwortenLöschenhahaha!
AntwortenLöschenoh, wait.
17:36 <@Snooze> loon what about attempting to unload the module? prints "2 legit 2 quit" to syslog and console?
AntwortenLöschenrmmod needs to print "2 legit 2 quit" to syslog and console
AntwortenLöschen