|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
/dev/null was a regular file?
Earlier today I applied a snapshot and rebooted, then postgresql failed to start at boot. Tried starting it manually and it gave me a message about failing to write to /dev/null. So I looked, and:
Code:
# ls -AlF /dev/null -rw-rw---- 1 root bin - 2, 2 Jul 23 08:35 /dev/null Code:
# rm /dev/null # cd /dev # ./MAKEDEV all # ls -AlF /dev/null crw-rw-rw- 1 root wheel - 2, 2 Jul 23 09:08 /dev/null After some reflection I'm a little concerned. Could something nefarious (or quite possibly, something hamfisted I did) have caused /dev/null to become a regular file? |
|
||||
I don't know, but this is short and the way I interpret, it should behave like a regular file:
'man null' Quote:
Code:
parrot$ ls -AlF /dev/null crw-rw-rw- 1 root wheel 2, 2 Jul 23 21:08 /dev/null parrot$
__________________
My best friends are parrots |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
regular server crashes - /proc/ Bad file descriptor | carpman | FreeBSD General | 2 | 1st June 2010 11:51 AM |
Multiple serial consoles via null modem cable or serial console server | J65nko | General Hardware | 0 | 16th January 2010 12:01 AM |
OpenBSD OpenBSD Reliability Fix: kernel NULL pointer dereference in getsockopt() | J65nko | News | 0 | 28th October 2009 11:56 PM |
PHP regular expression help | cajunman4life | Programming | 2 | 16th August 2008 05:17 PM |
are you an former bsdforum regular? | ephemera | Off-Topic | 18 | 28th July 2008 12:57 PM |