From owner-freebsd-questions@FreeBSD.ORG Wed Jun 29 14:38:37 2005 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 5383016A41C for ; Wed, 29 Jun 2005 14:38:37 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD90C43D1F for ; Wed, 29 Jun 2005 14:38:36 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from beatrix.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by kane.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j5TEcYIn002396; Wed, 29 Jun 2005 17:38:35 +0300 Received: from beatrix.daedalusnetworks.priv (localhost [127.0.0.1]) by beatrix.daedalusnetworks.priv (8.13.3+Sun/8.13.3) with ESMTP id j5TEU2qg006745; Wed, 29 Jun 2005 17:30:02 +0300 (EEST) Received: from localhost (keramida@localhost) by beatrix.daedalusnetworks.priv (8.13.3+Sun/8.13.3/Submit) with ESMTP id j5TEU0eD006742; Wed, 29 Jun 2005 17:30:02 +0300 (EEST) X-Authentication-Warning: beatrix.daedalusnetworks.priv: keramida owned process doing -bs Date: Wed, 29 Jun 2005 17:30:00 +0300 (EEST) From: Giorgos Keramidas X-X-Sender: keramida@beatrix To: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= In-Reply-To: <42C2AED7.1010402@t-hosting.hu> Message-ID: References: <42C2AC85.2080806@t-hosting.hu> <42C2AED7.1010402@t-hosting.hu> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-851401618-1120055400=:6736" Cc: freebsd-questions@freebsd.org Subject: Re: Remounting root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2005 14:38:37 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-851401618-1120055400=:6736 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 29 Jun 2005, [ISO-8859-1] K=F6vesd=E1n G=E1bor wrote: > >> # mount -u / >>=20 >> The -u option is actually the "update" option, which tries to restore th= e=20 >> mount options of the file system to the defaults defined in /etc/fstab >> (which includes "rw" too). > > I've tried it, but when I run fsck it wrtites: > > ** /dev/as0s1a (NO WRITE) You shouldn't fsck write-enabled file systems. The usual things I run=20 whenever I'm in single user mode are (the order *IS* important): =09# adjkerntz -i =09# swapon -a =09# fsck -p =09# mount -u / =09# mount -va > And if I try to enable MAC multilabeling or SoftUpdates I get: > > tunefs: /dev/ad0s1a: Failed to write superblock Probably because you have already remounted your root file system as=20 read-write. - Giorgos ---559023410-851401618-1120055400=:6736--