#1436 closed defect (fixed)

rename call requires linking of directories

Reported by: Chris Johns Owned by: Chris Johns
Priority: highest Milestone: 4.10
Component: fs Version: 4.10
Severity: major Keywords:
Cc: nbkolchin@… Blocked By:
Blocking:

Description

RTEMS does not provide a 'rename' call in the file system ops table. The rename function in libcsupport links then unlinks a node. This how-ever does not work with file systems that do not support the linking of directories. This is common in all operating system so the directory is a directed acyclic graph (DAG) instead of it being an arbitrary directed graph (with loops). All operating systems I know have a rename system call and I suppose this is part of the reason why.

If a file system does not support hard linking of directories the rename libc call fails.

The solution is to add a rename call and update all existing file systems.

Change History (3)

comment:1 Changed on Sep 29, 2009 at 6:15:33 AM by Nickolay Semyonov-Kolchin

Cc: Nickolay Semyonov-Kolchin added

comment:2 Changed on May 14, 2010 at 3:39:02 AM by Chris Johns

Resolution: fixed
Status: newclosed

comment:3 Changed on May 14, 2010 at 3:39:23 AM by Chris Johns

Closed.

Note: See TracTickets for help on using tickets.