[sleuthkit-developers] [ sleuthkit-Bugs-2351405 ] disk_stat results incorrect
Brought to you by:
carrier
From: SourceForge.net <no...@so...> - 2009-04-27 03:20:14
|
Bugs item #2351405, was opened at 2008-11-26 11:30 Message generated for change (Settings changed) made by carrier You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=477889&aid=2351405&group_id=55685 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Disk Tools Group: None >Status: Closed >Resolution: Wont Fix Priority: 5 Private: No Submitted By: Brian Carrier (carrier) Assigned to: Brian Carrier (carrier) Summary: disk_stat results incorrect Initial Comment: Just something I thought might be of interest to the group. The newest version of hdparm has some interesting developments. >From http://freshmeat.net/projects/hdparm/?branch_id=4062&release_id=288158: *"Changes:* Support for Device Configuration Overlay was added, with the new flags "--dco-freeze", "--dco-identify", and "--dco-restore"." I have compared results from disk_stat with hdparm --dco-identify command on my home machine. On my main O/S drive disk_stat reports one less sector than hdparm, I guess that disk_stat is counting from zero and hdparm counting from one. On my storage drive, something curious occurs: hdparm --dco-identify reports "Real max sectors" as 488397168 Disk_stat on the same disk gives the following output: Maximum Disk Sector: 268435454 Maximum User Sector: 488397167 Again, there is one sector difference between the max number of sectors reported by disk_stat and hdparm, but I don't understand how the Maximum User Sectors can be larger than the Maximum Disk Sectors. If I understood Issue #20 of the sleuthkit Informer correctly, the Maximum User Sector is the number of sectors visible to the user, the Maximum Disk Sector is the Maximum User Sector + the number of sectors in the HPA. Can anyone explain the disk_stat output above? I am using disk_stat version 3.0.0b3 Thanks Adrian Shaw ---------------------------------------------------------------------- >Comment By: Brian Carrier (carrier) Date: 2009-04-26 22:19 Message: Removed disktools from TSK. ---------------------------------------------------------------------- Comment By: Brian Carrier (carrier) Date: 2008-11-26 11:32 Message: Because hdparm now shows much of the data displayed by disk_stat and there are several open bugs on disk_stat that have not been fixed, I'm beginning to be think that disktools should be abandoned unless someone else picks up responsibility for them... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=477889&aid=2351405&group_id=55685 |