If a directory is put in lost+found after running fsck, will it contain all of the original contents? ...

Arriving in Atlanta after US Preclearance in Dublin. Will I go through TSA security in Atlanta to transfer to a connecting flight?

I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?

Is accepting an invalid credit card number a security issue?

Trumpet valves, lengths, and pitch

What is the term for a person whose job is to place products on shelves in stores?

How can I wire a 9-position switch so that each position turns on one more LED than the one before?

Split coins into combinations of different denominations

Has a Nobel Peace laureate ever been accused of war crimes?

What is this word supposed to be?

Passing args from the bash script to the function in the script

My bank got bought out, am I now going to have to start filing tax returns in a different state?

std::is_constructible on incomplete types

What's parked in Mil Moscow helicopter plant?

Why does the Cisco show run command not show the full version, while the show version command does?

Error: Syntax error. Missing ')' for CASE Statement

How to get even lighting when using flash for group photos near wall?

Is a 5 watt UHF/VHF handheld considered QRP?

Are these square matrices always diagonalisable?

Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?

Does Feeblemind produce an ongoing magical effect that can be dispelled?

Implementing 3DES algorithm in Java: is my code secure?

Married in secret, can marital status in passport be changed at a later date?

Do I need to protect SFP ports and optics from dust/contaminants? If so, how?

How would this chord from "Rocket Man" be analyzed?



If a directory is put in lost+found after running fsck, will it contain all of the original contents?



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionHow to test file system correction done by fsckWhat is the purpose of the lost+found folder in Linux and Unix?Busybox NAS appliancefsck single disk from Raid 0 lvmWhy is the directory /lost+found 16K instead of 4K bytes?after fs crash and running fsck, some files were recovered but not place in lost+found?What is inode number of lost + found directory in Linux?What are the conditions that qualify a file as lost and found?Fsck on partition inside RAID broke file system AND RAIDWhat would happen if you zeroed out a certain group of blocks in the EXT4 filesystem?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















Let's say I have the following directory structure:



a/b/{1..9}



(in other words, a/b/1, a/b/2, ... a/b/9)



Suppose I am writing to a/b, and then I lose power. fsck runs and finds some files (a/b/1, a/b/2, etc.) and puts them in lost+found.



Now, the question is, would all of the missing files that were placed in lost+found be under the same directory? So for example if every file 1-9 was lost, is it guaranteed that lost+found would contain something like:
lost+found/#1234567/*, where the folder #1234567 contains all the files 1-9? Or is it possible for them to be spread out into separate directories like:
lost+found/#1234567/1, lost+found/#7654321/2, etc.?










share|improve this question





























    0















    Let's say I have the following directory structure:



    a/b/{1..9}



    (in other words, a/b/1, a/b/2, ... a/b/9)



    Suppose I am writing to a/b, and then I lose power. fsck runs and finds some files (a/b/1, a/b/2, etc.) and puts them in lost+found.



    Now, the question is, would all of the missing files that were placed in lost+found be under the same directory? So for example if every file 1-9 was lost, is it guaranteed that lost+found would contain something like:
    lost+found/#1234567/*, where the folder #1234567 contains all the files 1-9? Or is it possible for them to be spread out into separate directories like:
    lost+found/#1234567/1, lost+found/#7654321/2, etc.?










    share|improve this question

























      0












      0








      0








      Let's say I have the following directory structure:



      a/b/{1..9}



      (in other words, a/b/1, a/b/2, ... a/b/9)



      Suppose I am writing to a/b, and then I lose power. fsck runs and finds some files (a/b/1, a/b/2, etc.) and puts them in lost+found.



      Now, the question is, would all of the missing files that were placed in lost+found be under the same directory? So for example if every file 1-9 was lost, is it guaranteed that lost+found would contain something like:
      lost+found/#1234567/*, where the folder #1234567 contains all the files 1-9? Or is it possible for them to be spread out into separate directories like:
      lost+found/#1234567/1, lost+found/#7654321/2, etc.?










      share|improve this question














      Let's say I have the following directory structure:



      a/b/{1..9}



      (in other words, a/b/1, a/b/2, ... a/b/9)



      Suppose I am writing to a/b, and then I lose power. fsck runs and finds some files (a/b/1, a/b/2, etc.) and puts them in lost+found.



      Now, the question is, would all of the missing files that were placed in lost+found be under the same directory? So for example if every file 1-9 was lost, is it guaranteed that lost+found would contain something like:
      lost+found/#1234567/*, where the folder #1234567 contains all the files 1-9? Or is it possible for them to be spread out into separate directories like:
      lost+found/#1234567/1, lost+found/#7654321/2, etc.?







      fsck lost-found






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 3 hours ago









      jj172jj172

      2201410




      2201410






















          0






          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          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%2f515358%2fif-a-directory-is-put-in-lostfound-after-running-fsck-will-it-contain-all-of-t%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f515358%2fif-a-directory-is-put-in-lostfound-after-running-fsck-will-it-contain-all-of-t%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...