Charles
The process seems to be:
1) yaffs built with CONFIG_YAFFS_GENERIC_RW asserted
Copy a pair of files libxx and libxx.y to a yaffs directory (where
libxx.y is originally a softlink).
This copies both as files as the link is followed.
Delete libxx.y
Recreate libxx.y as a softlink - it seems important that the filename is
the same.
"ls -al libxx*" now has an error saying that "libxx.y cannot be found"
1) yaffs built with CONFIG_YAFFS_GENERIC_RW commented out
Same as above
No problems.
Nick
----- Original Message -----
From: "Charles Manning" <
manningc2@actrix.gen.nz>
To: "Nick Bane" <
nick@cecomputing.co.uk>; "yaffs list"
<
yaffs@toby-churchill.org>
Sent: Monday, August 26, 2002 11:10 PM
Subject: Re: YAFFS softlink bug?
> Nick
>
> Could you try this again with the caching off (CONFIG_YAFFS_GENERIC_RW not
> enabled).
>
> This will help determine which mechanism is misbehaving.
>
> Thanx
>
> -- CHarles
>
> On Sat, 24 Aug 2002 05:15, Nick Bane wrote:
> > 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
> > yaffs-request@toby-churchill.org with the text "unsubscribe" (without
the
> > quotes) as the subject.
>
>
---------------------------------------------------------------------------------------
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
yaffs-request@toby-churchill.org with the text "unsubscribe"
(without the quotes) as the subject.