#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 09/29/09 at 06:15:33 by Nickolay Semyonov-Kolchin
Cc: | Nickolay Semyonov-Kolchin added |
---|
comment:2 Changed on 05/14/10 at 03:39:02 by Chris Johns
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed on 05/14/10 at 03:39:23 by Chris Johns
Note: See
TracTickets for help on using
tickets.
Closed.