Re: msdosfs_lookup returns EINVAL, not ENOENT

2001-12-31 Thread Bruce Evans
On Sun, 30 Dec 2001, David Taylor wrote: Whilst poking around on my msdosfs (trying to find an MP3 I thought I had), I discovered that, if there are no files matching foo*, ls foo* will return the wrong error. msdosfs: $ ls foo* ls: foo*: Invalid argument ... I _think_ I've tracked

msdosfs_lookup returns EINVAL, not ENOENT

2001-12-30 Thread David Taylor
Whilst poking around on my msdosfs (trying to find an MP3 I thought I had), I discovered that, if there are no files matching foo*, ls foo* will return the wrong error. msdosfs: $ ls foo* ls: foo*: Invalid argument ufs: $ ls foo* ls: foo*: No such file or directory Using strace tracked this