Re: [dev][ubase] Implement switch_root

2014-04-17 Thread FRIGN
On Wed, 16 Apr 2014 23:10:23 +0100 Dimitris Papastamos wrote: > > i just note that pivot_root is a linux system call > > so implementing that tool is a one-liner in c We don't need this here, given we don't give a damn about preserving the initramfs somewhere. I would agree on using syscalls to

Re: [dev][ubase] Implement switch_root

2014-04-17 Thread sin
On Thu, Apr 17, 2014 at 12:26:09PM +0200, FRIGN wrote: > On Wed, 16 Apr 2014 23:10:23 +0100 > Dimitris Papastamos wrote: > > > > i just note that pivot_root is a linux system call > > > so implementing that tool is a one-liner in c > > We don't need this here, given we don't give a damn about pr

Re: [dev][ubase] Implement switch_root

2014-04-17 Thread FRIGN
On Thu, 17 Apr 2014 12:57:24 +0100 sin wrote: >Someome might suggest adding some useful > shell scripts in a directory misc/ or so in ubase but that's not the > right place and I'd like to keep sbase and ubase free of non-C code > and external runtime dependencies. That's exactly the point! One

[dev] [sbase] sort: add -k support

2014-04-17 Thread Jakob Kramer
Hello! Here is my patch to add -k support to sort and remove the -u flag from it, because it does not work (and even less so with my -k patch. It does strcmp to compare two lines that are already sorted to check if they are the same, but that already does not work when "-n -u" is given.

Re: [dev][ubase] Implement switch_root

2014-04-17 Thread sin
On Thu, Apr 17, 2014 at 02:47:37PM +0200, FRIGN wrote: > On Thu, 17 Apr 2014 12:57:24 +0100 > sin wrote: > > >Someome might suggest adding some useful > > shell scripts in a directory misc/ or so in ubase but that's not the > > right place and I'd like to keep sbase and ubase free of non-C code >

Re: [dev][ubase] Implement switch_root

2014-04-17 Thread Nick
Quoth FRIGN: > I'm all for a directory named ideas/ including working > shell-scripts of design-ideas, which can then be implemented as > C-programs later on. > This would both encourage new concepts and keep the repo clean of > problematic shell-scripts. I think this mailing list works pretty we

Re: [dev] [sbase] sort: add -k support

2014-04-17 Thread Jakob Kramer
On 04/17/2014 02:56 PM, Jakob Kramer wrote: > Here is my patch to add -k support to sort and remove the -u flag from > it Here is my patch to add -k support and *fix* the -u flag instead. Please forget about the other patch. >From 43b297c3791ef0b5a5c551c1b6050e222e559610 Mon Sep 17 00:00:00 2001 F

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

2014-04-17 Thread Calvin Morrison
when are you planning a release? On 16 April 2014 06:15, Dimitris Papastamos wrote: > On Sun, Apr 13, 2014 at 08:42:12PM -0400, Calvin Morrison wrote: >> On 11 April 2014 18:25, sin wrote: >> > On Fri, Apr 11, 2014 at 06:02:55PM +0200, Christoph Lohmann wrote: >> >> Greetings. >> >> >> >> On Fri

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

2014-04-17 Thread sin
On Thu, Apr 17, 2014 at 11:21:45AM -0400, Calvin Morrison wrote: > when are you planning a release? 1st of May or so

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

2014-04-17 Thread Calvin Morrison
I'll have it done by then On 17 April 2014 11:24, sin wrote: > On Thu, Apr 17, 2014 at 11:21:45AM -0400, Calvin Morrison wrote: >> when are you planning a release? > > 1st of May or so >