Re: Wedges enabled on -current

2014-09-20 Thread Piotr Meyer
On Mon, Aug 18, 2014 at 02:28:02AM -0400, Christos Zoulas wrote: [...] > If things don't work for you, please file a PR with a description of your > setup and how it fails, so we can fix it. I have had some troubles with GPT setup I migrate my -current to separate GPT partitions and wedges but b

Re: Wedges & sysinst (Was: Wedges enabled on -current)

2014-09-19 Thread Christos Zoulas
In article <20140908120242.1123c17f...@rebar.astron.com>, Christos Zoulas wrote: >On Sep 8, 12:47pm, a...@absd.org (David Brownlee) wrote: >-- Subject: Re: Wedges & sysinst (Was: Wedges enabled on -current) > >| Its been three weeks since wedges mbr and disklabels was

Re: Wedges enabled on -current

2014-09-14 Thread Christos Zoulas
On Sep 14, 3:37pm, p...@vps1.whooppee.com (Paul Goyette) wrote: -- Subject: Re: Wedges enabled on -current | On Mon, 18 Aug 2014, Christos Zoulas wrote: | | > Hi, | > | > Now that we have branched 7, I am planning to enable full wedge support | > ... | | Just out of curiousity, h

Re: Wedges enabled on -current

2014-09-14 Thread Paul Goyette
On Mon, 18 Aug 2014, Christos Zoulas wrote: Hi, Now that we have branched 7, I am planning to enable full wedge support ... Just out of curiousity, how does this affect raidframe? And auto-detect of existing raid sets? (And more especially, booting from the raidset!) My main server machi

Re: Wedges & sysinst (Was: Wedges enabled on -current)

2014-09-14 Thread Robert Elz
Date:Sun, 14 Sep 2014 23:12:32 +0100 From:Justin Cormack Message-ID: | There are some gpt options, in partition manager you can switch from | MBR to GPT. I know (from reading the sources) that it is supposed to be there (and I think "switch from mbr" should wor

Re: Wedges & sysinst (Was: Wedges enabled on -current)

2014-09-14 Thread Justin Cormack
On Sat, Sep 13, 2014 at 11:03 AM, Martin Husemann wrote: > On Sat, Sep 13, 2014 at 08:25:24AM +0700, Robert Elz wrote: >> I cannot get any mention of gpt partitioning to appear anywhere - using >> an amd64 xen domU install kernel 7.99.1 (from a day or two ago). > > It checks wether some binaries a

Re: Wedges & sysinst (Was: Wedges enabled on -current)

2014-09-13 Thread Martin Husemann
On Sat, Sep 13, 2014 at 08:25:24AM +0700, Robert Elz wrote: > I cannot get any mention of gpt partitioning to appear anywhere - using > an amd64 xen domU install kernel 7.99.1 (from a day or two ago). It checks wether some binaries are available in $PATH and hides menus (for gpt, lvm, cgd, ...) si

Re: Wedges & sysinst (Was: Wedges enabled on -current)

2014-09-12 Thread Robert Elz
Date:Sat, 23 Aug 2014 14:15:14 +0200 From:Martin Husemann Message-ID: <20140823121514.gc21...@mail.duskware.de> | Sysinst allows creating gpt partitions already, I had never seen any sign of that, but I knew that could have been just from a lack of observation (exp

Re: Wedges & sysinst (Was: Wedges enabled on -current)

2014-09-08 Thread Christos Zoulas
On Sep 8, 12:47pm, a...@absd.org (David Brownlee) wrote: -- Subject: Re: Wedges & sysinst (Was: Wedges enabled on -current) | Its been three weeks since wedges mbr and disklabels was enabled in | current, breaking sysinst installs. | | If people do not have time to look at updating sysinst r

Re: Wedges enabled on -current

2014-08-31 Thread Michael van Elst
agr...@poofygoof.com ("Aaron J. Grier") writes: >> The major issue with this is that while it creates a full set of links >> at startup, devpubd doesn't see later changes to the partitioning, >> just device attach/detach events like the wedge autodiscover code. >kernel not propagating partition e

Re: Wedges enabled on -current

2014-08-29 Thread Aaron J. Grier
On Fri, Aug 29, 2014 at 09:21:28AM +, Michael van Elst wrote: > agr...@poofygoof.com ("Aaron J. Grier") writes: > > >generate links to devices (or wedges as the case may be) in > >/dev/disk/by-* at boot time, and mount with those. > > I can offer: [...] > That's the script /libexec/devpubd-ho

Re: Wedges enabled on -current

2014-08-29 Thread Michael van Elst
agr...@poofygoof.com ("Aaron J. Grier") writes: >generate links to devices (or wedges as the case may be) in >/dev/disk/by-* at boot time, and mount with those. I can offer: 12676 2 drwxr-xr-x3 root wheel 512 Aug 24 12:43 /dev/wedges/ 12104 0 lrw

Re: Wedges enabled on -current

2014-08-29 Thread Aaron J. Grier
On Fri, Aug 29, 2014 at 07:54:48AM +, Michael van Elst wrote: > agr...@poofygoof.com ("Aaron J. Grier") writes: > > >On Mon, Aug 18, 2014 at 02:28:02AM -0400, Christos Zoulas wrote: > >> If things work fine for you, you should eventually edit your fstab and > >> modify your entries to be of th

Re: Wedges enabled on -current

2014-08-29 Thread Michael van Elst
agr...@poofygoof.com ("Aaron J. Grier") writes: >On Mon, Aug 18, 2014 at 02:28:02AM -0400, Christos Zoulas wrote: >> If things work fine for you, you should eventually edit your fstab and >> modify your entries to be of the form NAME= instead of >> hard-coded devices (yes, for the traditional part

Re: Wedges enabled on -current

2014-08-28 Thread Aaron J. Grier
On Mon, Aug 18, 2014 at 02:28:02AM -0400, Christos Zoulas wrote: > If things work fine for you, you should eventually edit your fstab and > modify your entries to be of the form NAME= instead of > hard-coded devices (yes, for the traditional partition schemes these > are the names of the devices...

Re: Wedges & sysinst (Was: Wedges enabled on -current)

2014-08-23 Thread Martin Husemann
On Sat, Aug 23, 2014 at 06:20:39AM +0700, Robert Elz wrote: > I suspect that (instead of enabling auto wedge detection on existing labels > as the next step forward - ie: undoing what was recently done) sysinst be > updated (for i386 and amd64 at least) to offer GPT instead of disklabel > installs

Re: Wedges & sysinst (Was: Wedges enabled on -current)

2014-08-22 Thread Christos Zoulas
On Aug 23, 6:20am, k...@munnari.oz.au (Robert Elz) wrote: -- Subject: Re: Wedges & sysinst (Was: Wedges enabled on -current) | I had been meaning to ask that too, but with a slightly different emphasis. | | I suspect that (instead of enabling auto wedge detection on existing labels | as

Re: Wedges & sysinst (Was: Wedges enabled on -current)

2014-08-22 Thread Robert Elz
Date:Fri, 22 Aug 2014 21:00:52 +0100 From:David Brownlee Message-ID: | Is there a plan to update sysinst? I had been meaning to ask that too, but with a slightly different emphasis. I suspect that (instead of enabling auto wedge detection on existing labels as t

Wedges & sysinst (Was: Wedges enabled on -current)

2014-08-22 Thread David Brownlee
On 18 August 2014 07:28, Christos Zoulas wrote: > Hi, > > Now that we have branched 7, I am planning to enable full wedge support for > kernels that used wedges before. What this means is that disks with mbr and > bsd labels will now create dkN devices for each partition in found. This > should be

Re: Wedges enabled on -current

2014-08-21 Thread Alan Barrett
On Thu, 21 Aug 2014, Steffen Nurpmeso wrote: |wedgelist="$(dkctl "$disk" listwedges)" |if [ $? = 0 ]; then You mean -eq here i presume. It makes no difference. -eq is a numeric test, and = is a string test. "0" compares equal to "0" either way. Since the shall has the values as strin

Re: Wedges enabled on -current

2014-08-21 Thread Steffen Nurpmeso
Alan Barrett wrote: |On Thu, 21 Aug 2014, Thomas Klausner wrote: |>I have scripts that mount images via vnd + cgd. So far I have been |>using fixed numbers for the vnd and cgd devices I use, making sure I |>don't use them for other purposes. |> |>Now this doesn't work any longer, because as

Re: Wedges enabled on -current

2014-08-21 Thread Alan Barrett
On Thu, 21 Aug 2014, Thomas Klausner wrote: I have scripts that mount images via vnd + cgd. So far I have been using fixed numbers for the vnd and cgd devices I use, making sure I don't use them for other purposes. Now this doesn't work any longer, because as soon as vnd is created, a dk device

Re: Wedges enabled on -current

2014-08-21 Thread Thomas Klausner
On Mon, Aug 18, 2014 at 02:28:02AM -0400, Christos Zoulas wrote: > Now that we have branched 7, I am planning to enable full wedge support for > kernels that used wedges before. What this means is that disks with mbr and > bsd labels will now create dkN devices for each partition in found. This > s

Re: Wedges enabled on -current

2014-08-19 Thread Thor Lancelot Simon
On Mon, Aug 18, 2014 at 05:50:38PM +0200, Martin Husemann wrote: > > (where in the example "sb2k5Root" is the disklabel name of sd0) This seems likely to cause problems, because on systems with many identical disks, the label names previously could be non-unique; and on most people's systems, pro

Re: Wedges enabled on -current

2014-08-18 Thread Robert Elz
Date:Mon, 18 Aug 2014 18:51:03 -0700 (PDT) From:"Thomas Mueller" Message-ID: <959079.28761...@smtp115.sbc.mail.bf1.yahoo.com> | Also, NAME does not work with mount_msdos as in | mount_msdos NAME=WD2G02 /media/zip0 # does not work, but | mount -t msdos NAME=WD2G

Re: Wedges enabled on -current

2014-08-18 Thread Thomas Mueller
> Now that we have branched 7, I am planning to enable full wedge support for > kernels that used wedges before. What this means is that disks with mbr and > bsd labels will now create dkN devices for each partition in found. This > should be generally transparent, because fstab offers backwards co

Re: Wedges enabled on -current

2014-08-18 Thread Christos Zoulas
On Aug 18, 7:03pm, w...@netbsd.org (Thomas Klausner) wrote: -- Subject: Re: Wedges enabled on -current | On Mon, Aug 18, 2014 at 03:54:00PM +, Christos Zoulas wrote: | > In article <20140818155038.gq3...@mail.duskware.de>, | > Martin Husemann wrote: | > >On Mon, Aug 18,

Re: Wedges enabled on -current

2014-08-18 Thread Thomas Klausner
On Mon, Aug 18, 2014 at 03:54:00PM +, Christos Zoulas wrote: > In article <20140818155038.gq3...@mail.duskware.de>, > Martin Husemann wrote: > >On Mon, Aug 18, 2014 at 08:41:35AM -0700, Brian Buhrow wrote: > >>Hello. Could you provide an example of what you expect an /etc/fstab > >> file

Re: Wedges enabled on -current

2014-08-18 Thread Christos Zoulas
In article <20140818155038.gq3...@mail.duskware.de>, Martin Husemann wrote: >On Mon, Aug 18, 2014 at 08:41:35AM -0700, Brian Buhrow wrote: >> Hello. Could you provide an example of what you expect an /etc/fstab >> file entry to look like before and after your suggested edits? > >before it w

Re: Wedges enabled on -current

2014-08-18 Thread Martin Husemann
On Mon, Aug 18, 2014 at 08:41:35AM -0700, Brian Buhrow wrote: > Hello. Could you provide an example of what you expect an /etc/fstab > file entry to look like before and after your suggested edits? before it would use sd0a and sd0b (or wd*), after: NAME=sb2k5Root/a/ ffs r

Re: Wedges enabled on -current

2014-08-18 Thread Brian Buhrow
Hello. Could you provide an example of what you expect an /etc/fstab file entry to look like before and after your suggested edits? -thanks -Brian On Aug 18, 2:28am, Christos Zoulas wrote: } Subject: Wedges enabled on -current } Hi, } } Now that we have branched 7, I am planning to

Wedges enabled on -current

2014-08-17 Thread Christos Zoulas
Hi, Now that we have branched 7, I am planning to enable full wedge support for kernels that used wedges before. What this means is that disks with mbr and bsd labels will now create dkN devices for each partition in found. This should be generally transparent, because fstab offers backwards compa