Case of the missing softraid

2020-10-03 Thread tera torn
Hello, I've been a happy user of OpenBSD softraid RAID 1 mirroring, and I'm attemtping to migrate data off of a degraded RAID 1 mirror. I've booted before from the 6.7 install USB (amd64) and this degraded chunk was detected and the volume was brought up and my data was there. I'm not su

Re: OpenBSD fakeroot

2020-10-03 Thread Ingo Schwarze
Hi Richard, Richard Ipsum wrote on Sat, Oct 03, 2020 at 02:35:16PM +0200: > On Sat, Oct 03, 2020 at 02:21:45PM +0200, Ingo Schwarze wrote: >> Richard Ipsum wrote on Sat, Oct 03, 2020 at 01:14:07PM +0200: >>> I needed fakeroot for some tests I'm writing, >> You are not really explaining what it i

Re: OpenBSD fakeroot

2020-10-03 Thread Richard Ipsum
On Sat, Oct 03, 2020 at 02:21:45PM +0200, Ingo Schwarze wrote: > Hi Richard, Hi Ingo, > > Richard Ipsum wrote on Sat, Oct 03, 2020 at 01:14:07PM +0200: > > > I needed fakeroot for some tests I'm writing, > > You are not really explaining what it is that you actually > want to do... > > So i'm

Re: OpenBSD fakeroot

2020-10-03 Thread Ingo Schwarze
Hi Richard, Richard Ipsum wrote on Sat, Oct 03, 2020 at 01:14:07PM +0200: > I needed fakeroot for some tests I'm writing, You are not really explaining what it is that you actually want to do... So i'm guessing a bit: https://manpages.debian.org/buster/fakeroot/fakeroot.1.en.html says: f

Re: OpenBSD fakeroot

2020-10-03 Thread Tom Smyth
Ok root as in user as opposed to root as in location in filesystem Thanks Richard... On Sat, 3 Oct 2020 at 12:49, Richard Ipsum wrote: > > Hi, > > Sorry I'm not sure I understand, but anyway as far as I know you have to be > root already to use chroot, and the main goal of fakeroot is to avoid

Re: OpenBSD fakeroot

2020-10-03 Thread Richard Ipsum
Hi, Sorry I'm not sure I understand, but anyway as far as I know you have to be root already to use chroot, and the main goal of fakeroot is to avoid having to become root when you don't really need to. So fakeroot just gives the appearances of being root without actually running anything as root.

Re: OpenBSD fakeroot

2020-10-03 Thread Tom Smyth
Hi Richard, pardon my ignorance but would chroot with a copy of the / and sub directories, do the same thing ? thanks On Sat, 3 Oct 2020 at 12:30, Richard Ipsum wrote: > > Hi, > > I needed fakeroot for some tests I'm writing, but it seemed to be Linux > only and looked like it would be hard t

OpenBSD fakeroot

2020-10-03 Thread Richard Ipsum
Hi, I needed fakeroot for some tests I'm writing, but it seemed to be Linux only and looked like it would be hard to port. So I've written a fakeroot clone for OpenBSD, it's not complete but it does enough to be useful to me personally, if anyone's interested the code is here: https://git.vx21.xy