Re: Devices.

2021-05-30 Thread Michael van Elst
mueller6...@twc.com ("Thomas Mueller") writes: >It's a nuisance not to be able to recognize all partitions on a >GPT-partitioned drive because not enough dk* nodes have been configured. >FreeBSD even distinguishes between USB or SCSI disks and SATA disks, and >between GPT partitions and

Re: Devices.

2021-05-30 Thread John Nemeth
On May 30, 14:24, Michael van Elst wrote: } mueller6...@twc.com ("Thomas Mueller") writes: } } > Where do I find the "enough dk* nodes" mode? Would it be in } > the kernel config? I never saw it. } } You can run devpubd. When a wedge and thus the dk* unit attaches, it } runs the 01-makedev

Re: Devices.

2021-05-30 Thread Thomas Mueller
from Michael van Elst: > mueller6...@twc.com ("Thomas Mueller") writes: > >It's a nuisance not to be able to recognize all partitions on a > >GPT-partitioned drive because not enough dk* nodes have been configured. > >FreeBSD even distinguishes between USB or SCSI disks and SATA disks, and >

Re: Devices.

2021-05-30 Thread Michael van Elst
mueller6...@twc.com ("Thomas Mueller") writes: >Where do I find the "enough dk* nodes" mode? Would it be in the kernel >config? I never saw it. You can run devpubd. When a wedge and thus the dk* unit attaches, it runs the 01-makedev hook that creates the device node in /dev.

Re: Devices.

2021-05-30 Thread Thomas Mueller
from John Nemeth: > On May 29, 22:52, David Holland wrote: > } On Sat, May 29, 2021 at 05:41:38PM -0400, Mouse wrote: } > } > > For disks, which for historical reasons live in both cdevsw and > } > > bdevsw, both entries would point at the same disk_dev. } > > } > I would suggest

Re: Devices.

2021-05-30 Thread John Franklin
On Sat, May 29, 2021 at 08:43:00PM -0400, Mouse wrote: > > We should really get with the times and create a devfs. I know that > > there are people that disagree with this (likely including you), but > > the archaic device node system causes a lot of headaches and it's > > time that we joined the

Re: Devices.

2021-05-30 Thread Mouse
>> You can run devpubd. When a wedge and thus the dk* unit attaches, >> it runs the 01-makedev hook that creates the device node in /dev. > That's not a "mode". It's a clunky userland daemon that tries to > make up for the fact that we don't have a devfs. Your wording is heavily biased. To