#9957 NORM 1.5-fir: ofw $rename word will create identically named files

Zarro Boogs per Child bugtracker at laptop.org
Tue Jan 5 18:08:46 EST 2010


#9957: ofw $rename word will create identically named files
-------------------------------------------+--------------------------------
           Reporter:  pgf                  |       Owner:  wmb at firmworks.com                 
               Type:  defect               |      Status:  new                               
           Priority:  normal               |   Milestone:  1.5-firmware                      
          Component:  ofw - open firmware  |     Version:  Development source as of this date
         Resolution:                       |    Keywords:                                    
        Next_action:  diagnose             |    Verified:  0                                 
Deployment_affected:                       |   Blockedby:                                    
           Blocking:                       |  
-------------------------------------------+--------------------------------
Changes (by Quozl):

  * milestone:  Not Triaged => 1.5-firmware


Old description:

> using recent (svn 1641 vintage) OFW:
>
> {{{
> ok dir int:\runin
> ext2-file-system
> ---drwxr-xr-x      1024  2009-12-17 18:33:33  .
> ---drwxr-xr-x      1024  2009-12-17 18:33:33  ..
> ----rw-rw-rw-     10206  2010-01-05 18:12:17  final.fth
> ----rw-rw-rw-     10206  2010-01-05 17:15:55  foo
> ok " int:\runin\foo" " int:\runin\bar" $rename
> ok dir int:\runin
> ext2-file-system
> ---drwxr-xr-x      1024  2009-12-17 18:33:33  .
> ---drwxr-xr-x      1024  2009-12-17 18:33:33  ..
> ----rw-rw-rw-     10206  2010-01-05 18:12:17  final.fth
> ----rw-rw-rw-     10206  2010-01-05 17:15:55  bar
> ok " int:\runin\bar" " int:\runin\foo" $copy
> ok dir int:\runin
> ext2-file-system
> ---drwxr-xr-x      1024  2009-12-17 18:33:33  .
> ---drwxr-xr-x      1024  2009-12-17 18:33:33  ..
> ----rw-rw-rw-     10206  2010-01-05 18:12:17  final.fth
> ----rw-rw-rw-     10206  2010-01-05 18:17:41  foo
> ----rw-rw-rw-     10206  2010-01-05 17:15:55  bar
> ok " int:\runin\foo" " int:\runin\bar" $rename
> ok dir int:\runin
> ext2-file-system
> ---drwxr-xr-x      1024  2009-12-17 18:33:33  .
> ---drwxr-xr-x      1024  2009-12-17 18:33:33  ..
> ----rw-rw-rw-     10206  2010-01-05 18:12:17  final.fth
> ----rw-rw-rw-     10206  2010-01-05 17:15:55  bar
> ----rw-rw-rw-     10206  2010-01-05 18:17:41  bar
> ok " int:\runin\final.fth" " int:\runin\bar" $rename
> ok dir int:\runin
> ext2-file-system
> ---drwxr-xr-x      1024  2009-12-17 18:33:33  .
> ---drwxr-xr-x      1024  2009-12-17 18:33:33  ..
> ----rw-rw-rw-     10206  2010-01-05 18:12:17  bar
> ----rw-rw-rw-     10206  2010-01-05 17:15:55  bar
> ----rw-rw-rw-     10206  2010-01-05 18:17:41  bar
> ok
> }}}

New description:

 using recent (svn 1641 vintage) OFW:

 {{{
 ok dir int:\runin
 ext2-file-system
 ---drwxr-xr-x      1024  2009-12-17 18:33:33  .
 ---drwxr-xr-x      1024  2009-12-17 18:33:33  ..
 ----rw-rw-rw-     10206  2010-01-05 18:12:17  final.fth
 ----rw-rw-rw-     10206  2010-01-05 17:15:55  foo
 ok " int:\runin\foo" " int:\runin\bar" $rename
 ok dir int:\runin
 ext2-file-system
 ---drwxr-xr-x      1024  2009-12-17 18:33:33  .
 ---drwxr-xr-x      1024  2009-12-17 18:33:33  ..
 ----rw-rw-rw-     10206  2010-01-05 18:12:17  final.fth
 ----rw-rw-rw-     10206  2010-01-05 17:15:55  bar
 ok " int:\runin\bar" " int:\runin\foo" $copy
 ok dir int:\runin
 ext2-file-system
 ---drwxr-xr-x      1024  2009-12-17 18:33:33  .
 ---drwxr-xr-x      1024  2009-12-17 18:33:33  ..
 ----rw-rw-rw-     10206  2010-01-05 18:12:17  final.fth
 ----rw-rw-rw-     10206  2010-01-05 18:17:41  foo
 ----rw-rw-rw-     10206  2010-01-05 17:15:55  bar
 ok " int:\runin\foo" " int:\runin\bar" $rename
 ok dir int:\runin
 ext2-file-system
 ---drwxr-xr-x      1024  2009-12-17 18:33:33  .
 ---drwxr-xr-x      1024  2009-12-17 18:33:33  ..
 ----rw-rw-rw-     10206  2010-01-05 18:12:17  final.fth
 ----rw-rw-rw-     10206  2010-01-05 17:15:55  bar
 ----rw-rw-rw-     10206  2010-01-05 18:17:41  bar
 ok " int:\runin\final.fth" " int:\runin\bar" $rename
 ok dir int:\runin
 ext2-file-system
 ---drwxr-xr-x      1024  2009-12-17 18:33:33  .
 ---drwxr-xr-x      1024  2009-12-17 18:33:33  ..
 ----rw-rw-rw-     10206  2010-01-05 18:12:17  bar
 ----rw-rw-rw-     10206  2010-01-05 17:15:55  bar
 ----rw-rw-rw-     10206  2010-01-05 18:17:41  bar
 ok
 }}}

--

Comment:

 Reproduced on q3a25c:

 {{{
 ok copy int:\boot\olpc.fth int:\foo.fth
 Trying to reset data lines
 ok copy int:\boot\olpc.fth int:\bar.fth
 Trying to reset data lines
 ok rename int:\foo.fth int:\bar.fth
 ok
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/9957#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list