Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Matts (1087)

Matts
  (email not shown publicly)

I work for MessageLabs [messagelabs.com] in Toronto, ON, Canada. I write spam filters, MTA software, high performance network software, string matching algorithms, and other cool stuff mostly in Perl and C.

Journal of Matts (1087)

Tuesday May 06, 2003
07:44 AM

Pain

[ #12040 ]

Yesterday I did this:

sudo rm -f /dev/ttyp2

Do not do this. As hfb will happily remind me - this is why I am not a sysadmin ;-)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I can't think of any reason why you'd want to do that. Why did you do that? :)

  • I once accidentally (duh) made all of /lib on a Solaris box non-executable, which meant basically nothing would run. Unfortunately, unlike Linux (and probably BSDs, I'd guess), Solaris doesn't seem to include any "save my ass" statically linked binary like busybox. Fun fun.
    • There's one: /sbin/sh, if I recall correctly. At that point, it becomes a real test of your sh programming skillz. :-)

      Of course, if you've got a fully loaded statically compiled zsh 4, you're home free. It's got builtin chown,chmod,etc.

      -Dom

    • openbsd turned me on to /altroot which is an unmounted backup of the root filesystem. very nice to have when bad things happen.

      I put the /altroot partition at the front of the second disk so if the root disk fails/breaks ... I can just boot and run again off the second.

      /etc/daily and hier(7)