From owner-freebsd-fs Sun Nov 12 17:48:40 2000 Delivered-To: freebsd-fs@freebsd.org Received: from citusc17.usc.edu (citusc17.usc.edu [128.125.38.177]) by hub.freebsd.org (Postfix) with ESMTP id 306C737B4C5 for ; Sun, 12 Nov 2000 17:48:37 -0800 (PST) Received: (from kris@localhost) by citusc17.usc.edu (8.11.1/8.11.1) id eAD1nj455406 for fs@freebsd.org; Sun, 12 Nov 2000 17:49:45 -0800 (PST) (envelope-from kris) Date: Sun, 12 Nov 2000 17:49:45 -0800 From: Kris Kennaway To: fs@freebsd.org Subject: Non-stat()able directory on msdosfs Message-ID: <20001112174945.A55370@citusc17.usc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I have a weird directory on an msdos filesystem which appears in the parent directory listing (i.e. ls on the parent directory shows it), but for which stat() on the directory itself fails: mollari# ls . ALL [...] mollari# truss ls ALL ioctl(1,TIOCGETA,0xbfbfef90) = 0 (0x0) ioctl(1,TIOCGWINSZ,0xbfbff004) = 0 (0x0) getuid() = 0 (0x0) readlink("/etc/malloc.conf",0xbfbfeeec,63) ERR#2 'No such file or directory' mmap(0x0,4096,0x3,0x1002,-1,0x0) = 671735808 (0x2809e000) break(0x80b2000) = 0 (0x0) break(0x80b3000) = 0 (0x0) break(0x80b4000) = 0 (0x0) break(0x80b5000) = 0 (0x0) stat("ALL",0xbfbfeeec) ERR#2 'No such file or directory' lstat("ALL",0xbfbfeeec) ERR#2 'No such file or directory' open(".",0,00) = 3 (0x3) ls: write(2,0xbfbfe764,4) = 4 (0x4) ALL: No such file or directorywrite(2,0xbfbfe784,30) = 30 (0x1e) write(2,0xbfbfe764,1) = 1 (0x1) fchdir(0x3) = 0 (0x0) exit(0x1) process exit, rval = 256 This is under 5.0, but I've seen it for quite a while, possibly back as far as pre-4.0. Any ideas? Kris --CE+1k2dSO48ffgeK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjoPSLkACgkQWry0BWjoQKXwpQCfaggBwPzGPtLenUgr/auOBnH4 29kAoMvkPYNGknuKzIw+jXMZ3xAAGUTv =wgCR -----END PGP SIGNATURE----- --CE+1k2dSO48ffgeK-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message