mirror of
git://slackware.nl/current.git
synced 2024-12-30 10:24:23 +01:00
7e558f163d
ap/qpdf-11.5.0-x86_64-1.txz: Upgraded. kde/kid3-3.9.4-x86_64-1.txz: Upgraded. l/harfbuzz-8.0.0-x86_64-1.txz: Upgraded. l/xapian-core-1.4.23-x86_64-1.txz: Upgraded. n/gpgme-1.21.0-x86_64-1.txz: Upgraded.
10 lines
353 B
Bash
Executable file
10 lines
353 B
Bash
Executable file
#!/bin/bash
|
|
# Create bind mounts from / to /mnt for /dev/, /proc, and /sys.
|
|
# This may be useful for chrooting to a system partition mounted
|
|
# on /mnt (for example to run mkinitrd_command_generator.sh or to
|
|
# reinstall boot loaders).
|
|
|
|
mkdir -p /mnt/{dev,proc,sys}
|
|
mount -o rbind /dev /mnt/dev
|
|
mount -o rbind /proc /mnt/proc
|
|
mount -o rbind /sys /mnt/sys
|