[dev][ubase] Implement switch_root

2014-04-13 Thread FRIGN
Good day, sometimes, you depend on an initramfs to do stuff for you before the rootfs is available. Busybox has become the standard for "all your initramfs needs", but tbh, I hate working with it. Statically linking sbase and ubase and choosing the tools you need for the job almost solves the prob

Re: [dev][ubase] Implement switch_root

2014-04-13 Thread sin
On Sun, Apr 13, 2014 at 02:10:51PM +0200, FRIGN wrote: > Good day, > > sometimes, you depend on an initramfs to do stuff for you before > the rootfs is available. > Busybox has become the standard for "all your initramfs needs", but > tbh, I hate working with it. > Statically linking sbase and uba

Re: [dev][ubase] Implement switch_root

2014-04-13 Thread Hadrian Węgrzynowski
Dnia 2014-04-13, o godz. 14:10:51 FRIGN napisał(a): > Good day, > > sometimes, you depend on an initramfs to do stuff for you before > the rootfs is available. > Busybox has become the standard for "all your initramfs needs", but > tbh, I hate working with it. > Statically linking sbase and ubas

Re: [dev] [st] [patch] typedefs instead of #defines

2014-04-13 Thread noname
On Tue, Apr 08, 2014 at 02:11:24PM +0200, Roberto E. Vargas Caballero wrote: > > -#define Rectangle XRectangle > > > ... > > - Rectangle r; > > + XRectangle r; > > You remove the define at all in this point, and if I remember well, this > define was needed to avoid something. Maybe Christoph

[dev][ubase][patch] Implement switch_root

2014-04-13 Thread FRIGN
Good evening, as discussed earlier, I worked on the switch_root-tool and successfully tested it with my initramfs-setup without problems. Let me know what you think. Cheers FRIGN -- FRIGN >From e0608f4fe61aa70a270b0168790fdd6994c3e91e Mon Sep 17 00:00:00 2001 From: FRIGN Date: Mon, 14 Apr 20

Re: [dev] lock (1) - where does it go?

2014-04-13 Thread Calvin Morrison
On 11 April 2014 18:25, sin wrote: > On Fri, Apr 11, 2014 at 06:02:55PM +0200, Christoph Lohmann wrote: >> Greetings. >> >> On Fri, 11 Apr 2014 18:02:55 +0200 Calvin Morrison >> wrote: >> > I'd like lock to belong somewhere. FRIGN and I privately discussed >> > submitting it to moreutils, a pack