summaryrefslogtreecommitdiffstats
path: root/src/hdaccess.c
Commit message (Collapse)AuthorAgeFilesLines
* Linux: Lists NVME disksChristophe Grenier2018-10-171-0/+2
|
* Handle VirtIO block /dev/vd[a-z] devicesChristophe Grenier2017-09-111-0/+2
|
* Avoid division by zero in autoset_geometry().Christophe Grenier2017-06-241-1/+1
| | | | Thanks to Adel KHALDI from Blue Frost Security GmbH for reporting the problem.
* Scan loop devices.Christophe Grenier2017-04-131-26/+18
| | | | Original idea from Flos Lonicerae <lonicerae@gmail.com>
* Use explicit function adressesChristophe Grenier2017-04-031-6/+6
| | | | See MISRA C:2004, 16.9
* Windows: search for the first 64 disks instead of the first 16Christophe Grenier2016-09-031-1/+1
|
* Haiku: use native ioctls to detect geometryFrançois Revol2016-07-251-0/+70
|
* Haiku: widen globbing on device namesFrançois Revol2016-07-251-1/+1
| | | | | | We also need to match: /dev/disk/ata/0/slave/raw /dev/disk/usb/0/0/raw
* Linux: scan /dev/sd[a-z][a-z] devices.Christophe Grenier2016-06-141-7/+3
|
* Improve English grammar, capitalization, and punctuationAlex Henrie2016-02-221-1/+1
|
* add gcc_struct attribute to all __packed__ structureChristophe Grenier2015-04-111-2/+2
| | | | do not use fseeko() with mingw32 gcc compiler
* file_test_availability: discard the buffer content if less than 512 bytes ↵Christophe Grenier2015-03-121-1/+1
| | | | has been read
* Stricter check for .E01 when used as disk imageChristophe Grenier2014-11-151-1/+3
|
* scan for Linux Xen /dev/xvd? deviceChristophe Grenier2014-08-091-0/+2
|
* Display number of sectors as long long unsigned integerChristophe Grenier2014-07-261-2/+2
| | | | see 179ddff52b82753def3b15d38b3f8a18173e46d7
* log when disk image is using EWFChristophe Grenier2014-05-271-0/+2
|
* Fix check before falling back in readonly modeChristophe Grenier2014-01-111-6/+3
|
* code style: ignore some function return valueChristophe Grenier2013-11-011-1/+1
|
* Fix various warning reported by gccChristophe Grenier2013-05-251-1/+1
|
* Get rid of pread_fast(), it's too error proneChristophe Grenier2013-05-241-9/+2
|
* Fix memory leak when freeing deviceChristophe Grenier2013-05-191-20/+25
|
* src/hdaccess.c: remove unnecessary variable allocationChristophe Grenier2013-03-241-2/+2
|
* List the number of sectors when head per cylinder and sector per head are 1Christophe Grenier2012-08-091-10/+16
| | | | TestDisk: Display the sector size
* when HDCLONING is defined, remove open() O_EXCL parameter and save partial ↵Christophe Grenier2012-06-281-5/+5
| | | | read data
* Remove unnecessary function declarationsChristophe Grenier2012-04-151-1/+0
|
* Improve default partition table selectionChristophe Grenier2012-02-251-41/+43
|
* Minor code cleanup in file_test_availability()Christophe Grenier2012-01-161-1/+1
|
* Remove "Allow partial last cylinder" optionChristophe Grenier2011-12-081-40/+3
|
* Cygwin version: get better ReadFile error messageChristophe Grenier2011-11-221-40/+74
|
* Search for Linux /dev/md* device instead of /dev/md?Christophe Grenier2011-11-011-1/+1
|
* Read HDD serial number and firmware revision (Linux)Christophe Grenier2011-06-301-105/+100
|
* Reject sector size reported by Windows if bigger than 16MBChristophe Grenier2011-04-231-1/+2
|
* Add the possibility to clone read sectors (Disabled at compile time by default).Christophe Grenier2011-04-031-1/+44
|
* Fix for HPA and DCO detection (again)Christophe Grenier2011-03-051-3/+0
|
* For non partionned media formated as FAT, set bytes per sector accordingChristophe Grenier2011-03-051-33/+45
| | | | to FAT boot sector information.
* Introduce pread_fast(), a function that can return a pointer to the data in ↵Christophe Grenier2010-11-051-0/+9
| | | | | | cache instead of using memcpy to fill the buffer with a copy of the data
* New prototype for size_to_unit()Christophe Grenier2010-10-241-3/+5
|
* Code cleanupChristophe Grenier2010-08-231-1/+1
|
* Detect vnd (virtual node driver) devices that provides interface to disk ↵Steven Mestdagh2010-08-161-0/+7
| | | | image file.
* Fix detection of Encase 6Christophe Grenier2010-04-271-2/+2
| | | | Fix detection of OpenBSD SCSI device
* Detect disks when compiled for Haiku (free open source operating system ↵Christophe Grenier2009-12-111-0/+6
| | | | compatible with BeOS)
* Scan for the first 20 disks under Mac OS X instead of 10 (fix)Christophe Grenier2009-10-061-4/+2
|
* Scan for the first 20 disks under Mac OS X instead of 10Christophe Grenier2009-09-301-4/+5
|
* Stricter check for EWF files - workaround a bug in libewf-20090510 when ↵Christophe Grenier2009-07-261-1/+27
| | | | opening a file segment other than .e01
* move autoset_unit() to a separate fileChristophe Grenier2009-05-051-26/+14
|
* Cylinder is now long unsigned int. Fix a parameter inversion for the DOS ↵Christophe Grenier2009-04-121-3/+3
| | | | version.
* code cleanup: remove unused verbose parameter to disk_get_hpa_dco()Christophe Grenier2009-03-061-1/+1
|
* code cleanup, fix signed/unsigned warningsChristophe Grenier2009-03-061-1/+1
|
* code cleanup: remove verbose argument to fewf_initChristophe Grenier2009-03-061-2/+2
|
* hdaccess.c: fix compilation for cygwin (breakage introduced when fixing ↵Christophe Grenier2009-02-031-4/+4
| | | | compilation warning)