4
votes
1answer
321 views

How much space do directories consume?

How much space empty directories take? In Windows and NTFS file system it say '0 bytes' which is impossible. How much is really taken up by a directory? Does it depend on the file system or ...
1
vote
1answer
266 views

Disk usage of a symbolic link

If I check the file size of a symbolic link by stat(), then it reports a nonzero file size equal to the link path string. But when I use du on the link, it reports a size of zero blocks. Is there a ...
1
vote
3answers
2k views

du which counts number of files/directories rather than size

I am trying to clean up a hard drive which has all kinds of crap on it accumulated over the years. du has helped reduce disk usage, but the whole thing is still unwieldily not due to the total size, ...
0
votes
1answer
253 views

Unable to create folder/file on root in spite of free space

Since some time I am unable to create file/folder on root. I always log in as root and was able to work properly. My experience is as follows: # pwd /root # mkdir xcxcx mkdir: cannot create ...
0
votes
2answers
509 views

Space ending in rootfs

My problem is that I think in a couple of days there will be no space free in rootfs. Is is possible somehow to 'clear' rootfs from unnecessary files? What should I look for? Rootfs is mounted into ...
0
votes
1answer
205 views

the effect of large number of files on disk space in unix filesystems

If I have a text file in Unix that contains N-many independent entries (e.g. records about employees, where each employee has a separate record), is it expected that this file will take up less space ...
3
votes
1answer
615 views

How Much Space Do Empty Files Consume?

Windows reports both, empty files and folders, as taking up 0 bytes. Surely it takes something to store the file name, attributes, date [created/modified/accessed] etc. How is this weighted?
7
votes
5answers
3k views

Whatever happened to compressed read/write filesystems?

Back in the 90s, my home computer was an Acorn Archimedes. It had on it a piece of software called ArcFS, which allowed you to create compressed archives, a bit like zip files. Unlike zip files, they ...
2
votes
2answers
3k views

Display filesystem's free space available to the root user

By default, Linux reserves some fraction of a filesystem for the root user, at least on ext4 (to prevent ordinary users from filling the drive completely and crashing the system, and to reduce ...
6
votes
1answer
5k views

Newly formatted (NTFS) external hard drive already has 'Used space'. What determines the used space's amount? Is it correlated to the HD's capacity?

I just bought a new external hard drive (WD Elements - 1 TB). In a PC with Windows 7, I formatted it by Right-clicking the drive > Format (Quick Format - NTFS) before using it and, and then checked ...
2
votes
0answers
310 views

Does a smaller cluster size increase the ratio of NTFS compression?

I read that NTFS compression needs a partition formatted with an allocation unit size <= 4KB. Could a smaller cluster size of a partition give more compression and lessen wasted space? For ...
2
votes
2answers
878 views

Calculate minimum ext3 partition size for certain amount of data

These following ext3 partitions contain identical data. As we can see, the larger the partition size, the more space is required for the same files: Filesystem 1K-blocks Used Available ...
7
votes
4answers
3k views

Linux filesystem; difference in calculating size using df & du

When I run df it shows the root device is full. Filesystem Size Used Avail Use% Mounted on /dev/sda1 9.9G 9.4G 0 100% / I looked at the inode usage and there is pretty ...
2
votes
2answers
2k views

Can I delete .msp files?

I have a load of .msp files that i would like to delete, will this harm my system at all?