Portál AbcLinuxu, 5. května 2025 06:27
rm
automaticky pridávajú to -f
? Takmer vždy je to zbytočné.
A našťastie u mňa je zatiaľ každý disk /dev/hd?
a flashdisky /dev/sd?
.
ext3
a ext4
je trosku slozitejsi, ale pri nejhorsim to jde udelat pomoci nastroje debugfs
... vetsinou staci akorat opravit pocet odkazu na i-node a nechat to projet fsck
Ty inody tam sice jsou, ale s prázdným seznamem na bloky. Ale dají se vyhledat v žurnálu…se štěstím.Q: How can I recover (undelete) deleted files from my ext3 partition?
Actually, you can't! This is what one of the developers, Andreas Dilger, said about it:
In order to ensure that ext3 can safely resume an unlink after a crash, it actually zeros out the block pointers in the inode, whereas ext2 just marks these blocks as unused in the block bitmaps and marks the inode as "deleted" and leaves the block pointers alone.
Your only hope is to "grep" for parts of your files that have been deleted and hope for the best.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.