Re: [Toybox] [CLEANUP] makedevs

2014-06-30 Thread Rob Landley
In the absence of a response to wednesday's request for makedevs tests,
I just used:

# 

#bcdfp
/blah d 755 0 500
/blah/block b 600 0 0
/blah/char c 666 500 500 1 5 3 2 4
/blah/pipe p 777 500 0

Under aboriginal linux, and fixed up the bugs I saw doing that. Seems
to work for me, so I promoted it to other.

I still don't understand the point of "f". I think it's for people
who don't know how to use the cpio, genext2fs, or squashfs creation
tools to create files with arbitrary permissions as a non-root user
on the build host? (Aboriginal Linux does all three correctly,
last I checked. Oh well.)

Rob
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net


Re: [Toybox] getty questions.

2014-06-30 Thread Rob Landley
On 06/29/14 22:48, Avery Pennarun wrote:
> On Sun, Jun 29, 2014 at 10:19 AM, Rob Landley  wrote:
>> Looking at getty, it has a lot of modem support, including autodetecting
>> the rate of incoming modem connections from the "CONNECT" message.
>>
>> Do you actually have a use case for this? Are there still modems in live
>> use in 2014, where they're hooked up to a unix system that's waiting for
>> you to dial in at an unknown serial port rate? (Not internet, not a
>> statically configured serial connection set by the bootloader or the
>> console= command line argument?)
> 
> As far as I know, rate autodetection from the CONNECT line went out of
> style with 2400 baud modems.  After that (or even in some of those)
> they added internal compression that needed a higher bit rate on the
> serial port anyway, so they ended up just using a fixed higher rate.
> 
> It's very unlikely anybody needs that feature now.
> 
> ...and now back to lurking...

Yeah, that's what I thought, but it's been long enough since _I've_ used
modems that I'm a bit fuzzy.

I think I'll yank it and be ready to accept a patch/request putting it
back that comes with an explanation of why it's necessary.

Thanks,

Rob
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net


Re: [Toybox] Patches for toybox-0.4.8

2014-06-30 Thread Rob Landley
On 06/23/14 10:35, luck...@vp.pl wrote:
> I created own build system for small linux distributions. I had to write
> two patches for your
> toybox-0.4.8. First patch fixes display of the id toy. Second patch
> fixes sigsegv of the which
> toy for the unset PATH variable of environment. These patches:
> 
> https://github.com/luckboy/toyroot/blob/master/patch/toybox-0.4.8-fixes.patch
> 
> https://github.com/luckboy/toyroot/blob/master/patch/toybox-0.4.8-which-sigsegv.patch
> 
> 
> First patch also contains fixes of toy.h for musl c library.
> 
> I hope that I help you.

Do the fixes that went in for these address your issues? (Commit 1360
should fix the which segfault, and 1361 should fix the musl build break
in getty.)

Rob
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net