LEIL-FILEREPAIR(1)
π LEIL-FILEREPAIR π
okay so bestie, welcome to the leil-filerepair manual page β this is the one from the LeilFS family (the whole gang lives in leil(1) fyi) and honestly? it's giving emergency-room energy for your files. let's get into it π©Ήβ¨
πΈ NAME πΈ
leil-filerepair β repair broken files, no cap π
π¦ SYNOPSIS π¦
leil filerepair [-n|-h|-H] FILE...
like, you run it with leil filerepair and then hand it one or more FILEs. that's the whole vibe check. π«Ά
β¨ DESCRIPTION β¨
so filerepair deals with broken files β and by "broken" we literally mean those which cause I/O errors on read operations π β and its whole main-character job is to make them partially readable. not fully healed, bestie, just readable enough. manage expectations π
here's how it handles the two scenarios:
- missing chunk? π it fills the missing parts of the file with zeros. icon that it is.
- chunk version mismatch? π₯ it sets the chunk version known to
leil-masterto the highest one found on chunkservers. slay, we love a promotion arc.
π¨ Note (put your reading glasses on for this one fr fr): because in the second case content mismatch can occur in chunks with the same version, it's advised to make a copy (not a snapshot!) and delete the original file after "repairing". yes β copy, delete, move on. the quotation marks around "repairing" are doing a LOT of work there and honestly they should π
π OPTIONS π
-cβ enables correct-only mode π which will restore the chunk to a previous version if possible, but will never erase any data. like, ever. it's a lover not a fighter, a restorer not a deleter. πΈ-n,-h,-Hβ these bad boys are described over inleil(1), so go check the mothership for the deets π§ iykyk
π REPORTING BUGS π
found a bug? πͺ² do NOT suffer in silence bestie β report bugs to the GitHub repository https://github.com/leil-io/leilfs as an issue. bring receipts, we love that for you π
β COPYRIGHT β
okay legal moment, stay with me π
Copyright 2008-2009 Gemius SA
Copyright 2013-2019 Skytechnology sp. z o.o.
Copyright 2023-2024 Leil Storage OΓ
LeilFS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3. π
LeilFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. π (yes, that's the "we can't promise anything" paragraph, and it means it.)
You should have received a copy of the GNU General Public License along with LeilFS. If not, see http://www.gnu.org/licenses/. π
π SEE ALSO π
leil(1) β go read it, it's the parent friend of this whole situation π«Ά
and that's the page, babe π this little beauty comes to you from the LEIL-FILEREPAIR(1) manual, dated 1980-01-01 (yes, that date is real and it's iconically ancient β) β now go fix those files, you absolute legend πβ¨
π¦ where this page comes from
- nixpkgs unstable: saunafs 5.12.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms