From owner-freebsd-questions@FreeBSD.ORG Thu Aug 31 06:29:52 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5FD716A4DA for ; Thu, 31 Aug 2006 06:29:52 +0000 (UTC) (envelope-from badaei@yahoo.com) Received: from web55208.mail.re4.yahoo.com (web55208.mail.re4.yahoo.com [206.190.58.172]) by mx1.FreeBSD.org (Postfix) with SMTP id 3CD1343D46 for ; Thu, 31 Aug 2006 06:29:52 +0000 (GMT) (envelope-from badaei@yahoo.com) Received: (qmail 62897 invoked by uid 60001); 31 Aug 2006 06:29:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=TKOtIrC3B8SIxxLt49TBzMkUM6RMVzm6uTC3W6WFdx2MW3BHbJFCLnGka0OR+txT6LMCp2xWEVq3ltxlt/xFVJa9gfaK0jMtQZCnOoDwTuNy5enZkn2Qde6H2bX8MCEYIMBluREwg3lsnrMu4duoksL7vlg0WxjZ2G7KaqVhTy0= ; Message-ID: <20060831062951.62895.qmail@web55208.mail.re4.yahoo.com> Received: from [72.134.0.217] by web55208.mail.re4.yahoo.com via HTTP; Thu, 31 Aug 2006 13:29:51 ICT Date: Thu, 31 Aug 2006 13:29:51 +0700 (ICT) From: babak badaei To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Any suggestion regarding /DEV wipe out on freebsd 4.7? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: babak badaei List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2006 06:29:52 -0000 Hello, A few days ago I was not able to log into my machine using SSH. I got this following message "Server refused to allocate pty". I was, somewhat fortunately, able to log using SCP. So SCP works. The file system looked good for the most part; until I checked out "/DEV". Almost everything was GONE! Including MAKEDEV. Not sure what to do. Possible clue: Before this happened, last time I was actually logged in via SSH, I ran a dropdb command on one of my postgres databases and got an error message saying I did not have permission to "/DEV/NULL". Not sure what to do, I set permissions to allow write on "NULL". I have done "dropdb" many times before and had never seen that message. If anyone has any clue as do how I may restore /DEV; or how this could have happened. I would appreciate your input. I am running freeBSD 4.7 with 2GB of memory on an Intel Xeon machine. Only thing left in /DEV is a file for each harddrive partition. Thanks!