Blog

Having fun while converting ext2 to ext3 and vice versa.

23.07.2005 at 12:50

Ok this time i was playing around with different filesystem types. I found this page quite useful by doing so, here is a short summary of the most important commands:

// make a normal ext2 filesystem
mke2fs /dev/hda1
// add a journal and therefore make it to an ext3 fs
tune2fs -j /dev/hda1
// ok now lets remove the journal
tune2fs -O ^has_journal /dev/hda1
// check if still everything is ok
e2fsck -f /dev/hda1

read more comments

PHP and PCRE: greedy or not?

18.07.2005 at 12:36

After a while i came once again in touch with Regular Expressions. I needed to convert some bbcode into html but didn't want to use a prepacked library mostly because their yust to blouted for my purpose. However i strugled over a few problems, first of all it took me some time to realize that . (the dot) doesn't match new line characters ('\n') maybe should have read the documentation _before_ starting to code.

read more comments

MySQL v4.1 and Timestamp updates

17.07.2005 at 00:00

While developing this page i strugled over a (at least for me) strange behavior from mysql. Everytime a row is updated the first timestamp field gets updated too. This even happens when the timestamp field doesn't occur in the query.

read more comments

<< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23