[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    RE: [QWK] Proposal: paths notation
From:       "Ralf Habacker" <Ralf.Habacker () freenet ! de>
Date:       2003-05-15 6:02:00
[Download RAW message or body]

Jaroslaw Staniek wrote:

> III. Solution for notation:
>
> My proposal is to map win32-specific paths to unix-friendly format. The
> method would be this:
>
> a) convert all paths names to lowercase
> b) map "\" to "/"
> c) map <drive-letter>: to <drive-letter>| , (drive letter always written in
> lowercase)
>
> This allows us to fix all the problems described in II.
> Example mappings:
>
> "C:\Program Files" -> "/c/program files"
> "D:\kde\lib" -> "/d/kde/lib"

A little note: the cygwin POSIX emulation environment uses the same solution to
deal with the path mapping problems.

Additional cygwin supports a mount table stored in the registry to archive the
generic mounting feature in unix. See the examples below:

$ mount
c:\Programme\cygwin\bin on /usr/bin type system (binmode)
c:\Programme\cygwin\lib on /usr/lib type system (binmode)
C:\Programme\cygwin on / type system (binmode)
c: on /c type user (binmode,noumount)
d: on /d type user (binmode,noumount)


Cheers

Ralf

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic