On Thu, Jun 04, 2009 at 09:18:19AM -0400, Christian scripsit:
> Graydon wrote:
>> On Thu, Jun 04, 2009 at 08:28:10AM -0400, Christian scripsit:
>>> John Sessoms wrote:
>>>> Why does Task Manager ask me if I want to end a task?
>>>>
>>>> If I hadn't wanted to end the task, I wouldn't have opened Task 
>>>> Manager in the first place, and I wouldn't have clicked on the End 
>>>> Task button.
>>> Yesterday a DBA asked me if there was any way to recover a file that 
>>> he  did "rm" on a linux system. 
>>
>> Strictly, there _is_ a way; it involves hex editors and inodes and
>> it has to be really, really worth it, but there is a way.
>
> and it only works if you quickly stop everything from writing which is  
> never the case on a volitile database.

Well, true, but if the file can be got with rm, either the DBA has
committed a first order, flogging grade atrocity and shot part of the
database with a system command, or it's not actually *in* the DB.  (And
the pro recovery guys can do remarkable things even if it's run for
awhile; that gets pricey, though.)

>> alias rm="rm -i"
>>
>> Which is the usual linux distro default, and which I turn off because
>> it makes me mightily annoyed.  It might be the case that your DBA
>> ought not to be able to turn it off.
>>
>> Generally, though, if it's important, it belongs in version control.
>
> Yeah yeah yeah, but like you say it's annoying and was only the
> "default" in the last few years.

Redhat 5 is the last few years? :)

> anyway most of my guys use rm -f to avoid the annoying question.

Time to give them a special, lightly stunned version of rm?

> http://www.packetstormsecurity.org/unix-humor/100.things.sysadmin.says.html

"We don't know what's wrong".

-- Graydon

--
PDML Pentax-Discuss Mail List
[email protected]
http://pdml.net/mailman/listinfo/pdml_pdml.net
to UNSUBSCRIBE from the PDML, please visit the link directly above and follow 
the directions.

Reply via email to