Sachidananda Urs: Sat Nov 29 09:27:05 IST 2008 All the programs under this directory are written to illustrate/understand some functionality of larger programs. I've made an attempt to explain the situations I may have encountered to write the junkcode. service_dates.zsh: I was lazy enough to remember the service dates so I wrote this zsh script to remind me about my bike service dates. ufs_sblock.c/ufs2_sblock.c/ fstype_rfs.c/disk_seek.c: While porting fstyp to FreeBSD. I was encountering strange behavior while I tried to read the sizes of superblock which were sometimes not powers of two. I later realized that sizes read have to be in powers of 2 for disks on FreeBSD. ftw_illus.c/fts_illus.c: While re-implementing the rename utility (C version), I saw that the recursive filesytem searching was rather a kludge with seires of chdirs. I found these rather sparsely used library functions. This is a illustration of using these library functions, that I've actually used in the rename implementation.