Does the system use the space on the hard disk which has never been written on, before over-writing the deleted files?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Suppose the total capacity of the hard disk is 1 TB but the user always uses about 500 GB. While allocating new space, does the system give preference to the never used space or overwrites deleted files on the disk?
If it is the first case, can deleted files still remain on the hard disk for years?







share|improve this question
















  • 1




    That depends on the type of filesystem in use.
    – Kusalananda
    Feb 26 at 10:54










  • Deleted files can indeed remain on the hard disk for years, as to how the file system allocates space for new files I' not sure, but it's possible that it also depends on the type of storage. With a spinning HDD it will probably be advantageous to just use the free space nearest to the current position of the read/write head, irrespective of whether it's a never used block or if it belonged to a deleted file.
    – devius
    Feb 26 at 11:12














up vote
1
down vote

favorite












Suppose the total capacity of the hard disk is 1 TB but the user always uses about 500 GB. While allocating new space, does the system give preference to the never used space or overwrites deleted files on the disk?
If it is the first case, can deleted files still remain on the hard disk for years?







share|improve this question
















  • 1




    That depends on the type of filesystem in use.
    – Kusalananda
    Feb 26 at 10:54










  • Deleted files can indeed remain on the hard disk for years, as to how the file system allocates space for new files I' not sure, but it's possible that it also depends on the type of storage. With a spinning HDD it will probably be advantageous to just use the free space nearest to the current position of the read/write head, irrespective of whether it's a never used block or if it belonged to a deleted file.
    – devius
    Feb 26 at 11:12












up vote
1
down vote

favorite









up vote
1
down vote

favorite











Suppose the total capacity of the hard disk is 1 TB but the user always uses about 500 GB. While allocating new space, does the system give preference to the never used space or overwrites deleted files on the disk?
If it is the first case, can deleted files still remain on the hard disk for years?







share|improve this question












Suppose the total capacity of the hard disk is 1 TB but the user always uses about 500 GB. While allocating new space, does the system give preference to the never used space or overwrites deleted files on the disk?
If it is the first case, can deleted files still remain on the hard disk for years?









share|improve this question











share|improve this question




share|improve this question










asked Feb 26 at 10:46









user2323232323

132




132







  • 1




    That depends on the type of filesystem in use.
    – Kusalananda
    Feb 26 at 10:54










  • Deleted files can indeed remain on the hard disk for years, as to how the file system allocates space for new files I' not sure, but it's possible that it also depends on the type of storage. With a spinning HDD it will probably be advantageous to just use the free space nearest to the current position of the read/write head, irrespective of whether it's a never used block or if it belonged to a deleted file.
    – devius
    Feb 26 at 11:12












  • 1




    That depends on the type of filesystem in use.
    – Kusalananda
    Feb 26 at 10:54










  • Deleted files can indeed remain on the hard disk for years, as to how the file system allocates space for new files I' not sure, but it's possible that it also depends on the type of storage. With a spinning HDD it will probably be advantageous to just use the free space nearest to the current position of the read/write head, irrespective of whether it's a never used block or if it belonged to a deleted file.
    – devius
    Feb 26 at 11:12







1




1




That depends on the type of filesystem in use.
– Kusalananda
Feb 26 at 10:54




That depends on the type of filesystem in use.
– Kusalananda
Feb 26 at 10:54












Deleted files can indeed remain on the hard disk for years, as to how the file system allocates space for new files I' not sure, but it's possible that it also depends on the type of storage. With a spinning HDD it will probably be advantageous to just use the free space nearest to the current position of the read/write head, irrespective of whether it's a never used block or if it belonged to a deleted file.
– devius
Feb 26 at 11:12




Deleted files can indeed remain on the hard disk for years, as to how the file system allocates space for new files I' not sure, but it's possible that it also depends on the type of storage. With a spinning HDD it will probably be advantageous to just use the free space nearest to the current position of the read/write head, irrespective of whether it's a never used block or if it belonged to a deleted file.
– devius
Feb 26 at 11:12















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426648%2fdoes-the-system-use-the-space-on-the-hard-disk-which-has-never-been-written-on%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426648%2fdoes-the-system-use-the-space-on-the-hard-disk-which-has-never-been-written-on%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay