mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-28 07:44:18 +08:00
Start lived before regular disk drivers
This ensures that it takes priority when mounting the rootfs, preventing hangs in live mode if a disk driver hangs when trying to access it.
This commit is contained in:
parent
2dfe26c668
commit
2f939c7d08
@ -21,13 +21,16 @@ fbbootlogd
|
||||
inputd -A 1
|
||||
fbcond 2
|
||||
|
||||
# Live disk
|
||||
# Note: Needs to start before drivers to ensure it gets priority when redoxfs searches for disks
|
||||
lived
|
||||
unset DISK_LIVE_ADDR DISK_LIVE_SIZE
|
||||
|
||||
# Drivers
|
||||
run /scheme/initfs/etc/init_drivers.rc
|
||||
unset RSDP_ADDR RSDP_SIZE
|
||||
|
||||
# Mount rootfs
|
||||
lived
|
||||
unset DISK_LIVE_ADDR DISK_LIVE_SIZE
|
||||
redoxfs --uuid $REDOXFS_UUID file $REDOXFS_BLOCK
|
||||
unset REDOXFS_UUID REDOXFS_BLOCK REDOXFS_PASSWORD_ADDR REDOXFS_PASSWORD_SIZE
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user