From owner-freebsd-current@FreeBSD.ORG Tue Sep 11 21:53:00 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C4FC16A417 for ; Tue, 11 Sep 2007 21:53:00 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1CEED13C467 for ; Tue, 11 Sep 2007 21:53:00 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 115D141C76D for ; Tue, 11 Sep 2007 23:35:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id YPNWslm8l5GT for ; Tue, 11 Sep 2007 23:35:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id B308241C75E; Tue, 11 Sep 2007 23:35:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id E2AE9444885 for ; Tue, 11 Sep 2007 21:31:49 +0000 (UTC) Date: Tue, 11 Sep 2007 21:31:49 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: FreeBSD current mailing list Message-ID: <20070911212720.K58095@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: mount -uw / does not work in boot -s X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2007 21:53:00 -0000 Hi, if you boot -s on a HEAD and try to mount -uw / it will fail to update the mount if you do not have a /etc/fstab. The fstab part is the key to this. With an /etc/fstab everything seems to work just smoothly but how to touch the fstab if you cannot mount the fs rw? Neither mount -uw / mount -u -o rw / mount -uw /dev/... / mount -u -o rw /dev/... / work. The versions with the /dev/... / do not seem to give an error message but a mount afterwards shows that / is still read-only. The filesystem was clean upon boot and no fsck was run (I know there is another problem after fsck I think). -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT Software is harder than hardware so better get it right the first time.