Re: BSD disklabel partition letters in NetBSD

2018-10-10 Thread Rocky Hotas
> Sent: Friday, October 05, 2018 at 1:55 AM > From: "Robert Elz" > To: "Rocky Hotas" > Cc: "NetBSD Users Mailing List" > Subject: Re: BSD disklabel partition letters in NetBSD [...] > > You can put swaps space in any partition you like, and

Re: BSD disklabel partition letters in NetBSD

2018-10-10 Thread Rocky Hotas
Sent: Friday, October 05, 2018 at 3:37 AM From: "Jason Mitchell" To: "Rocky Hotas" Cc: "NetBSD Users Mailing List" Subject: Re: BSD disklabel partition letters in NetBSD > This posting (though old) says that FreeBSD disklabels are different from > NetBSD

Re: BSD disklabel partition letters in NetBSD

2018-10-04 Thread Jason Mitchell
On Oct 4, 2018, at 3:59 PM, Rocky Hotas wrote: >> Sent: Saturday, September 29, 2018 at 4:41 AM >> From: "Jason Mitchell" >> To: "Michael van Elst" >> Cc: netbsd-users@NetBSD.org >> Subject: Re: BSD disklabel partition letters in NetBSD &

Re: BSD disklabel partition letters in NetBSD

2018-10-04 Thread Robert Elz
Date:Thu, 4 Oct 2018 22:14:31 +0200 From:"Rocky Hotas" Message-ID: | > Sent: Thursday, October 04, 2018 at 9:10 PM | > From: "Don NetBSD" | > I've never tinkered with moving swap out of 'b' -- but imagine it could be | > done, reliably. | | According t

Re: BSD disklabel partition letters in NetBSD

2018-10-04 Thread Rocky Hotas
> Sent: Thursday, October 04, 2018 at 9:10 PM > From: "Don NetBSD" > To: "NetBSD Users Mailing List" > Subject: Re: BSD disklabel partition letters in NetBSD [...] > I've never tinkered with moving swap out of 'b' -- but imagine it coul

Re: BSD disklabel partition letters in NetBSD

2018-10-04 Thread Rocky Hotas
> Sent: Saturday, September 29, 2018 at 4:41 AM > From: "Jason Mitchell" > To: "Michael van Elst" > Cc: netbsd-users@NetBSD.org > Subject: Re: BSD disklabel partition letters in NetBSD [...] > I don’t think this is possible. At least I remember reading h

Re: BSD disklabel partition letters in NetBSD

2018-10-04 Thread Don NetBSD
So, in a degenerate example, put 2 partitions on a disk that each represent an entire root filesystem TO THE OS THAT IS BOOTED. This is exactly the degenerate example I wanted to refer to. Let's consider a BSD disklabel in the first sector of a hard disk (so, without MBR) with the following part

Re: BSD disklabel partition letters in NetBSD

2018-10-04 Thread Rocky Hotas
> Sent: Friday, September 28, 2018 at 9:04 PM > From: "Don NetBSD" > To: netbsd-users@netbsd.org > Subject: Re: BSD disklabel partition letters in NetBSD [...] Hi and sorry for the delay! > > Remember, the partitions have no knowledge of where they actually exist

Re: BSD disklabel partition letters in NetBSD

2018-09-28 Thread Jason Mitchell
> I guess you can have NetBSD and FreeBSD using different partitions but > the same disklabel I don’t think this is possible. At least I remember reading here that FreeBSD’s disklabel is in a different place then the NetBSD’s disklabel and that NetBSD would unintentionally overwrite FreeBSD’s

Re: BSD disklabel partition letters in NetBSD

2018-09-28 Thread Don NetBSD
On 9/27/2018 3:32 AM, Rocky Hotas wrote: For the sake of completeness, let's consider another case, hopefully interesting to others. If you decide to install on the same disk two or more BSD systems, all compatible with BSD disklabel (for example, two different versions of NetBSD, or NetBSD and F

Re: BSD disklabel partition letters in NetBSD

2018-09-28 Thread Don NetBSD
On 9/27/2018 3:41 AM, Rocky Hotas wrote: Sent: Tuesday, September 25, 2018 at 11:51 PM From: "Don NetBSD" To: netbsd-users@netbsd.org Subject: Re: BSD disklabel partition letters in NetBSD [...] But it isn't placed in any of these places unless/until the system is DIRECTED

Re: BSD disklabel partition letters in NetBSD

2018-09-27 Thread Michael van Elst
rockyho...@post.com ("Rocky Hotas") writes: >Do you mean that who generates disklabel collects information about the >disk, cylinders, etc. and creates a brand new data structure? I can't >understand what you are referring to as "other information". The driver provides a 'default label' based on

Re: BSD disklabel partition letters in NetBSD

2018-09-27 Thread Rocky Hotas
> Sent: Tuesday, September 25, 2018 at 11:51 PM > From: "Don NetBSD" > To: netbsd-users@netbsd.org > Subject: Re: BSD disklabel partition letters in NetBSD [...] > But it isn't placed in any of these places unless/until the system is > DIRECTED to do so. I.e.,

Re: BSD disklabel partition letters in NetBSD

2018-09-27 Thread Rocky Hotas
> Sent: Tuesday, September 25, 2018 at 7:52 PM > From: "Michael van Elst" > To: "Rocky Hotas" > Cc: netbsd-users@netbsd.org > Subject: Re: BSD disklabel partition letters in NetBSD > [...] > disklabel is a data structure. If there is none on the disk,

Re: BSD disklabel partition letters in NetBSD

2018-09-25 Thread Don NetBSD
On 9/25/2018 10:52 AM, Michael van Elst wrote: On Tue, Sep 25, 2018 at 05:05:44PM +0200, Rocky Hotas wrote: only if none is written to disk, a fictious label is generated from other data like an MBR. Sorry, I can't understand this. Maybe it's related to the following description: disklabel

Re: BSD disklabel partition letters in NetBSD

2018-09-25 Thread Michael van Elst
On Tue, Sep 25, 2018 at 05:05:44PM +0200, Rocky Hotas wrote: > > only if none is written to disk, > > a fictious label is generated from other data like an MBR. > > Sorry, I can't understand this. Maybe it's related to the following > description: disklabel is a data structure. If there is none

Re: BSD disklabel partition letters in NetBSD

2018-09-25 Thread Rocky Hotas
> Sent: Tuesday, September 25, 2018 at 7:01 AM > From: "Don NetBSD" > To: "NetBSD Users Mailing List" > Subject: Re: BSD disklabel partition letters in NetBSD > [...] > I don't want to have to keep notes as to how each machine is (was!) > configure

Re: BSD disklabel partition letters in NetBSD

2018-09-25 Thread Rocky Hotas
> Sent: Monday, September 24, 2018 at 11:56 PM > From: "Michael van Elst" > To: netbsd-users@netbsd.org > Subject: Re: BSD disklabel partition letters in NetBSD > [...] > The system always uses the disklabel Yes, IIUC the partition which hosts the NetBSD system a

Re: BSD disklabel partition letters in NetBSD

2018-09-24 Thread Don NetBSD
On 9/24/2018 12:30 PM, Rocky Hotas wrote: Now, of course, this all became mood on most modern machines with the move to GPT, and this is good. As you probably know, we use full devices for these (dk* and rdk*), so no limiting alphabet nor reserved letters. Despite vaguely knowing that GPT is re

Re: BSD disklabel partition letters in NetBSD

2018-09-24 Thread Don NetBSD
On 9/24/2018 12:34 PM, Rocky Hotas wrote: I like to mount /var on 'e', /usr on 'f', /usr/pkg on 'g' (picking up on the g in pkG as a mnemonic), /home on 'h', /Sources on 'i', /Playpen on 'j' and /Archive on 'k' (the hard ch as a mnemonic for the k) with /Leftovers for 'l'. This is a very clever

Re: BSD disklabel partition letters in NetBSD

2018-09-24 Thread Michael van Elst
rockyho...@post.com ("Rocky Hotas") writes: >So, the distinction between systems that only reserve partition "c" and >those who also reserve partition "d" is the necessity to use MBR. >I wonder if in those systems one can install BSD disklabel to replace MBR >(without caring about incompatibilitie

Re: BSD disklabel partition letters in NetBSD

2018-09-24 Thread Rocky Hotas
> Sent: Saturday, September 22, 2018 at 4:04 PM > From: "Don NetBSD" > To: "NetBSD Users Mailing List" > Subject: Re: BSD disklabel partition letters in NetBSD > > With the exception of the "whole disk" partition, the others can be used > as yo

Re: BSD disklabel partition letters in NetBSD

2018-09-24 Thread Rocky Hotas
> Sent: Saturday, September 22, 2018 at 11:39 AM > From: "Martin Husemann" > To: "Rocky Hotas" > Cc: "NetBSD Users Mailing List" > Subject: Re: BSD disklabel partition letters in NetBSD > > It is actually quite simple (with a few twists, mua

Re: BSD disklabel partition letters in NetBSD

2018-09-22 Thread Don NetBSD
On 9/22/2018 2:24 AM, Rocky Hotas wrote: As regards NetBSD: this use of ‘a’ and ‘b’ is mandatory? Or is it possible to arbitrarily change the letter assignments? (E.g. partition /home to ‘a’ and root partition and swap to ‘e’, ‘f’, ‘g’ ...) Any suggestion/information about this would be very use

Re: BSD disklabel partition letters in NetBSD

2018-09-22 Thread Martin Husemann
It is actually quite simple (with a few twists, muahahah :-}): On many architectures there is a single reserved partition, in all cases I am aware of: "c". You can check with "sysctl kern.rawpartition", it is 3 on these architectures. Sparc64 and alpha are examples for this. Then there are arch

BSD disklabel partition letters in NetBSD

2018-09-22 Thread Rocky Hotas
Hi all! :) BSD disklabel uses letters to specify different partitions, with some conventions, but I can not find information about them in NetBSD. One common scheme is: Partition a:root partition, / Partition b:swap Partition c:NetBSD portion of disk (usually the whole NetBSD slice