fix(installer): identify live loop backing after dracut switch-root
This commit is contained in:
+205
@@ -0,0 +1,205 @@
|
||||
{
|
||||
"filesystems": [
|
||||
{
|
||||
"source": "LiveOS_rootfs",
|
||||
"target": "/",
|
||||
"fstype": "overlay",
|
||||
"maj:min": "0:31",
|
||||
"options": "rw,relatime,lowerdir=/run/rootfsbase,upperdir=/run/overlayfs,workdir=/run/ovlwork,uuid=on",
|
||||
"children": [
|
||||
{
|
||||
"source": "tmpfs",
|
||||
"target": "/tmp",
|
||||
"fstype": "tmpfs",
|
||||
"maj:min": "0:40",
|
||||
"options": "rw,nosuid,nodev,nr_inodes=1048576,inode64,usrquota"
|
||||
},
|
||||
{
|
||||
"source": "devtmpfs",
|
||||
"target": "/dev",
|
||||
"fstype": "devtmpfs",
|
||||
"maj:min": "0:6",
|
||||
"options": "rw,nosuid,size=1930828k,nr_inodes=482707,mode=755,inode64",
|
||||
"children": [
|
||||
{
|
||||
"source": "hugetlbfs",
|
||||
"target": "/dev/hugepages",
|
||||
"fstype": "hugetlbfs",
|
||||
"maj:min": "0:36",
|
||||
"options": "rw,nosuid,nodev,relatime,pagesize=2M"
|
||||
},
|
||||
{
|
||||
"source": "mqueue",
|
||||
"target": "/dev/mqueue",
|
||||
"fstype": "mqueue",
|
||||
"maj:min": "0:21",
|
||||
"options": "rw,nosuid,nodev,noexec,relatime"
|
||||
},
|
||||
{
|
||||
"source": "tmpfs",
|
||||
"target": "/dev/shm",
|
||||
"fstype": "tmpfs",
|
||||
"maj:min": "0:24",
|
||||
"options": "rw,nosuid,nodev,inode64,usrquota"
|
||||
},
|
||||
{
|
||||
"source": "devpts",
|
||||
"target": "/dev/pts",
|
||||
"fstype": "devpts",
|
||||
"maj:min": "0:25",
|
||||
"options": "rw,nosuid,noexec,relatime,gid=5,mode=600,ptmxmode=000"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "sysfs",
|
||||
"target": "/sys",
|
||||
"fstype": "sysfs",
|
||||
"maj:min": "0:23",
|
||||
"options": "rw,nosuid,nodev,noexec,relatime",
|
||||
"children": [
|
||||
{
|
||||
"source": "fusectl",
|
||||
"target": "/sys/fs/fuse/connections",
|
||||
"fstype": "fusectl",
|
||||
"maj:min": "0:37",
|
||||
"options": "rw,nosuid,nodev,noexec,relatime"
|
||||
},
|
||||
{
|
||||
"source": "tracefs",
|
||||
"target": "/sys/kernel/tracing",
|
||||
"fstype": "tracefs",
|
||||
"maj:min": "0:13",
|
||||
"options": "rw,nosuid,nodev,noexec,relatime"
|
||||
},
|
||||
{
|
||||
"source": "debugfs",
|
||||
"target": "/sys/kernel/debug",
|
||||
"fstype": "debugfs",
|
||||
"maj:min": "0:8",
|
||||
"options": "rw,nosuid,nodev,noexec,relatime"
|
||||
},
|
||||
{
|
||||
"source": "securityfs",
|
||||
"target": "/sys/kernel/security",
|
||||
"fstype": "securityfs",
|
||||
"maj:min": "0:7",
|
||||
"options": "rw,nosuid,nodev,noexec,relatime"
|
||||
},
|
||||
{
|
||||
"source": "cgroup2",
|
||||
"target": "/sys/fs/cgroup",
|
||||
"fstype": "cgroup2",
|
||||
"maj:min": "0:27",
|
||||
"options": "rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot,memory_hugetlb_accounting"
|
||||
},
|
||||
{
|
||||
"source": "none",
|
||||
"target": "/sys/fs/pstore",
|
||||
"fstype": "pstore",
|
||||
"maj:min": "0:28",
|
||||
"options": "rw,nosuid,nodev,noexec,relatime"
|
||||
},
|
||||
{
|
||||
"source": "efivarfs",
|
||||
"target": "/sys/firmware/efi/efivars",
|
||||
"fstype": "efivarfs",
|
||||
"maj:min": "0:29",
|
||||
"options": "rw,nosuid,nodev,noexec,relatime"
|
||||
},
|
||||
{
|
||||
"source": "bpf",
|
||||
"target": "/sys/fs/bpf",
|
||||
"fstype": "bpf",
|
||||
"maj:min": "0:30",
|
||||
"options": "rw,nosuid,nodev,noexec,relatime,mode=700"
|
||||
},
|
||||
{
|
||||
"source": "configfs",
|
||||
"target": "/sys/kernel/config",
|
||||
"fstype": "configfs",
|
||||
"maj:min": "0:19",
|
||||
"options": "rw,nosuid,nodev,noexec,relatime"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "proc",
|
||||
"target": "/proc",
|
||||
"fstype": "proc",
|
||||
"maj:min": "0:22",
|
||||
"options": "rw,nosuid,nodev,noexec,relatime",
|
||||
"children": [
|
||||
{
|
||||
"source": "systemd-1",
|
||||
"target": "/proc/sys/fs/binfmt_misc",
|
||||
"fstype": "autofs",
|
||||
"maj:min": "0:33",
|
||||
"options": "rw,relatime,fd=38,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=5489",
|
||||
"children": [
|
||||
{
|
||||
"source": "binfmt_misc",
|
||||
"target": "/proc/sys/fs/binfmt_misc",
|
||||
"fstype": "binfmt_misc",
|
||||
"maj:min": "0:42",
|
||||
"options": "rw,nosuid,nodev,noexec,relatime"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "tmpfs",
|
||||
"target": "/run",
|
||||
"fstype": "tmpfs",
|
||||
"maj:min": "0:26",
|
||||
"options": "rw,nosuid,nodev,size=797732k,nr_inodes=819200,mode=755,inode64",
|
||||
"children": [
|
||||
{
|
||||
"source": "none",
|
||||
"target": "/run/credentials/systemd-journald.service",
|
||||
"fstype": "tmpfs",
|
||||
"maj:min": "0:35",
|
||||
"options": "ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap"
|
||||
},
|
||||
{
|
||||
"source": "tmpfs",
|
||||
"target": "/run/user/1000",
|
||||
"fstype": "tmpfs",
|
||||
"maj:min": "0:46",
|
||||
"options": "rw,nosuid,nodev,relatime,size=398864k,nr_inodes=99716,mode=700,uid=1000,gid=1000,inode64"
|
||||
},
|
||||
{
|
||||
"source": "/dev/sr0",
|
||||
"target": "/run/initramfs/live",
|
||||
"fstype": "iso9660",
|
||||
"maj:min": "11:0",
|
||||
"options": "ro,relatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8"
|
||||
},
|
||||
{
|
||||
"source": "/dev/loop0",
|
||||
"target": "/run/rootfsbase",
|
||||
"fstype": "squashfs",
|
||||
"maj:min": "7:0",
|
||||
"options": "ro,relatime,errors=continue"
|
||||
},
|
||||
{
|
||||
"source": "none",
|
||||
"target": "/run/credentials/getty@tty2.service",
|
||||
"fstype": "tmpfs",
|
||||
"maj:min": "0:47",
|
||||
"options": "ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap"
|
||||
},
|
||||
{
|
||||
"source": "none",
|
||||
"target": "/run/credentials/serial-getty@ttyS0.service",
|
||||
"fstype": "tmpfs",
|
||||
"maj:min": "0:48",
|
||||
"options": "ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"blockdevices": [
|
||||
{
|
||||
"path": "/dev/loop0",
|
||||
"type": "loop",
|
||||
"size": 2220142592,
|
||||
"maj:min": "7:0",
|
||||
"pkname": null,
|
||||
"mountpoints": [
|
||||
"/run/rootfsbase"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/dev/sr0",
|
||||
"type": "rom",
|
||||
"size": 2345107456,
|
||||
"maj:min": "11:0",
|
||||
"pkname": null,
|
||||
"mountpoints": [
|
||||
"/run/initramfs/live"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/dev/sr1",
|
||||
"type": "rom",
|
||||
"size": 1073741312,
|
||||
"maj:min": "11:1",
|
||||
"pkname": null,
|
||||
"mountpoints": []
|
||||
},
|
||||
{
|
||||
"path": "/dev/vda",
|
||||
"type": "disk",
|
||||
"size": 34359738368,
|
||||
"maj:min": "253:0",
|
||||
"pkname": null,
|
||||
"mountpoints": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user