Talk:RISC OS Filename Translation: Difference between revisions

From RISC OS
Jump to navigationJump to search
(Inconsistency in referring to full path. Not sure which is correct?)
 
m (Answer)
 
Line 6: Line 6:


I presume one of these is incorrect, but can't remember which in order to fix it.
I presume one of these is incorrect, but can't remember which in order to fix it.

----

The correct one is:
/ATAFS::drive.$/
as from Unix path point of view each '/' should be a real directory separator. /ATAFS::drive.$ is the root of your RISC OS disk while /ATAFS::drive is, nor $ is a subdirectory. Note that the unixify path routines in UnixLib not always followed that rule and the riscosify routines currently accept both.
[[User:Joty|joty]] 11:43, 19 April 2008 (BST)

Latest revision as of 10:43, 19 April 2008

In one section you refer to a full path as

/ATAFS::drive.$/

In the next it's

/ATAFS::drive/$/

I presume one of these is incorrect, but can't remember which in order to fix it.


The correct one is:

/ATAFS::drive.$/

as from Unix path point of view each '/' should be a real directory separator. /ATAFS::drive.$ is the root of your RISC OS disk while /ATAFS::drive is, nor $ is a subdirectory. Note that the unixify path routines in UnixLib not always followed that rule and the riscosify routines currently accept both. joty 11:43, 19 April 2008 (BST)