55.0k views
1 vote
suppose an operating system wanted to make a filesystem that uses flash memory like is contained in an SSD but without the benefit of block remapping. In this design, the operating system is responsible for determining which flash pages (name for the equivalent for sectors in the flash hardware) data is stored in and triggering the erasure of an erasure block. Which of the following techniques would most help the filesystem get good reliablity out of the flashA. O storing all directory entries in one location on the flash rather than spreading the directory entries throughout the entire flash memory B. O relocating a file's data blocks whenever they are modified instead of overwriting their prior location C. O when possible, allocating all the data blocks for files in directory within the same erasure block.

1 Answer

2 votes

Answer:

B. Relocationg a file's data blocks whenever they are modified instead of overwriting their prior location

Step-by-step explanation:

This will avoid data to be erased within the erasure block, and keep new data saved after the old data inside the erasure block is deleted. The advantage of this flash memory is that it can be modified or saved into different locations instead of keeping all the data in the same block.

User Amaurremi
by
4.6k points