From owner-freebsd-questions@FreeBSD.ORG  Mon Sep 19 20:59:47 2005
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
X-Original-To: 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 7FEFF16A41F
	for <questions@freebsd.org>; Mon, 19 Sep 2005 20:59:47 +0000 (GMT)
	(envelope-from norgaard@locolomo.org)
Received: from strange.daemonsecurity.com (62-15-217-181.inversas.jazztel.es
	[62.15.217.181])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0D4A543D45
	for <questions@freebsd.org>; Mon, 19 Sep 2005 20:59:47 +0000 (GMT)
	(envelope-from norgaard@locolomo.org)
Received: from [192.168.0.64] (unknown [192.168.0.64])
	by strange.daemonsecurity.com (Postfix) with ESMTP id D4AE82E01E
	for <questions@freebsd.org>; Mon, 19 Sep 2005 22:59:42 +0200 (CEST)
Message-ID: <432F26BE.7090801@locolomo.org>
Date: Mon, 19 Sep 2005 22:59:42 +0200
From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= <norgaard@locolomo.org>
Organization: Locolomo.ORG
User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050909)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: FreeBSD Questions <questions@freebsd.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 
Subject: key map chenges if / is read-only
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Sep 2005 20:59:47 -0000

Hi,

I have experienced a series of crashes trying to get DV working (that's 
another story) so I wanted to protect my root partition from disk errors 
mounting it read only.

Editing /etc/fstab to:

   /dev/ad0s1a    /               ufs     ro              1       1
   /dev/ad0s1d    /usr            ufs     ro              2       2

I lost my danish.iso keymap. all meta characters was gone, I couldn't 
type a @ and I couldn't get out of X with meta+F1.

Editing the fstab so / and /usr would be mounted rw and rebooting solved 
this - but what is going on?

It should be safer to mount / and /usr ro and AFAIK also give better 
perfomance.

Thanks, Erik

-- 
Ph: +34.666334818                           web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2