summaryrefslogtreecommitdiffstats
path: root/rescue/bin/guessmounts
Commit message (Collapse)AuthorAgeFilesLines
* enable to repair encrypted LVMs/LUKS (mga#22795)Thierry Vignaud2020-03-201-0/+16
| | | | | - ask for encryption key - add enabled dmcrypts to the list of partitions to look at
* explainThierry Vignaud2020-03-201-0/+2
|
* restrict ourselves to true FSesThierry Vignaud2020-03-191-1/+1
| | | | | | After commit c2fcfde5b3064845d96f7cb29ddc27689ea6e710, mounting eg: exfat strangely fails as it doesn't automatically load exfat. (I suspect it's a bug either in exfat.ko or in util-linux)
* Restoring displaying found versionThierry Vignaud2020-03-191-2/+2
| | | | | | | | | | | | | | | And also display a shorter distribution name (eg: "Mageia (Cauldron)" which is still longer than just "Mageia"). history: commit fd8bbba2f02b8bccd69e67c326fd320c0827941d wrongly introduced a "%s" in place of "Mandriva" (w/o adding any argument) Then commit e95388927be1f0de67413bdb5430cf0031710f54 fixed it by replacing "%s" with the displayed release info at end. However commit 3928e119899ee844bc0ac90e963d913782b8ae9c enables us to have the info we want, so just use that
* just use the fs reported by blkidThierry Vignaud2020-03-191-3/+3
| | | | | | | | | | | Instead of doing brute force guessing. Thus making logs easier to read… Also slightly faster and less error-prone (even if no true FS should havoc on another fs type). We could have fallbacked on ->{fs_type_from_magic} but that would only help iso9660 & the like which are not true FSes such as tested previously by fs::type::true_local_fs_types()
* do not run shells uselesslyThierry Vignaud2016-01-021-2/+2
| | | | also prevent arguments to be split on spaces & the like
* guessmount: mount {/dev,/run,/sys} too (mga#10865)Thierry Vignaud2015-04-301-0/+3
| | | | those are mounted by udev not fstab those days
* rescue: Move files around and introduce proper dep tracking.Colin Guthrie2013-12-071-0/+145
This moves any perl files into bin and sbin folders which will be directly installed in /usr/bin and /usr/sbin. This is done such that the extract modes in list.xml still work and the files end up in the right places. All other files have been moved into the tree folder in their final destination.