From owner-freebsd-bugs Thu Sep 24 18:11:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA26272 for freebsd-bugs-outgoing; Thu, 24 Sep 1998 18:11:11 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA26266 for ; Thu, 24 Sep 1998 18:11:09 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id SAA01139; Thu, 24 Sep 1998 18:11:01 -0700 (PDT) (envelope-from jdp) Message-Id: <199809250111.SAA01139@austin.polstra.com> To: nathan@rtfm.net Subject: Re: /dev/null breakage in 2.2.7 In-Reply-To: <19980924151459.A14371@binary.net> References: <19980924151459.A14371@binary.net> Organization: Polstra & Co., Seattle, WA Cc: bugs@FreeBSD.ORG Date: Thu, 24 Sep 1998 18:11:00 -0700 From: John Polstra Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <19980924151459.A14371@binary.net>, Nathan Dorfman wrote: > in 2.2.7-S (shortly past 2.2.7-R), reading /dev/null begins producing the > output of this cron job: > > */10 * * * * root /home/nathan/pop3ck mail xxxxxxxxxx@alphame.com 3 > /dev/null 2>&1 > > nathan@shell.fcc.net:~% cat /dev/null > Connecting to xxx.xxx.xxx.xxx...connected. > Read +OK. > > Writing nothing to /dev/null makes it work right again: > > shell# cat > /dev/null > shell# cat /dev/null > shell# > > Then, > > shell# echo foo > /dev/null > shell# cat /dev/null > foo > shell# > > Is my bit bucket overflowing? :-P is this known/fixed in a newer -STABLE? Do an "ls -l /dev/null" and I'm sure you'll find that it's a regular file on your system, and not a device as it is supposed to be. It _should_ look like this: crw-rw-rw- 1 root wheel 2, 2 Sep 24 17:54 /dev/null Note the "c" in the first column. Become root, get into /dev, and type: rm null ./MAKEDEV std -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message