[Yaffs-archive] YAFFS softlink bug?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nick Bane
Date:  
To: yaffs list
Subject: [Yaffs-archive] YAFFS softlink bug?
I have been using the latest CVS with caching enabled and found it to be
generally stable.

While copying (plain cp) nfs mounted files I tripped over a problem with
softlinks that I had not noted before.

Copying over libgdbm.so.1.7.3 was no problem but doing ln -s
libgdbm.so.1.7.3 libgdbm.so.1 it failed to create the link.
The ln returned fine but ldconfig claimed that it couldn't make the link.
A plain ls on the directory recorded that the link "could not be found" yet
it discovered the filename but failed to find the file.

Trying to unmount the directory returned it being busy.
A reboot (simple reboot, no -f or -a) resulted in the link now seeming ok.
Is this a case of a zero length file failing to be registered in the cache
on creation but appearing on mount scan or something?

The NAND device is a 32MB part with df reporting 83% usage.

Nick Bane



---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by
sending an email to with the text "unsubscribe"
(without the quotes) as the subject.