[Bug 1827] New: RFS: mkdir fails with 'test/..' with CWD == root ino

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Jul 4 00:15:25 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1827

           Summary: RFS: mkdir fails with 'test/..' with CWD == root ino
           Product: RTEMS
           Version: 4.10
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: filesystem
        AssignedTo: chrisj at rtems.org
        ReportedBy: chrisj at rtems.org


This bug exists on 4.10 and head.

$ sparc-rtems4.11-run
sparc-rtems4.11/c/sis/testsuites/samples/fileio/fileio.exe
*** FILE I/O SAMPLE AND TEST ***
 =========================
 RTEMS FILE I/O Test Menu
 =========================
   p -> part_table_initialize
   f -> mount all disks in fs_table
   l -> list  file
   r -> read  file
   w -> write file
   s -> start shell
   Enter your selection ==>s
Creating /etc/passwd and group with three useable accounts
root/pwd , test/pwd, rtems/NO PASSWORD
 =========================
 starting shell
 =========================

RTEMS SHELL (Ver.1.0-FRC):/dev/console. May  8 2011. 'help' to list commands.
[/] # mkrd
Register RAM Disk Driver [blocks=1024 block-size=512]:successful
[/] # mkrfs /dev/rda
[/] # mkdir rd
[/] # mount -t rfs /dev/rda /rd
mounted /dev/rda -> /rd
[/] # cd rd
[/rd] # mkdir test/..
mkdir 'test/..' failed:No such file or directory
[/rd] # mkdir test
[/rd] # mkdir test/..
mkdir 'test/..' failed:No such file or directory
[/rd] #

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list