ntfs Questions

13

Solved

Solved: Workable solution: sbi's answer Explanation for what really happens: Hans's answer Explanation for why OpenFile doesn't pass through "DELETE PENDING": Benjamin's answer The Problem: Ou...
Rationality asked 21/9, 2010 at 20:10

2

Solved

I am trying to use FreeNAS CIFS share with Windows (synchronizing files from Windows to FreeNAS) and hit a problem that robocopy.exe thinks that some files need to be copied again every time I run ...
Malley asked 17/12, 2014 at 20:39

3

I was browsing the Win32 API functions for file and directory management operations. I saw that some of those functions has their so called "transactional" counterparts. Examples: CreateDirectory ...
Lyndonlyndsay asked 11/7, 2013 at 12:20

2

Solved

When the USN journal is used for the first time, the volume's entire set of USN records must be enumerated using the FSCTL_ENUM_USN_DATA control code. This is usually a lengthy operation. Is there...
Servile asked 4/7, 2012 at 23:39

2

Solved

In the Windows version of my current personal project, I'm looking to support extended length filepaths. As a result, I'm a little confused with how to use the GetFullPathNameW API to resolve the f...
Cabrilla asked 26/6, 2016 at 9:14

2

Solved

According to Wikipedia NTFS allows two similar names with different case (like Readme.txt vs. readme.txt) and it is only prevented by the windows file API. Current Windows file systems, like NTFS,...
Tush asked 30/11, 2015 at 12:26

6

At a high level, the only obvious difference between NTFS Junction Points and Symbolic Links is that Junctions are only able to be directories, while SymLinks are allowed to also target files. Wha...
Wo asked 28/1, 2012 at 2:53

2

Solved

I'm trying to add the Full Control permission (for a NT service account) to a folder through C#. However, the permission is not set, what I am missing here? var directoryInfo = new DirectoryInfo(@...
Sneak asked 26/3, 2019 at 8:46

3

Solved

How can I automate the following manual steps in C#? Right click a folder in Windows Explorer; Properties -> Security -> Advanced -> Edit Un-tick "Include inheritable permissions from t...
Pernicious asked 2/9, 2010 at 10:49

5

Solved

Recent NTFS and Windows implement symlinks: NTFS junction point can be used as directory symlink since NTFS 3.0 (Windows 2000) using linkd or junction tools. NTFS symbolic link can also be used a...
Blate asked 6/9, 2013 at 9:14

4

Solved

If have this piece of code if(Test-Path -Path $OUT) { Remove-Item $OUT -Recurse } New-Item -ItemType directory -Path $OUT Sometimes it works, but sometimes the New-Item line produces a Permi...
Paschasia asked 8/11, 2018 at 12:22

0

I know how to read a file, pass these bytes to a hashing algorithm such as MD5SUM, SHA256 or CRC32, and get the hash. Here I'm asking something slightly different: Each time we write/modify a fi...
Undulate asked 24/11, 2018 at 10:6

5

Solved

This is a tricky question. I suspect it will require some advanced knowledge of file systems to answer. I have a WPF application, "App1," targeting .NET framework 4.0. It has a Settings.settings f...
Hengist asked 13/3, 2018 at 15:46

5

Solved

Is there a way to create an NTFS junction point in Python? I know I can call the junction utility, but it would be better not to rely on external tools.
Hurlburt asked 17/7, 2009 at 13:27

0

I work with developer tools like git and npm/yarn that often generate lots of small files. I know from NTFS performance and large volumes of files and directories (and from experience) that NTFS d...
Incomprehensible asked 30/5, 2018 at 9:20

2

Solved

In NTFS, I can prefix a path with the \\?\ character sequence to denote that it is a path that exceeds the 260-character limit; as such, the file system will interpret the path correctly and avoid ...
Petromilli asked 29/7, 2011 at 0:45

2

I use Window 2003 server, and I need get information about security folder, programatically using C#. I want create a tool for check permissions. I need get the groups, users, permissions and spec...
Illegalize asked 11/10, 2010 at 11:22

1

I'm developing an (Qt) application which should run under Windows and Linux. So, I want to be able to develop under Windows and Linux, too. Therefore I have stored my project (as git repo) on a NT...
Postscript asked 13/2, 2014 at 11:20

1

Solved

I have a directory containing source code, which I compile to produce object files. I want to quickly apply a patch and rebuild in such a way that I have simultaneous access to both the old and new...
Reiner asked 2/3, 2015 at 16:48

2

Solved

I would like to store up-to 10M files, 2TB storage unit. The only properties which I need restricted to filenames, and their contents (data). The files max-length is 100MB, most of them are less t...
Inhaler asked 27/9, 2010 at 15:58

4

Solved

I'm pretty new to powershell scripting (nearly 1 month since I started learning powershell.) I'm currently working on a script with powershell 2.0 to clean folder NTFS ACL. I want to delete every ...
Senhor asked 4/7, 2011 at 15:17

0

Before doing a USN journal / NTFS MFT files-enumeration with while (DeviceIoControl(hDrive, FSCTL_ENUM_USN_DATA, &med, sizeof(med), pData, sizeof(pData), &cb, NULL)) { // do stuff here m...
Iolenta asked 20/7, 2017 at 19:34

0

I'm enumerating the files of a NTFS hard drive partition, by looking at the NTFS MFT / USN journal with: HANDLE hDrive = CreateFile(szVolumePath, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, ...
Glantz asked 19/7, 2017 at 1:43

4

Solved

I have files on my hard drive that throw a PathTooLongException when I access the Fullname property of a FileSystemInfo object. Is there any way around this (excluding renaming the files which is n...
Bustard asked 22/8, 2011 at 20:54

4

Solved

I would like to compare two strings containing file paths in c#. However, since in ntfs the default is to use case insensitive paths, I would like the string comparison to be case insensitive in t...
Halfdan asked 7/10, 2014 at 7:41

© 2022 - 2024 — McMap. All rights reserved.