Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2000 17:49:45 -0800
From:      Kris Kennaway <kris@freebsd.org>
To:        fs@freebsd.org
Subject:   Non-stat()able directory on msdosfs
Message-ID:  <20001112174945.A55370@citusc17.usc.edu>

next in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001112174945.A55370>