June 2009
30 posts
2 tags
3 tags
how to tell if you're in a chroot or not
think you might be in a skillfully-crafted chroot? feelin’ paranoid and you simply MUST KNOW?
check the inode number of the / filesystem. on every unix box, the inode number of / is always 2 (there are exceptions, but on 99.9999% of boxen, this is the case). so, if you stat(“/”) and you see an inode number that is not 2, you’re in a chroot.
howzat? if you’re in a...
the 10 most revealing brain experiments →
@brad_fidler i’m looking at you, sir
Multitouch Space Invaders Demo from Multitouch Barcelona on Vimeo.
multi-touch space invaders!! shoot ‘em down by throwing balls at your wall. i have a big wall! #do want^10.
4 tags
unix best practices fail
much to my chagrin, this little bastard is still around:
# uname -a Linux *hostname redacted* 2.4.22 #1 SMP Tue Oct 14 15:19:21 PDT 2003 i686 unknown # uptime 9:35am up 376 days, 12:00, 1 user, load average: 0.71, 1.13, 1.24 # cat /etc/redhat-release Red Hat Linux release 7.3 (Valhalla) #
the sooner he’s gone, the better. *embarassed* c’mon. we’ve all got boxes like this...