Date: Wed, 1 Feb 2006 02:21:47 +0200 From: Ion-Mihai Tetcu <itetcu@people.tecnik93.com> To: wpaul@FreeBSD.ORG (Bill Paul) Cc: Luigi Rizzo <rizzo@icir.org>, freebsd-stable@FreeBSD.ORG Subject: Re: fdisk, bsdlabel and hidden tricks 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060201022147.23d7500b>