ntfs

How to see if a subfile of a directory has changed

In Windows, is there an easy way to tell if a folder has a subfile that has changed? I verified, and the last modified date on the folder does not get updated when a subfile changes. Is there a registry entry I can set that will modify this behavior? If it matters, I am using an NTFS volume. I would ultimately like to have this abil...

How can I view the allocation unit size of a NTFS partition in Vista?

Which built in (if any) tool can I use to determine the allocation unit size of a certain NTFS partition ? ...

How do you deal with lots of small files?

A product that I am working on collects several thousand readings a day and stores them as 64k binary files on a NTFS partition (Windows XP). After a year in production there is over 300000 files in a single directory and the number keeps growing. This has made accessing the parent/ancestor directories from windows explorer very time c...

Mounting NTFS filesystem on CentOS 5.2

Hello guys, I want to mount some internal and external NTFS drives in CentOS 5.2, preferably automatically upon boot-up. Doesn't matter if it's read/write or read-only, but read/write would be preferred, if it's safe. Edit: Thanks for all answers, I summarized them below =) ...

Understanding IIS6 permissions, ACL, and identity--how can I restrict access?

When an ASP.NET application is running under IIS6.0 in Windows 2003 Server with impersonation, what user account is relevant for deciding file read/write/execute access privileges? I have two scenarios where I am trying to understand what access to grant/revoke. I thought the most relevant user is probably the identity specified in the...

is there something like alternate data streams on any linux filesystem?

On NTFS there is a nice but mostly unused feature called "Alternate Data Streams" (ADS) which I recently used in a hobby-dev project. I am thinking of porting this project to Linux, but I do not know if any Filesystem on linux has such a feature? ...

NTFS performance and large volumes of files and directories

How does Windows with NTFS perform with large volumes of files and directories? Is there any guidance around limits of files or directories you can place in a single directory before you run into performance problems or other issues? e.g. is a folder with 100,000 folders inside of it an ok thing to do ...

Any way to ignore files coming from the repository for NTFS?

Ok, so at some point in time, somebody checked in some files with names that require a case sensitive file system into the trunk of a repository that I constantly check out. This of course leads to my local working copy locking up when I try to check it out (on my Windows computer). Is there any way that I can set my local subversion c...

Would NTFS allocation blocks of 16KB or 32KB make compile time faster in comparison to the default 4KB?

Would NTFS allocation blocks of 16KB or 32KB make compile time faster in comparison to the default 4KB? ...

Change journal operations in .NET?

I'm looking for the .NET/C# way of performing Change Journal Operations (without importing unmanaged code). Any hints or RTFM-links? ...

Maximum Filename Length in NTFS (XP and Vista)?

Quick and simple question which I need the answer to. I'm designing a database table which will hold filenames of uploaded files. What is the maximum length of a filename in NTFS; aka Windows XP or Vista? Many Thanks ...

Limit file access to specific users in IIS

I'm running an ASP.NET web site on IIS 6.0 (Windows 2003), and the site uses "integrated windows authentication". The IWA configuration is not a must (until now), but is configured anyway. The application pool runs as the "Network Service". Also, in web.config, there's the line "". The problem I'm facing now is that there's a new request...

How do you reduce the size of a folder's index file in NTFS?

I have a folder in NTFS that contains tens of thousands of files. I've deleted all files in that folder, save 1. I ran contig.exe to defragment that folder so now it's in 1 fragment only. However, the size of that folder is still 8MB in size. This implies that there's a lot of gap in the index. Why is that? If I delete that one file, the...

SQL Server 2000 Page size and the NTFS page size

In the Oracle world, it's been gospel to build your database block size to be even multiples of the File system's block size. I assume this is still true but I'm not adverse to being told why technology has made this irrelevant. But I've been told some SQL Server DBA's are going to upgrade the OS of a SS2000 installation to 64bit to get...

Does Windows XP use the NTFS filesystem function calls to read-from/write-to a pagefile (pagefile.sys)?

If it does, then how do you justify the overheads incurred (journaling etc.)? If it does not, then how come the pagefile gets fragmented? Additionally, would increasing the cluster size improve pagefile performance (cluster slack space is a non-issue)? ...

Directory Traversal in C#

How do you traverse a folder structure using C# without falling into the trap of junction points? ...

What technology to get NTFS access rights in C ?

Hello everybody, I am thinking hard about how to play with access rights on several platforms. Now I am reaching Microsoft Windows and permissions on NTFS files/directories. I must say that I am working in C language. My question is pretty general. I have a username and a file path. Do I need more information to check if the user has ...

Create discrepancy between size on disk and actual size in NTFS

I keep finding files which show a size of 10kb but a size on disk on 10gb. Trying to figure out how this is done, anyone have any ideas? ...

What is the best way to check for reparse point in .net (c#)?

My function is pretty much a standard search function... I've included it below. In the function I have 1 line of code responsible for weeding out Repart NTFS points. if (attributes.ToString().IndexOf("ReparsePoint") == -1) The problem is now I am getting an error Access to the path 'c:\System Volume Information' is denied. I debu...

Why is my mounted MacFUSE NTFS vol read-only?

I got the impression from the MacFUSE site that when you install it and connect an NTFS volume it will be writable. However, the volume I mounted is read only. Here is some of the output of mount... The NTFS external USB drive I'm talking about: /dev/disk1s1 on /Volumes/SATA160 (local, nodev, nosuid, read-only) An OS X format externa...