Date: Wed, 29 Nov 2023 00:13:48 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: stable@freebsd.org Subject: Re: Missing disk partition devices and GPT lables in /dev/ Message-ID: <35a60698-30f4-4ca5-9b86-f274a4c2beb6@quip.cz> In-Reply-To: <6b713a9c-c778-45fb-9626-9ad05df28d50@quip.cz> References: <34a54774-004d-40de-bf0d-2985da5bc908@quip.cz> <CANCZdfohrv_ghQUp6CZ9S%2BjWRE_ER36pQxq8muhp08vg6kJynA@mail.gmail.com> <6b713a9c-c778-45fb-9626-9ad05df28d50@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On 28/11/2023 23:26, Miroslav Lachman wrote: > On 28/11/2023 20:55, Warner Losh wrote: > As you can see there are aliases in /dev/gpt/, there are partitions for > /dev/adaX devices and the pools are made of gpt labels. > This is what I expect from the system in my first post. > > I will try to disable disk_ident as suggested by Freddie Cash. I rebooted the machine with disabled disk_ident and gptid but nothing changed: # ls -1 /dev/ada* /dev/ada0 /dev/ada1 # ls -1 /dev/gpt ls: /dev/gpt: No such file or directory # zpool list -v | cut -c1-28 NAME sys mirror-0 diskid/DISK-Z3010G8Vp3 diskid/DISK-Z302YC90p3 tank1 mirror-0 diskid/DISK-Z3010G8Vp5 diskid/DISK-Z302YC90p5 # sysctl kern.geom.label kern.geom.label.disk_ident.enable: 0 kern.geom.label.gptid.enable: 0 kern.geom.label.gpt.enable: 1 kern.geom.label.ufs.enable: 1 kern.geom.label.ufsid.enable: 1 kern.geom.label.reiserfs.enable: 1 kern.geom.label.ntfs.enable: 1 kern.geom.label.msdosfs.enable: 1 kern.geom.label.iso9660.enable: 1 kern.geom.label.flashmap.enable: 1 kern.geom.label.ext2fs.enable: 1 kern.geom.label.debug: 0 # ls -1 /dev/diskid/ DISK-Z3010G8V DISK-Z3010G8Vp1 DISK-Z3010G8Vp2 DISK-Z3010G8Vp3 DISK-Z3010G8Vp4 DISK-Z3010G8Vp5 DISK-Z302YC90 DISK-Z302YC90p1 DISK-Z302YC90p2 DISK-Z302YC90p3 DISK-Z302YC90p4 DISK-Z302YC90p5 Why are diskid aliases created if they should be disabled by sysctl kern.geom.label.disk_ident.enable? Kind regards Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35a60698-30f4-4ca5-9b86-f274a4c2beb6>