Commit graph

9 commits

Author SHA1 Message Date
Gerd v. Egidy c52dcbeeb0 mountall: show target mountpoint in output 2022-09-06 20:24:46 +02:00
Gerd v. Egidy d8de1c8199 mountall: use udevadm settle to wait for newly opened cryptodisks to appear in /dev/mapper 2022-09-06 20:19:53 +02:00
Gerd v. Egidy c0cddfc630 add --readonly option to mountall 2022-08-01 22:40:48 +02:00
Gerd v. Egidy e3b7b2079e use already existing mountpoints in mountall when they are empty and nothing mounted 2022-08-01 22:12:52 +02:00
Gerd v. Egidy 09fcf3a452 improve check if already mounted for btrfs filesystems in mountall 2022-07-24 19:56:47 +02:00
Gerd v. Egidy f38c7ba8ca detect and open LUKS encrypted devices in mountall 2022-07-24 19:46:56 +02:00
Gerd v. Egidy 2d8bb769c1 use /sys/class/block instead of /sys/block in mountall to get all partitions 2022-07-24 19:13:47 +02:00
Gerd v. Egidy c0a1af428a don't try to mount swap space in mountall 2022-07-24 19:07:04 +02:00
Gerd v. Egidy a424ed7991 add "mountall" command
It loops through all available block devices in the system and tries to mount them.
They are mounted to /mnt/<devicename>.

If they have "dev", "proc" or "sys" dirs in them, then the respective dirs of the
running SystemRescue are bind-mounted into it. This allows running some commands
like grub-install when chrooting into the dir.
2022-04-24 21:53:21 +02:00