Weird Problem...Empty Directories?

Christopher Chen <[email protected]>
Newsgroups gmane.os.netbsd.ports.prep
Message-ID <[email protected]>
I'm building off of the 2.1_RC1 sources, and built a generic kernel
for my 43p-140.

I rebooted the machine with the new kernel, and everything came up
perfectly. I realized that I never changed my localtime, so I went
into /etc and instinctively typed 'ls':

moocow# cd /etc
moocow# ls
moocow#

Well, that's very strange. Nothing there? Can I cat a file?

moocow# cat fstab
/dev/sd0a / ffs rw 1 1
/dev/sd0b none swap sw 0 0
/dev/sd0d /usr ffs rw,softdep 1 1
/dev/sd0e /var ffs rw,softdep 1 1

Okay. That works. How about:

moocow# ls fstab 
fstab

Okay. How about:

moocow# ls fs*
ls: No match.

This is really weird. Remounting the drive read-only and fscking it
doesn't say anything strange.

If I reboot with Jochen's snapshot kernel from January, Everything seems peachy.

Weird!

--
Chris Chen <[email protected]>
You can tune a file system, but you can't tune a fish.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.