Re: Really weird filesystem behavior on prep
Andy Ruhl <[email protected]>
| Newsgroups | gmane.os.netbsd.help,gmane.os.netbsd.ports.prep |
|---|---|
| Message-ID | <[email protected]> |
On 11/24/05, Manuel Bouyer <[email protected]> wrote: > On Thu, Nov 24, 2005 at 09:21:27AM -0700, Andy Ruhl wrote: > > I'm trying to upgrade my prep box to the latest 3.0 RC1 binary build, > > and I noticed something. > > > > I booted the kernel with the 2.0.2 userland still intact. This worked. > > > > I noticed some different stuff, so I wanted to pull the kernel configs > > from the 2.0.2 kernel and the 3.0 RC1 kernel and compare them. So I > > used this command straight from the options man page: > > > > strings netbsd | sed -n 's/^_CFG_//p' | unvis > > > > Except I redirected that to a file: > > > > strings netbsd | sed -n 's/^_CFG_//p' | unvis > /root/kernconf.2.0.2 > > > > Now, for the weird part. > > > > The directory that I redirected the file into suddenly behaves as if > > it has no files in it. That is, ls shows nothing: > > > > root@bugs:/root # ls /root > > root@bugs:/root # > > > > If I reboot, it comes back. > > > > What? How can this be happening? > > On what kind of disk system is it ? It's an IBM scsi disk on a scsi controller. Can't get the dmesg right now because I'm in the process of wiping the disk and starting over. There's something else that might be weird. I re fdisk'd and dislabeled the disk, mostly doing what I did before. On prep, the "c" partition is the whole disk, rather than "d" for some reason. I'm wondering if the new disklabel is messing me around making c the netbsd part and d the whold disk, I don't know. (new meaning 3.0 RC1 up from 2.0.2) I'm not sure if it's related, but the disk isn't right so I can't go on. Anyway, I'm going to re-do the disk completely from a netboot environment, and I'll try this again. Thanks. Andy