[Lazarus] Developing on Linux with files on Windows NTFS

Sven Barth pascaldragon at googlemail.com
Thu Feb 5 18:52:14 CET 2015


Am 05.02.2015 17:14 schrieb "Mattias Gaertner" <nc-gaertnma at netcologne.de>:
>
> On Thu, 05 Feb 2015 10:53:40 -0500
> Donald Ziesig <donald at ziesig.org> wrote:
>
> > Hi All!
> >
> > I have been trying to develop a multi-platform app with the IDE on Linux
> > (MInt) and the source files on a Windows NTFS partition.   I build and
> > test on windows but my primary work is done on linux so I don't stay
> > logged in to windows very long.
> >
> > The problem I am having is that the Linux version of the IDE seems to
> > get confused by windows time stamps (at least that's what the symptoms
> > suggest).  When I save an edited file (either code or form), the IDE
> > frequently (but not always) opens a copy of that file in a separate tab
> > and complains when I edit and save one of the two instances.
>
> This means the IDE thinks these are two separate files. For example
> when you mount a case insensitive file system (FAT, NTFS, Samba share)
> under Linux, the IDE does not know and assumes it is case sensitive.
> For the Linux IDE the file 'a.pas' and 'A.pas' are two different
> files.
> Note: Some functions of IDE uses heuristics to figure out such cases,
> but not all.
>

One could check whether the distro mounts NTFS as case sensitive or not. By
default at least ntfs-3g mounts it as case sensitive. Maybe the thread
starter is using the in-kernel driver, I don't know what that one does.
Further info about ntfs-3g's options: http://linux.die.net/man/8/ntfs-3g

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150205/c101511c/attachment-0003.html>


More information about the Lazarus mailing list