mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Optionally mount tmpfs within the loader
- XXX DANGER @jnealtowns be advised
This commit is contained in:
@@ -36,7 +36,12 @@ trap "restoreconsole; reboot -f" EXIT
|
||||
mount -t proc proc /proc
|
||||
mount -t sysfs sysfs /sys
|
||||
mount -o remount,size=1M /dev
|
||||
|
||||
case "$(stat -f -c "%T" /tmp)" in
|
||||
tmpfs|ramfs) ;;
|
||||
*)
|
||||
mount -t tmpfs tmpfs /tmp
|
||||
;;
|
||||
esac
|
||||
|
||||
# Grab cmdline settings
|
||||
|
||||
|
||||
Reference in New Issue
Block a user