Skip to contentSkip to conversation

Jffs - allows cd into a non-directory file?

DISCUSSION Sheela Kashyap 1 participant 1 message Jan 24, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

I have a weird problem. On the jffs installation, I can 'cd' into a file which is not a directory. For example, I can run:

# cd /etc/services

Once in here, 'ls' fails saying '.' is not a directory. I do not encounter this problem on the NFS mounted filesystem. I copied the files for JFFS from the NFS mounted filesystem. When I run 'ls -l' on /etc/services, the permissions are as expected, that it does not list that file as a directory. Any suggestions are appreciated.

Thanks,
Sheela.

__________________________________________________
Do You Yahoo!?
Great stuff seeing new owners in Yahoo! Auctions!
http://auctions.yahoo.com