Subject: Re: fts_read: No such file or directory
To: Peter Seebach <>
From: Jukka Salmi <>
List: current-users
Date: 08/10/2005 12:18:32

Peter Seebach --> current-users (2005-08-09 21:31:50 -0500):
> $ du -s .
> du: fts_read: No such file or directory

Do you use the fdesc file system on the system in question? After
unmounting fdesc (mounted on /dev) on one of the systems where I saw
the same problem du(1) suddenly worked fine...

BTW: adding printfs to the fts_read loop in src/usr.bin/du/du.c revealed
the last file read before du(1) exited with the error you posted was
a file from /dev/fd/3/.

Is this the same problem you are seeing?

Cheers, Jukka

bashian roulette:
$ ((RANDOM%6)) || rm -rf ~