From owner-freebsd-questions@FreeBSD.ORG Sun Apr 24 14:06:54 2005 Return-Path: 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 0275016A4CE for ; Sun, 24 Apr 2005 14:06:54 +0000 (GMT) Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E2FC43D1D for ; Sun, 24 Apr 2005 14:06:53 +0000 (GMT) (envelope-from james.cook@utoronto.ca) Received: from angel.falsifian.afraid.org ([65.94.59.134]) by tomts22-srv.bellnexxia.netSMTP <20050424140651.RHQC21470.tomts22-srv.bellnexxia.net@angel.falsifian.afraid.org>; Sun, 24 Apr 2005 10:06:51 -0400 Received: by angel.falsifian.afraid.org (sSMTP sendmail emulation); Sun, 24 Apr 2005 10:06:46 -0400 Date: Sun, 24 Apr 2005 10:06:46 -0400 From: James Alexander Cook To: gabor.kovesdan@t-hosting.hu Message-ID: <20050424140646.GA75058@angel.falsifian.afraid.org> References: <426BA3E7.4080707@t-hosting.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <426BA3E7.4080707@t-hosting.hu> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: fsck in securelevel 2? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2005 14:06:54 -0000 On Sun, Apr 24, 2005 at 03:49:27PM +0200, K?vesd?n G?bor wrote: > Hi, > > I tried to check the root partition with fsck and it found errors and > for my greatest surprise, it answered its questions automatically with > no. It is due to the securelevel 2? I've been thinking whether fsck uses > direct access (which is denied by the securelevel) or not? If by "direct access" you mean opening the disk for writing, I'm pretty sure the answer is yes, fsck does use direct access. Correct me if I'm wrong, but the only possible way to write to a disk in securelevel 2 is by mounting it and modifying the filesystem on it. And you can't fix a filesystem without a more direct way of accessing it. > > Cheers, > > Gábor Kövesdán - James Cook james.cook@utoronto.ca