Boost logo

Boost :

From: Thomas Witt (witt_at_[hidden])
Date: 2002-08-12 12:37:38


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 12 August 2002 15:35, Anthony Williams wrote:
> From: William Kempf [mailto:williamkempf_at_[hidden]]
> > Not precisely true. NTFS isn't case sensitive, but case
> > preserving.

Actually I think this is not precisely true. For all practical purposes this
is a correct description of NTFS as it is presented by the windows API. The
filesystem is case sensitive with respect to its data structures. Nearly the
whole windows API presents it as being case insensitive but case preserving.
This is due to the implementation of name matching, to me the name matching
is not conceptually part of the filesystem. Furthermore even in the windows
API there are means for case sensitive access (see attached code).

> You
> > can't create to files, one named Foo and the other foo, in the same
> > directory.

Sure you can.

>
> IIRC, you can if you use the POSIX subsystem.

No you don't have to use the POSIX subsystem.

>
> Anthony

Have a look at the attached program. Compile (SUBSYSTEM:console) and run. It
will create two files with filenames differing only in case. BTW this only
works for NTFS (i.e. not for network shares).

- --Thomas

- --
Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
http://www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9V/Jl0ds/gS3XsBoRAru0AJwPY4BMr+XA4v58m/uqTFvbiq4/MQCgid63
zrcwiOpA7vru1RFgqEW0BPM=
=DhUN
-----END PGP SIGNATURE-----




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk