Днешната сесия за въпроси и отговори ни идва с любезното съдействие на SuperUser - подразделение на Stack Exchange - обединяване на уеб сайтове с въпроси и отговори.
Снимката е предоставена от Лука Коли (Flickr).
Въпроса
Суперузерът Mega иска да знае дали има начин да разберете дали две DVD-и са същите или не:
I have two DVDs and if I open the them, then copy the contents to my hard-drive to compare the respective files, it shows no difference. As far as I know, DVDs also have some additional content (such as information saying if the DVD is bootable along with some formatting information I guess).
How can I also check this additional content? Is it possible without additional programs on Windows or Ubuntu?
Има ли някакви методи, които човек може да използва, за да провери дали две DVD са идентични или не?
Отговорът
Сътрудниците на SuperUser mtak и Dithermaster имат отговор за нас. Първо,
The easiest way to determine if two discs are the same is to run a hash of both of them:
sudo md5sum /dev/cdrom
If the hashes match, then the disks are exactly the same. However, if the hashes do not match, then this will not tell you what is different about them. If even a single bit is different, you will get a totally different hash.
You can check the partition table of a disc with fdisk:
sudo fdisk -l /dev/cdrom
Последвано от отговора на Dithermaster:
Just comparing folders and files misses other things about the disc. If you create an.ISO image file from each disc and byte compare them, you would have a better idea if the discs are really the same or not.
Имате ли нещо, което да добавите към обяснението? Звучи в коментарите. Искате ли да прочетете повече отговори от други потребители на Stack Exchange? Вижте цялата тема на дискусията тук.