Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide amendments so as to be able to use DTS with Ventoy #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DaniilKl
Copy link
Contributor

No description provided.

This change is caused by Ventoy. Ventoy stores .iso file with DTS kernel image
and DTS rootfs image on the partition which is mounted using its label.
So, these changes will create symlinks to filesystem devices in
/dev/disk/by-label.
Base automatically changed from develop to main October 31, 2023 16:36
@m-iwanicki
Copy link
Contributor

@DaniilKl is this PR still needed as in v2.0.0 symlinks are created:

bash-5.2# ls /dev/disk/by-*
/dev/disk/by-diskseq:
17  18	19  20	21  22	23  24	25  25-part1  25-part2	27

/dev/disk/by-id:
ata-QEMU_DVD-ROM_QM00003   ata-QEMU_HARDDISK_QM00001-part1
ata-QEMU_HARDDISK_QM00001  ata-QEMU_HARDDISK_QM00001-part2

/dev/disk/by-label:
dts-boot  dts-root

/dev/disk/by-partuuid:
076c4a2a-01  076c4a2a-02

/dev/disk/by-path:
pci-0000:00:01.1-ata-1	      pci-0000:00:01.1-ata-1.0-part1
pci-0000:00:01.1-ata-1-part1  pci-0000:00:01.1-ata-1.0-part2
pci-0000:00:01.1-ata-1-part2  pci-0000:00:01.1-ata-2
pci-0000:00:01.1-ata-1.0      pci-0000:00:01.1-ata-2.0

/dev/disk/by-uuid:
174b8f25-18bf-41e8-8e27-aa3253103083  FF4E-EB27
bash-5.2# lsblk -o +label,partuuid
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
                                      LABEL    PARTUUID
sda      8:0    0    1G  0 disk                
|-sda1   8:1    0 30.1M  0 part /boot dts-boot 076c4a2a-01
`-sda2   8:2    0    1G  0 part /     dts-root 076c4a2a-02
sr0     11:0    1 1024M  0 rom  

@DaniilKl
Copy link
Contributor Author

I will check it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants