question about rename command

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Post Reply
hubi1809
Posts: 42
Joined: Tue Feb 19, 2008 1:23 pm

question about rename command

Post by hubi1809 »

Hello ,

while playing with my ROS installation i found that doing a rename of
a file results in doing a complete copy of the file , it seems that the
rename copies the file to a new one with the new name and makes an delete after its finished. I think this is different to how rename works
on windows (i think on fat normally only the name of the file is changed,
instead of doing a copy).
This can be a problem especially when renaming big files.

Will this behaviour change in later versions of ROS or will it be same as now ?

Regards,

Hubi1809

cppm
Posts: 289
Joined: Wed May 02, 2007 10:03 pm

Post by cppm »

If that is the behavior, then that should certainly change.

It's possible due to some underlying deficiency in the filesystem code.

linuxgx
Posts: 170
Joined: Wed Mar 29, 2006 4:18 pm

Post by linuxgx »

wow, I'm going to have to take a look at who coded that amusing little mistake, lol.

GreatLord
Developer
Posts: 926
Joined: Tue Nov 30, 2004 10:26 am
Location: Sweden

Post by GreatLord »

Hi
hubi1809

u are correct abou how rename works.
it was only solvtions todo the rename when it was added to ros.
it is in vfat driver. then none have change that behoir

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest