|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
The FFS filesystem does not log.
Applications that use syslog(8) are generally system-wide services rather than end-user "desktop" applications, but you're always welcome to check the various syslog() files, stored in /var/log. If you'd like to confirm whether it this was your finger fumble or not, setting your shell to alias "rm" as "rm -i" may help you diagnose if human error was involved. But this won't help if it was an application, as that would most likely just call unlink(2). |
|
||||
Thanks,
I did look through the /var/log files, but nothing found,... There also is nothing in the history on what I have done using a shell, often it is bash that I use, but sometimes "ksh",...ksh does not have any history other then recent commands, and it starts with a "clean" history every time I boot (daily, I do shutdown at night),.. The "alias" option, I am not sure I understand very well, from what I see looking at the manual Code:
man alias a "finger fumble" in the future, but don't see how it would help me see if this was a "finger fumble". Any way, I am glad I keep good back ups , it just goes to show , For the future, I wonder how hard it would be to make a script, or configure my system so that it keeps logs of everything the user (me) does, or did,...maybe that would be a different topic though ? Thank you for the response, and taking the time. |
|
||||
You're a bash user? Just add something akin to:
Code:
alias rm="rm -i" I don't use bash, but the shells I use (ksh, tcsh) have similar alias functions. |
|
|||
Quote:
But if it was the case, I guess you would already have worked this out. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
/var/log on tmpfs and missing log files | e1-531g | OpenBSD General | 5 | 28th August 2016 07:30 AM |
Missing library | jaax | OpenBSD Packages and Ports | 2 | 6th April 2011 08:11 AM |
Missing suEXEC | rtwingfield | FreeBSD General | 8 | 13th May 2010 03:35 PM |
powersurge - missing mbr? | knasbas | OpenBSD General | 12 | 6th December 2009 09:59 PM |
sys.tar.gz missing from 3rd CD in 4.5? | thirdm | OpenBSD Installation and Upgrading | 0 | 5th May 2009 03:25 PM |