bash_oneliners
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| bash_oneliners [2023/07/27 13:28] – admin | bash_oneliners [2025/08/06 12:07] (current) – admin | ||
|---|---|---|---|
| Line 49: | Line 49: | ||
| lvresize -l +100%free / | lvresize -l +100%free / | ||
| </ | </ | ||
| - | + | | |
| - | * Enlarge LVM 2 | + | |
| < | < | ||
| echo ' | echo ' | ||
| Line 58: | Line 57: | ||
| lvextend -l +100%FREE / | lvextend -l +100%FREE / | ||
| xfs_growfs / | xfs_growfs / | ||
| - | </cdoe> | + | </code> |
| + | |||
| + | * polkit logging for debugging | ||
| + | < | ||
| + | |||
| + | cat / | ||
| + | |||
| + | polkit.addRule(function(action, | ||
| + | polkit.log(" | ||
| + | polkit.log(" | ||
| + | |||
| + | if (action.id.startsWith(" | ||
| + | action.id == " | ||
| + | action.id == " | ||
| + | action.id == " | ||
| + | action.id == " | ||
| + | action.id == " | ||
| + | polkit.log(" | ||
| + | return polkit.Result.YES; | ||
| + | } | ||
| + | |||
| + | polkit.log(" | ||
| + | }); | ||
| + | </code> | ||
bash_oneliners.1690464498.txt.gz · Last modified: by admin
