|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D - std.file.listdir doesn't work on directory NTFS directory mounted by NTFS-3G
Hi, I am on MANDRIVA 2007 and I am using NTFS-3G to mount NTFS directory. When I use the following code on a directory containing mp3 files: auto d_source_files = std.file.listdir(args[1], "*.mp3"); The list is empty. If I launch the same code on the same data but on a FAT32 disc, then the result is the expected one. Why std.file.listdir works on FAT32 and not on NTFS ? Feb 24 2007
miraks wrote:Hi, I am on MANDRIVA 2007 and I am using NTFS-3G to mount NTFS directory. When I use the following code on a directory containing mp3 files: auto d_source_files = std.file.listdir(args[1], "*.mp3"); The list is empty. If I launch the same code on the same data but on a FAT32 disc, then the result is the expected one. Why std.file.listdir works on FAT32 and not on NTFS ? Feb 24 2007
Frits van Bommel Wrote:miraks wrote:Hi, I am on MANDRIVA 2007 and I am using NTFS-3G to mount NTFS directory. When I use the following code on a directory containing mp3 files: auto d_source_files = std.file.listdir(args[1], "*.mp3"); The list is empty. If I launch the same code on the same data but on a FAT32 disc, then the result is the expected one. Why std.file.listdir works on FAT32 and not on NTFS ? Feb 24 2007
Am 24.02.2007, 12:22 Uhr, schrieb miraks <s.mankowski miraks.com>:Hi, I am on MANDRIVA 2007 and I am using NTFS-3G to mount NTFS directory. When I use the following code on a directory containing mp3 files: auto d_source_files =3D std.file.listdir(args[1], "*.mp3"); The list is empty. If I launch the same code on the same data but on a FAT32 disc, then t= Feb 24 2007
You are right, it works perfectly if mounted with "ntfs" but not with "ntfs-3g". The problem is may be due to "ntfs-3g". Something is strange, because some application like "EasyTag" works well (with recusivity) on the same directory mounted with "ntfs-3g". It's may be an incompatibility D/ntfs-3g. Feb 24 2007
miraks wrote:Hi, I am on MANDRIVA 2007 and I am using NTFS-3G to mount NTFS directory. When I use the following code on a directory containing mp3 files: auto d_source_files = std.file.listdir(args[1], "*.mp3"); The list is empty. If I launch the same code on the same data but on a FAT32 disc, then the result is the expected one. Why std.file.listdir works on FAT32 and not on NTFS ? Feb 24 2007
Daniel Keep wrote:Why std.file.listdir works on FAT32 and not on NTFS ? Feb 24 2007
|