From owner-freebsd-stable@FreeBSD.ORG Wed Feb 1 00:21:59 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1950A16A420; Wed, 1 Feb 2006 00:21:59 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 368C543D45; Wed, 1 Feb 2006 00:21:55 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from it.buh.tecnik93.com (localhost [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 4DDECBB0C; Wed, 1 Feb 2006 02:21:50 +0200 (EET) Date: Wed, 1 Feb 2006 02:21:47 +0200 From: Ion-Mihai Tetcu To: wpaul@FreeBSD.ORG (Bill Paul) Message-ID: <20060201022147.23d7500b@it.buh.tecnik93.com> In-Reply-To: <20060131232213.7F35F16A422@hub.freebsd.org> References: <20060131135731.B59599@xorpc.icir.org> <20060131232213.7F35F16A422@hub.freebsd.org> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Luigi Rizzo , freebsd-stable@FreeBSD.ORG Subject: Re: fdisk, bsdlabel and hidden tricks X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 00:21:59 -0000 On Tue, 31 Jan 2006 23:22:13 +0000 (GMT) wpaul@FreeBSD.ORG (Bill Paul) wrote: > Also, when creating what's supposed to be /, make sure you toggle > off softupdates in the label editor. It's smart enough to only enable > softupdates by default on non-root filesystems, but it only knows > this by checking if the name of the filesystem is /. > > Why is this important? I don't know if this is a bug or expected > broken behavior, but when I created / with softupdates enabled, > I found the ls(1) command would crash or report strange output > whenever I did ls -l. It seems to be unable to read the file mode > information correctly. This was true of _all_ filesystems, not > just /. The Soekris board would otherwise run correctly. Once I > realized my mistake, I went back and recreated the rootfs with > softupdates off, and the problem went away. > > This is probably yet another "we don't do that by default so we > won't bother testing it" bug. I don't think I'm seeing this here on a FreeBSD 6.0-STABLE #0: Wed Jan 11 05:29:04 EET 2006 itetcu@dukat >-SSH-> /home/itetcu [2:18:47] 0 > mount /dev/ad0s1a on / (ufs, local, soft-updates) devfs on /dev (devfs, local) /dev/ad0s1d on /var (ufs, local, soft-updates) devfs on /var/named/dev (devfs, local) itetcu@dukat >-SSH-> /home/itetcu [2:18:49] 0 > ll total 52 -rw-r--r-- 1 itetcu wheel 767 Jan 10 08:08 .cshrc -rw------- 1 itetcu wheel 1402 Jan 31 18:34 .history -rw-r--r-- 1 itetcu wheel 248 Jan 10 08:08 .login -rw-r--r-- 1 itetcu wheel 158 Jan 10 08:08 .login_conf -rw------- 1 itetcu wheel 373 Jan 10 08:08 .mail_aliases -rw-r--r-- 1 itetcu wheel 331 Jan 10 08:08 .mailrc -rw-r--r-- 1 itetcu wheel 797 Jan 10 08:08 .profile -rw------- 1 itetcu wheel 276 Jan 10 08:08 .rhosts -rw-r--r-- 1 itetcu wheel 975 Jan 10 08:08 .shrc drwxr-xr-x 2 itetcu wheel 512 Jan 12 00:10 .ssh drwxr-xr-x 2 itetcu wheel 512 Jan 11 18:40 authlib -r--r--r-- 1 itetcu wheel 7646 Jan 11 18:40 clamd.conf -rw-r--r-- 1 itetcu wheel 1540 Jan 11 18:40 clamsmtpd.conf drwxr-xr-x 4 itetcu wheel 512 Jan 11 18:41 courier-imap drwxr-xr-x 2 itetcu wheel 512 Jan 11 18:38 master -r--r--r-- 1 itetcu wheel 3016 Jan 11 18:39 multitail.conf drwxr-xr-x 3 itetcu wheel 1024 Jan 11 18:42 postfix -rw-r--r-- 1 itetcu wheel 3312 Jan 11 18:39 screenrc -rw-r--r-- 1 root wheel 5273 Jan 14 04:23 smart.initial -- IOnut - Unregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" The more complex the mind, the greater the need for the simplicity of -- Kirk, "Shore Leave", stardate 3025.8