Pain

Matts on 2003-05-06T12:44:43

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 ;-)


but I'm pretty sure

hfb on 2003-05-06T13:38:23

I can't think of any reason why you'd want to do that. Why did you do that? :)

Re:but I'm pretty sure

Matts on 2003-05-06T20:06:40

Because I was suffering from horrible jet lag, and thought it would fix screen not working, for some stupid reason.

I'm feeling better now.

Could be worse

autarch on 2003-05-06T14:17:26

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.

Re:Could be worse

Dom2 on 2003-05-06T15:39:30

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

Re:Could be worse

entropic on 2003-05-07T20:21:12

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)