Hi,
As a newbie, I have always thought that once the rm is issued on the files, those files would be permanately gone from the file system thus freeing up disk space. Then a colleague of mine just told be the following, which now I am getting a bit confused. This was what I was told:
"For UNIX file system, the allocated space/segments will not be released automatically by deleting the files under directory. In other words, if we have a directory that contain many files, that directory still holds the same space after all the files have been deleted. When we delete the directory and recreate it, it will have default amount of space allocated."
Is this correct? So does that mean I can't exactly believe what the df command is telling me about the available space?
Thanks,
Mike
As a newbie, I have always thought that once the rm is issued on the files, those files would be permanately gone from the file system thus freeing up disk space. Then a colleague of mine just told be the following, which now I am getting a bit confused. This was what I was told:
"For UNIX file system, the allocated space/segments will not be released automatically by deleting the files under directory. In other words, if we have a directory that contain many files, that directory still holds the same space after all the files have been deleted. When we delete the directory and recreate it, it will have default amount of space allocated."
Is this correct? So does that mean I can't exactly believe what the df command is telling me about the available space?
Thanks,
Mike