NTFS “Secrets”?

Microsoft distributes at least two Sysinternals tools for this. Junction lets you manipulate junction points (symbolic links). Streams will show you alternate data streams. That page also shows you the :stream syntax to manipulate them from command-line.

Maximum filename length in NTFS (Windows XP and Windows Vista)?

Individual components of a filename (i.e. each subdirectory along the path, and the final filename) are limited to 255 characters, and the total path length is limited to approximately 32,000 characters. However, on Windows, you can’t exceed MAX_PATH value (259 characters for files, 248 for folders). See http://msdn.microsoft.com/en-us/library/aa365247.aspx for full details.

What’s the maximum theoretical data transfer throughput of NTFS?

Even assuming you meant GBps and not Gbps… I am unaware of any filesystem that has an actual throughput limit. Filesystems are simply structures around how to store and retrieve files. They use metadata, structure, naming conventions, security conventions, etc. but the actual throughput limitations are defined by the underlying hardware itself (typically a combination … Read more

fstab filesystem type for NTFS — ‘ntfs’ or ‘ntfs-3g’?

They’re identical – both use ntfs-3g in (current) Ubuntu; the ntfs utils are just symlinked to ntfs-3g. # which mount.ntfs /sbin/mount.ntfs # which mount.ntfs-3g /sbin/mount.ntfs-3g # ls /sbin/mount.ntfs* -l lrwxrwxrwx 1 root root 13 2011-03-01 21:13 /sbin/mount.ntfs -> mount.ntfs-3g lrwxrwxrwx 1 root root 12 2011-03-01 21:13 /sbin/mount.ntfs-3g -> /bin/ntfs-3g

How to workaround the NTFS Move/Copy design flaw?

My approach is to not use file/directory level file permissions; use file share level permissions, and set the whole server filesystem data drive to Everyone Full Control (which becomes moot). Over the years (10+), I have found that NTFS permissions are more complex and leads to more errors. If the permissions are set wrong, or … Read more

How to take ownership of files from the command line?

subinacl is a Windows sysadmin’s power tool for doing everything to do with ownership and ACLs. You can change the ownership to anyone other than just you (you can’t do this with the GUI). subinacl /file test.txt /setowner=domain\foo This lets you set the permission to any user you like, without having to be an administrator … Read more