Re: boot loaders: softraid volumes must be on RAID partitions

2023-10-25 Thread Klemens Nanni
10/24/23 14:03, Crystal Kolipe пишет: > On Tue, Oct 24, 2023 at 01:44:08AM +, Klemens Nanni wrote: >> Rereading the code, I now question why it checks the 'a' label type at all. >> >> Taking your sd0d example through devboot(): >> >> |#ifdef SOFTRAID >> |/* >> | * Determine the

Re: boot loaders: softraid volumes must be on RAID partitions

2023-10-24 Thread Crystal Kolipe
On Tue, Oct 24, 2023 at 01:44:08AM +, Klemens Nanni wrote: > Rereading the code, I now question why it checks the 'a' label type at all. > > Taking your sd0d example through devboot(): > > |#ifdef SOFTRAID > | /* > | * Determine the partition type for the 'a' partition of the > |

Re: boot loaders: softraid volumes must be on RAID partitions

2023-10-23 Thread Klemens Nanni
On Mon, Oct 23, 2023 at 06:36:21PM -0300, Crystal Kolipe wrote: > On Mon, Oct 23, 2023 at 11:04:07AM +, Klemens Nanni wrote: > > 10/16/23 04:02, Klemens Nanni ??: > > > The current check implies one could use, e.g. SWAP or MSDOS partitions > > > as softraid(4) chunks, but

Re: boot loaders: softraid volumes must be on RAID partitions

2023-10-23 Thread Theo de Raadt
Crystal Kolipe wrote: `> Hi Theo, it's a long time since we last conversed. > > On Mon, Oct 23, 2023 at 03:44:17PM -0600, Theo de Raadt wrote: > > What user without OpenBSD experience is booting from 'd'? > > > > Which also poses the question -- what user with OpenBSD experience > > is booting

Re: boot loaders: softraid volumes must be on RAID partitions

2023-10-23 Thread Crystal Kolipe
Hi Theo, it's a long time since we last conversed. On Mon, Oct 23, 2023 at 03:44:17PM -0600, Theo de Raadt wrote: > What user without OpenBSD experience is booting from 'd'? > > Which also poses the question -- what user with OpenBSD experience > is booting from 'd'? > > Why? Some disklabel

Re: boot loaders: softraid volumes must be on RAID partitions

2023-10-23 Thread Theo de Raadt
Crystal Kolipe wrote: > On Mon, Oct 23, 2023 at 11:04:07AM +, Klemens Nanni wrote: > > 10/16/23 04:02, Klemens Nanni ??: > > > The current check implies one could use, e.g. SWAP or MSDOS partitions > > > as softraid(4) chunks, but sys/dev/softraid.c always expects FS_RAID, > > > thus

Re: boot loaders: softraid volumes must be on RAID partitions

2023-10-23 Thread Crystal Kolipe
On Mon, Oct 23, 2023 at 11:04:07AM +, Klemens Nanni wrote: > 10/16/23 04:02, Klemens Nanni ??: > > The current check implies one could use, e.g. SWAP or MSDOS partitions > > as softraid(4) chunks, but sys/dev/softraid.c always expects FS_RAID, > > thus using chunks with different

Re: boot loaders: softraid volumes must be on RAID partitions

2023-10-23 Thread Klemens Nanni
10/16/23 04:02, Klemens Nanni пишет: > The current check implies one could use, e.g. SWAP or MSDOS partitions > as softraid(4) chunks, but sys/dev/softraid.c always expects FS_RAID, > thus using chunks with different partition types is not possible: > > # vmctl create -s100M disk.img >

Re: boot loaders: softraid volumes must be on RAID partitions

2023-10-15 Thread Klemens Nanni
On Mon, Oct 16, 2023 at 01:02:07AM +, Klemens Nanni wrote: > The current check implies one could use, e.g. SWAP or MSDOS partitions > as softraid(4) chunks, but sys/dev/softraid.c always expects FS_RAID, > thus using chunks with different partition types is not possible: > > # vmctl

boot loaders: softraid volumes must be on RAID partitions

2023-10-15 Thread Klemens Nanni
The current check implies one could use, e.g. SWAP or MSDOS partitions as softraid(4) chunks, but sys/dev/softraid.c always expects FS_RAID, thus using chunks with different partition types is not possible: # vmctl create -s100M disk.img # vnd=`vnconfig disk.img` # echo