checkdisk 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: checkdisk
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Dependency-free NTFS repair tool — the chkdsk /f flow on raw devices and images
|
|
5
|
+
License-Expression: 0BSD
|
|
6
|
+
Project-URL: Homepage, https://github.com/h5rdly/checkdisk
|
|
7
|
+
Keywords: ntfs,chkdsk,filesystem,repair,recovery,forensics,mft
|
|
8
|
+
Classifier: Operating System :: OS Independent
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
11
|
+
Classifier: Topic :: System :: Filesystems
|
|
12
|
+
Classifier: Topic :: System :: Recovery Tools
|
|
13
|
+
Requires-Python: >=3.13
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# checkdisk
|
|
17
|
+
|
|
18
|
+
A self-contained, pure-Python NTFS repair tool — the parts of `chkdsk /f` that matter for a crashed volume (dangling dirents, torn indexes,
|
|
19
|
+
lost files, torn truncates, `$Bitmap`, `$Secure`, the USN journal).
|
|
20
|
+
|
|
21
|
+
`checkdisk` uses a native read/write engine that parses and rewrites on-disk NTFS structures directly, with multi-sector fixups and plan-then-commit
|
|
22
|
+
atomicity.
|
|
23
|
+
|
|
24
|
+
## Install
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
pip install checkdisk
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Or skip installing — `checkdisk.py` is self contained
|
|
31
|
+
|
|
32
|
+
## Quick start
|
|
33
|
+
|
|
34
|
+
`checkdisk` works on the raw (unmounted) device or an image file — never through
|
|
35
|
+
a mount:
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
checkdisk list # find NTFS partitions (mounts nothing)
|
|
39
|
+
sudo umount /mnt/point # get off the volume first
|
|
40
|
+
sudo setfacl -m u:$USER:rw /dev/sdXN # or run the tool with sudo
|
|
41
|
+
checkdisk /f /dev/sdXN # dry run: reports, writes nothing
|
|
42
|
+
checkdisk /f /dev/sdXN --really # repair (each fix re-verified)
|
|
43
|
+
checkdisk /f /dev/sdXN # confirm: expect 0 remaining
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
`/r` adds the full surface read. Running from the repo instead:
|
|
47
|
+
`python checkdisk.py /f ...` — identical.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
checkdisk.py,sha256=muw-aU3UUqvrc3H9TxgmT4q8ylPl2KyNpZcOXo5G-AE,208028
|
|
2
|
+
checkdisk-0.1.0.dist-info/METADATA,sha256=VwhsNW6DexwyUBfk7PsPPstXp4Fhyg_aJ2w6ngUe4r0,1738
|
|
3
|
+
checkdisk-0.1.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
4
|
+
checkdisk-0.1.0.dist-info/entry_points.txt,sha256=hRVSHrh4e342Q4okSbuFhUl83ubspMIoQ4XNYvKDxfo,45
|
|
5
|
+
checkdisk-0.1.0.dist-info/top_level.txt,sha256=dkz1ihPEYTDMenMC2lHNMmRwxA7uzQGfnqYK2WFh2hU,10
|
|
6
|
+
checkdisk-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
checkdisk
|