undelete in FreeBSD?

casey casey at phantombsd.org
Tue Jul 26 05:26:46 GMT 2005


Glenn Dawson wrote:

> At 07:51 PM 7/25/2005, Xu Qiang wrote:
>
>> I am just wondering the only shortcoming of Unix clone, such as 
>> FreeBSD, in contrast to M$ Windows, is the lack of a cyclin bin, from 
>> which you can restore anything you have mis-deleted before.
>>
>> Or, am I mis-informed on this issue?
>
>
> If you're really worried about accidently deleting files, just make rm 
> an alias to 'rm -i' or 'rm -I'
>
> -Glenn
>
>
>> Regards,
>> Xu Qiang
>>
>>
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe at freebsd.org"
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"

Also check out chflags. Under certain security levels, you can set flags 
so that something can not be deleted even as root.

Casey


More information about the freebsd-questions mailing list