30 Commits

Author SHA1 Message Date
relan
cf2d9bd161 Update copyright years. 2023-03-02 22:32:35 +03:00
relan
ca712e7ba8 Update copyright years. 2018-02-03 10:29:39 +03:00
relan
cb1a999dce Improve upper bound check in CLUSTER_INVALID() macro.
Check that cluster value does not exceed actual number of clusters. Note
that clusters numbering starts with 2.
2017-03-19 19:09:17 +03:00
relan
5925b60368 Update copyright years. 2017-01-28 22:11:04 +03:00
Daniel Drake
c80517b50d dumpexfat: print version number only when requested.
If the version number is printed only when the -V arg is given,
it's easier to use the output of this tool in external scripts.
2016-12-05 13:37:35 +03:00
Daniel Drake
1b38628dfd dumpexfat: add option to show file fragments.
Add an option to show a list of fragments that a given file is composed
of. This is useful for if you want to have low-level access to a file
without going through the file system layers.
2016-12-05 13:37:35 +03:00
relan
d2a4dd4d36 Update copyright years. 2016-06-03 08:20:53 +03:00
relan
c50537e148 Drop version.h header.
Use VERSION define from config.h.
2015-08-26 11:50:43 +03:00
relan
c05a94a1d3 Include local headers before system headers.
config.h must always be included before stdio.h because it can contain
defines that enable Large File Support (e.g. _FILE_OFFSET_BITS=64 for
glibc on 32-bit machines).
2015-08-26 11:50:43 +03:00
relan
d3c8cf283f Update copyright years. 2015-08-24 08:36:18 +03:00
relan
aed66bc492 Update copyright years. 2015-08-24 08:26:17 +03:00
relan
eca4ae8fb3 Use apostrophe for both opening and closing quotes in messages.
This is a recommendation from GNU Coding Standards.
2015-08-24 08:26:16 +03:00
relan
48573fff5d Relicense the code from GPLv3+ to GPLv2+. 2015-08-24 08:26:16 +03:00
relan
31b1232213 Use getopt() for options parsing. 2015-08-24 08:26:15 +03:00
relan
8ba8214202 Use -V instead of -v option to print version.
This is more consistent with other utilities.
2015-08-24 08:26:15 +03:00
relan
873857116a Update copyright years. 2015-08-24 08:26:15 +03:00
relan
572ac77115 Use bool type. 2015-08-24 08:26:15 +03:00
relan
84e2bcbecf Refactor device access mode handling. 2015-08-24 08:26:15 +03:00
relan
51b8bf9a84 Update copyright years. 2015-08-24 08:26:14 +03:00
relan
ad3c8453f7 Represent device as an extensible structure. 2015-08-24 08:26:14 +03:00
relan
ebe78a1da4 Use exfat_read() and exfat_write() interfaces. 2015-08-24 08:26:14 +03:00
relan
7cd770540a Add exfat_close() function.
It closes the device descriptor.
2015-08-24 08:26:14 +03:00
relan
49aecac93a Use exfat_open() instead of calling open() directly. 2015-08-24 08:26:13 +03:00
relan
9c76a44a67 Add -v option that prints version and copyright. 2015-08-24 08:26:13 +03:00
relan
a39bcd28e6 Rename block to sector to avoid confusion. 2015-08-24 08:26:13 +03:00
relan
17f4354d95 Add -u option for dumpexfat that prints used sectors.
It's useful for fast FS cloning.
2015-08-24 08:26:13 +03:00
relan
ac418ad14d Rename block to sector in the utilities output to avoid confusion. 2015-08-24 08:26:13 +03:00
relan
35f9a6e77d Improve dumpexfat.
Now it also prints volume label, free sectors and free clusters count.
2015-08-24 08:26:13 +03:00
relan
8b265cf5d5 Fix alignment of big numbers in dumpexfat. 2015-08-24 08:26:13 +03:00
relan
a271c7ca65 Rename sbdump to dumpexfat. 2015-08-24 08:26:13 +03:00