Каква е разликата между бърз и пълен формат?

Съдържание:

Каква е разликата между бърз и пълен формат?
Каква е разликата между бърз и пълен формат?

Видео: Каква е разликата между бърз и пълен формат?

Видео: Каква е разликата между бърз и пълен формат?
Видео: Локальная сеть между Windows 7, 8.1 и 10 - YouTube 2024, Април
Anonim
И двата вида форматиране ще ви помогнат да настроите нова операционна система, но една версия на форматирането е по-предпочитана или по-добра от другата? Каква е разликата между двете? Разглеждаме отговорите на тези въпроси в днешната публикация на SuperUser Q & A.
И двата вида форматиране ще ви помогнат да настроите нова операционна система, но една версия на форматирането е по-предпочитана или по-добра от другата? Каква е разликата между двете? Разглеждаме отговорите на тези въпроси в днешната публикация на SuperUser Q & A.

Днешната сесия за въпроси и отговори ни идва с любезното съдействие на SuperUser - подразделение на Stack Exchange - обединяване на уеб сайтове с въпроси и отговори.

Изображение, показано по-горе, с любезното съдействие на saebaryo.

Въпроса

Reader на SuperUser Рудолф иска да разбере каква е разликата между бърз и пълен формат:

I am installing Windows XP on a computer and again I got to the point where it asks you to choose between a quick format and a full format. What is the difference? I know with Windows 7 & 8 installations it appears to do quick formats by default. Is there any difference between the two in terms of risk or consistency?

Както подсказват имената, има разлика в размера на времето, необходимо за всеки тип форматиране, но какво друго е различно между двете? Дали едно е по-добро или по-предпочитано от другото?

Отговорът

Сътрудникът на SuperUser Вернер Хене има отговора за нас:

The term formatting is used for different things.

First it is used for low-level formatting of a hard disk. This includes taking the disk and dividing it into small units – the blocks, which can be accessed by the operating system. Nowadays the manufacturers configure the sector size (like 512 bytes or 4096 bytes) and low-level format the disk. Normally the user can’t low-level format a hard disk anymore.

Second, formatting is used for high-level formatting of a hard disk. This means that the operating system is writing a file system structure to the disk. With good old FAT (File Allocation Table) for example, the system would write a boot sector to the first disk sector and an empty FAT to the following sectors. Empty in this case means that all entries in the File Allocation Table are marked as unused.

High-level formatting might include scanning the disk for bad sectors (check if every sector can be read), and it might include writing zeroes to all data sectors on the disk.

When you format a disk, Windows XP does a high level format and it writes a file system structure to the disk. When you say full format, then Windows XP also scans all sectors on the disk for bad sectors (see MSKB 302686). Since Windows Vista, a full format writes zeroes to all data sectors (see MSKB 941961). Accessing each sector on the disk takes much more time than the quick format, which only writes the blocks that contain the file system structure. So normally a quick format is what you want because it is much faster. But there are cases where you might want to do a full format.

1. You might have a disk that you want to destroy or give away. If you just do a quick format, then the file data is still on the disk, only the file system structure (file names and information where the files are stored on the disk) are deleted. With specialized programs someone might try to “undelete” your files – the data is still there, the task of the program is to guess/know which data block belongs to which file.

2. You might not be sure if the hard disk is in a good state. Then a full format is a good idea because it accesses every sector, so if any sector is bad, this will be recognized. With a quick format only a few sectors will be written to. With bad luck you end up with a successful quick format, and when you want to write data to the disk later, it fails. Then you will probably be wishing you had done a full format that would have checked the entire disk right at the beginning. Of course you can always run a ‘chkdsk /r’ later to scan a disk for bad sectors.

You asked about risks and consistency. I wrote about the risks above. Regarding consistency there is no difference. With every format the operating system writes the file system structure, and this structure is the starting point for every file system access. It does not make any difference if unused sectors are zeroed out or filled with random data.

For more information, you might want to take a look at the Wikipedia Article for Formatting.

Имате ли нещо, което да добавите към обяснението? Звучи в коментарите. Искате ли да прочетете повече отговори от други потребители на Stack Exchange? Вижте цялата тема на дискусията тук.

Препоръчано: