[Yaffs-archive] Re: yaffs_rename() only works if newpath does not exist

Charles Manning manningc2@actrix.gen.nz
Sat, 31 Aug 2002 10:23:09 +1200


On Sat, 31 Aug 2002 03:02, project12@banksys.be wrote:
> Charles and all Yaffsers,
>
> I have just remarked that yaffs_rename() only works if newpath does not
> exist.
> This is an explicit condition in yaffs_ChangeObjectName().
> It is annoying because does not conform POSIX semantic of filesystems which
> say:
> 	if newpath already exists it will be atomically replaced (subject to
> a few conditions),
> 	so that there is no point at witch another process attempting to
> access newpath will find it missing.
>
>
> Is there a specific reasons for this?

This is a mistake on my part.
I will correct it.

Thanx for the feedback.

> I will take a lokk at this monday.
>
> Luc Van Oostenryck
>
>
> "The information contained in this e-mail and any attachment thereto is
> confidential and may contain information which is protected by intellectual
> property rights. This information is intended for the exclusive use of the
> recipient(s) named above. This e-mail does not constitute any binding
> relationship or offer toward any of the addressees. If you are not one of
> the addressees , one of their employees or a proxy holder entitled to hand
> over this message to the addressee(s), any use of the information contained
> herein (e.g. reproduction, divulgation, communication or distribution,...)
> is prohibited. If you have received this message in error, please notify
> the sender and destroy it immediately after. The integrity and security of
> this message cannot be guaranteed and it may be subject to data corruption,
> interception and unauthorized amendment, for which we accept no liability."


---------------------------------------------------------------------------------------
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.