Date: Fri, 10 Nov 2000 23:20:06 -0800 (PST) From: Danny Howard <dannyman@tellme.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/22761: ls locks up on directory listing Message-ID: <200011110720.XAA89781@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/22761; it has been noted by GNATS. From: Danny Howard <dannyman@tellme.com> To: freebsd-gnats-submit@freebsd.org Cc: Firooz Partovi <firooz@tellme.com> Subject: Re: bin/22761: ls locks up on directory listing Date: Fri, 10 Nov 2000 23:16:20 -0800 Additional data from Firooz: O.K. I moved all the files out of "11-10" and into another directory, "y". Then I renamed the empty "11-10" directory to "x", and renamed "y" to "11-10". Now, you can do an ls of 11-10 that contains all the files of the original 11-10, but you can't do an ls of the empty directory "x". It either has to do with the inode for x or with the contents of x as shown by the od command. Unfortunately, I cannot do an od of x, because of NFS. Below is the result of stat on x. The only notable thing (that can also be seen by an ls -l command) is the size of the directory, which has remained large after deleting all those files, but this has to do with the way directories are implemented. Most implementations do not do garbage collection on directories every time you remove files from them. By the way, this all is under ~firooz/work/feeds/incoming/sportsticker. -Firooz File name = /home/firooz/work/feeds/incoming/sportsticker/x File type = directory File mode = 00040755 Inode number = 5533051 Device id = 33540 Raw device id = 0 Number of links = 2 User ID = 570 Group ID = 101 File size in bytes = 663552 Time of last access = Fri Nov 10 20:23:24 2000 Time of last modification = Fri Nov 10 20:22:37 2000 Time of last inode change = Fri Nov 10 20:38:29 2000 Preferred I/O block size = 512 Number of 512-byte blocks = 1304 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011110720.XAA89781>