![]() |
|
|
|
|
|||||||
| Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| directory checksum error | jagan_kalluri | UNIX for Dummies Questions & Answers | 1 | 05-29-2008 03:26 PM |
| checksum | jn5519 | SCO | 3 | 07-05-2007 07:32 PM |
| Checksum Key Files | adamevans | AIX | 1 | 01-22-2007 10:19 PM |
| Checksum question | jigarlakhani | Shell Programming and Scripting | 1 | 12-05-2005 09:31 AM |
| directory checksum error | renrongwen | UNIX for Dummies Questions & Answers | 0 | 10-12-2005 07:09 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Directory is Same but Checksum is different
Hello,
I am performing a checksum on our software we have installed on a unix solaris 2.0 os. If the checksum generated report is not the same as a 'Gold' report we have on disk. Then our software is deleted, and reinstalled. The problem I am having is if you run the program again, the checksum report is still different from the gold_report. And on different machines we get different checksum's for identical directories.!!! Does anyone know why this is? any help would be appreciated, Justin |
| Forum Sponsor | ||
|
|
|
|||
|
Cheers
Cheers for the reply. What I am doing is running 'sum' on software on a unix machine and placing the checksums into a file.
Running a 'diff' command on the generated file and a 'gold' file If these are different, then delete all the software and reinstall. If I then run check sums again, it finds differences again (even though the install generated the 'gold' file). One thing i have discovered is: These are on empty directories. Is it because of the metadata that directories hold? thanks, |
|
||||
|
I don't know what running "sum on software" means. I don't know what item is being compared to what other item. Are there even two items involved? Are you running sum on an item and later running sum again on the same item?
Because you are running sum on an empty directory, it is clear that you are actually using the directory as input. (As opposed to running sum on the contents of the directory.) You say "Then our software is deleted, and reinstalled.". You do this because you're not happy with the sum on an empty directory? A directory entry is a name and an inode number. A directory has many of these. A directory entry is deleted by clobbered the beginning of the name. Directories grow but do not shrink. Two empty directories may be of different sizes. And they may have differents shards of deleted entries laying around. Now put two identical entries in each directory. You may overlay the only differing shard. Or you may still have seemingly identical directories with differing sums. Because of the tree structure of a file system, there is no legal way to create two identical directories although it can be done through trickery. So I still have no clue as to what you are doing. |
||||
| Google UNIX.COM |
| Thread Tools | |
| Display Modes | |
|
|
|
The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
|
| "inappropriate ioctl for device" 421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash exec bash for loop command copy/move folder in unix couldn't set locale correctly curses.h cut command in unix export command in unix find grep find mtime find null character in a unix file grep multiple lines grep or grep recursive hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp script snoop unix stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix interview questions unix simulator unix.com vi select all vi substitute vi+substitute+end+of+line+character while loop within while loop shell script |