The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
195 views

md5 or sha1 while copying a file

Is there a way in any linux distro to perform a md5sum or sha1 check while the file is being transferred from a local partition to an NFS one? Example: I have a NFS mounted drive and a very big file ...
2
votes
1answer
21 views

Verifying Debian/Ubuntu packages integrity when booting from a read-only DVD?

Is there an easy way to boot a Debian-based Linux system from a read-only medium (say a Live Linux read-only DVD) and then use Debian's .deb checksums / signatures (?) to verify that the files ...
0
votes
1answer
74 views

different checksum of original file and copied file

I am running a script that copy a file from one location to other. In script I am calculating MD5sum using below command of original file and copied file and they are different: echo -n "file" | ...
3
votes
3answers
71 views

Ext4 - How to enable extra sanity, checksums, validations, tests of any kind?

I'm running Ext4 on a harddrive, and to be perfectly honest, I don't really trust the drive because it's old and has a few badblocks. I have nonessential data on the drive, so if it died tomorrow, ...
1
vote
1answer
40 views

validate all packages to be correct

I have two machines. One of which started to act strange lately (aptitude segfaulting, apt requiring a library named lkbm.qo.6). As the broken machine is not vital to me, I don't want to squash and ...
1
vote
1answer
37 views

Range of possible value returned by cksum

I am looking for the range of possible values that could be returned by cksum. E.g. echo -n '/my/path/filename' | cksum | cut -d' ' -f1 returns 2379496500. What is the range (min and max) of the ...
4
votes
2answers
302 views

How to take sha-1, sha-256 or MD5 of CDs / DVDs?

I just tried burning both a Debian CD and a Debian DVD from their .iso files and I've got a weird behavior: the checksum of the CD is correct but the one of the DVD ain't. Here's what working: ...
2
votes
3answers
240 views

How to check if the ISO was written to my USB stick without errors?

I followed these DebianEeePC HowTo InstallUsingStandardInstaller instructions at the Debian Wiki, to write a Debian ISO to my USB. dd if=debian-*-netinst.iso of=/dev/sdX Using sha1sum, I can check ...
2
votes
1answer
117 views

Tar ignore or fix checksum

I have a archive backup.tar that was created with a nonstandard program a long time ago. I no longer have access to the original program. The archive is Not compressed (gzip). When trying to extract ...
21
votes
8answers
12k views

How do I get the MD5 sum of a directory's contents as one sum?

The md5sum program does not provide checksums for directories. I want to get a single MD5 checksum for the entire contents of a directory, including files in sub-directories. That is, one combined ...
0
votes
0answers
102 views

Checksum on Network drive is really slow

I want to check if a bunch of files have copied without problem to a network drive. I am not able to ssh to the network drive, but I am able to mount it using FTP. The number of files is about 220, ...
2
votes
3answers
142 views

Sanity checking MD5 sums

Do MD5 checksums contain a checkbit? I have to copy some MD5 checksums by hand (there's no other way) and was wondering whether there is any code out there that can validate a checksum as being valid ...
2
votes
2answers
494 views

Running sha1sum into several directories

I have several directories that share a common parent directory. In each directory there are regular files, but no other subdirectories. Something like this: top/dir-1 top/dir-1/file-11 ...
-1
votes
1answer
2k views

Bash function to compare two binary files [closed]

I need a function to compare 2 binary files, here the requirements: 2 files, not 3 or 4 files can't be assumed to exist avoid running checksum (CRC/MD5/SHA/...) until one must if running multiple ...
0
votes
1answer
2k views

How to create a md5-file for every folder in a drive recursivley?

I'm searching for a script which creates a md5 chechsum file for every single folder inside drive recursivley? I do have a copy of md5deep on my machine but I'm not that good in scripting bash.
2
votes
0answers
273 views

Software raid checksumming slow

On my new 24 disk array I get 900 MB/s of raw read or write using dd to all the disks. When I set the disks up as a 24 disk RAID6 I get 400 MB/s write and 600 MB/s read. It seems to be due to ...
3
votes
1answer
357 views

FLAC correctness using MD5 placed in STREAMINFO

I know from [Sources], that FLAC computes CRC and MD5. What I am afraid that flac --test only does CRC test - as stated in man flac : same as -d except no decoded file is written . How to check flac ...
5
votes
1answer
525 views

Appending checksum information to file

I'd like to embed checksum information into file, that I transfer. It's tar.gz or tar.xz file and I can only transfer one file to remote side. How do you recommend I embed checksum information? I ...
1
vote
2answers
236 views

Is there file format for checksums?

I want to store SHA512 checksum of the file for my application. How to do it in common (popular) way? So this checksum can be used but by third party application too.
6
votes
3answers
3k views

Is there MD5 (or similar) to a folder? How to verify if two folders are equal?

I'd like to find an md5sum (or similar calculation) of a folder without compressing it into an archive. For example, if in the folder MyFolder we have the files 1.txt, 2.txt and 3.txt, containing: ...
4
votes
1answer
2k views

Obtaining md5 during wget

I'm wget'ing huge files (over 100GB) and then comparing my md5sum to the sum posted in the repository. Believe it or not, md5sum takes a nontrivial amount of time to run on a file of this size, so ...
4
votes
3answers
12k views

How to check if a file is corrupt or not?

Are there any general solutions to check if a file is corrupt or not? For example, whether a video file is bad, or a compressed file is corrupt, etc.
1
vote
3answers
150 views

Tool to remove all non-package files on a system

If you want to keep for example a build or server system clean, it is very useful to be able to check that all files are present and accounted for by the package metadata. At work we have a very nice ...