?
Solved

How can a file in windows filesystem be 0 bytes?

Posted on 2005-03-20
4
Medium Priority
?
235 Views
Last Modified: 2010-04-03
Dear experts,
How is it possible to make file of 0 bytes (for example empty text file)? Where is the name of the file and date etc. stored? If I make a folder of a billion 0 byte files I suppose that I have to have less space on my harddrive anyway?
0
Comment
Question by:mmiika
1 Comment
 
LVL 2

Accepted Solution

by:
jazz250 earned 500 total points
ID: 13589514
on a NTFS Volume when any file or directory is created on the NTFS volume, a record is created for it within the Master File Table.
It stores all the attributes of the file.  
so, As more files and directories are added to the file system, it becomes necessary for NTFS to add more records to the MFT.
if the space of master file table is full, the operative system would allocate the rest of the MFT on the disk (usually on a reserved space for the MFT) but if these space is already used by any other files, it might allocate the MFT elsewhere on the disk.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
Suggested Courses
Course of the Month6 days, 16 hours left to enroll

592 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question