Consider a file system where a file can be deleted and its disk space remain while links to that file still exist. What problems may occur if a new file is created in the same storage area or with the same absolute path name? And how can this problem be avoided?
-
-
Answer:
That's not a problem. if you delete a file and there are more hard links pointing to the same inode or if the file is still openned, the data will never be freed until the last link is removed and the file is closed. So, if you delete a file in /some/path, and you create a file in /some/path, it will use a different inode, different blocks on disk.
Diego Woitasen at Quora Visit the source
Related Q & A:
- Where did a downloaded file from SharePoint come from? (it's SharePoint path?Best solution by SharePoint
- How to delete a particular line from a file?Best solution by Stack Overflow
- Is there a limit on the size of a new file or a text file?Best solution by Stack Overflow
- How to install a GPS System in a car?Best solution by eHow old
- Does anybody know a site where a teen can find a job?Best solution by ChaCha
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.