I have no idea what I did to have /dev/null changed.
I also had this problem with /dev/null once. In my case I used mysql
as root on the command line and had MYSQL_HISTFILE=/dev/null in
.profile. That replaced /dev/null with the MySQL history file.
If you also use MySQL, then more info is here:
Well I do use mysql 5.0.24a. But I can't find any reference to
HISTFILE in .profile or /etc/my.cnf.
But I'll keep this in mind if it happens next time.
If it happens again, don't forget to look what's in the file with cat
/dev/null before you repair /dev/null. The content will probably tell
Thanks for the offer. If it comes to that I'll just do it in a VM.
I'm just a bit surprised that no one can give me any clues as to what
that error is. It's almost as if /dev/null is trying to execute, but
how can that be? I'm stumped, hence my post here.
On 2-Nov-07, at 7:27 PM, Brian A
On 11/3/07, Jason Murray [EMAIL PROTECTED] wrote:
I'm just a bit surprised that no one can give me any clues as to what
that error is. It's almost as if /dev/null is trying to execute, but
how can that be? I'm stumped, hence my post here.
config is reporting that its parser saw invalid syntax
$ ls -l /dev/null
-rw-rw-rw- 1 root wheel 274 Nov 3 18:10 /dev/null
Hmm.
# cd /dev
# ./MAKEDEV std
# ls -l /dev/null
crw-rw-rw- 1 root wheel2, 2 Nov 3 18:12 /dev/null
So now:
# cd /usr/src/sys/arch/i386/conf/
# config GENERIC
Don't forget to run make depend
Kernel options have
It seems like each upgrade there is one gotcha that I stumble on. Here
is this one.
I have a 4.1 box that uses RAIDFrame so I need to compile a customer
kernel in order to upgrade. I know this is not supported, but it has
worked (minus the one gotcha) for me from 3.6 until 4.1 so I expect it
On 2007/11/02 14:45, Jason Murray wrote:
I have a 4.1 box that uses RAIDFrame so I need to compile a customer kernel
in order to upgrade. I know this is not supported, but it has worked (minus
the one gotcha) for me from 3.6 until 4.1 so I expect it will work for 4.2.
And don't get on my
On the 4.1 box. As I've said I've done this since 3.6 with no problems.
On 2-Nov-07, at 4:21 PM, Stuart Henderson wrote:
On 2007/11/02 14:45, Jason Murray wrote:
I have a 4.1 box that uses RAIDFrame so I need to compile a
customer kernel
in order to upgrade. I know this is not supported, but
On 2007/11/02 18:03, Jason Murray wrote:
On the 4.1 box. As I've said I've done this since 3.6 with no problems.
If you were able to take a shortcut for the last 3 years or so,
take that as a bonus, but don't expect it to always work (-:
You were lucky those times.
It's not a shortcut. It is documented, just not supported.
On 2-Nov-07, at 6:23 PM, Stuart Henderson wrote:
On 2007/11/02 18:03, Jason Murray wrote:
On the 4.1 box. As I've said I've done this since 3.6 with no
problems.
If you were able to take a shortcut for the last 3 years or so,
take
On 11/2/07, Jason Murray [EMAIL PROTECTED] wrote:
It's not a shortcut. It is documented, just not supported.
On 2-Nov-07, at 6:23 PM, Stuart Henderson wrote:
On 2007/11/02 18:03, Jason Murray wrote:
On the 4.1 box. As I've said I've done this since 3.6 with no
problems.
If you were
On 11/2/07, Jason Murray [EMAIL PROTECTED] wrote:
I downloaded and untarred a fresh 4.2 src and sys tree.
Then:
# cd /usr/src/sys/arch/i386/conf/
# config GENERIC
/dev/null:1: syntax error
*** Stop.
i don't think this has anything to do with 4.1 or 4.2. you have a
broken something
I've followed the upgrade portion of the FAQ each time. This time the
relevant doc would be: http://www.openbsd.org/faq/upgrade42.html
I'm not trying to do a recompilation of the entire source, just the
kernel. Once I'm booted into the new RAIDFrame aware kernel I can
mount my array and
I hope not.
$ which config
/usr/sbin/config
$ file /usr/sbin/config
/usr/sbin/config: ELF 32-bit LSB executable, Intel 80386, version 1,
for OpenBSD, dynamically linked (uses shared libs), stripped
$ ls -l /usr/sbin/config
-r-xr-xr-x 1 root bin 76836 Mar 10 2007 /usr/sbin/config
March
On Fri, 2007-11-02 at 20:21 +, Stuart Henderson wrote:
On 2007/11/02 14:45, Jason Murray wrote:
I have a 4.1 box that uses RAIDFrame so I need to compile a customer kernel
in order to upgrade. I know this is not supported, but it has worked (minus
the one gotcha) for me from 3.6 until
15 matches
Mail list logo