nosh version 1.9

Allan Jude allanjude at freebsd.org
Thu Oct 23 04:34:30 UTC 2014


On 2014-10-22 22:49, Jordan Hubbard wrote:
> 
>> On Oct 22, 2014, at 7:16 PM, Outback Dingo <outbackdingo at gmail.com <mailto:outbackdingo at gmail.com>> wrote:
>>
>> Actually our port is "very" xml aware :) see https://github.com/outbackdingo/launchd_xml/tree/master/launch_xml <https://github.com/outbackdingo/launchd_xml/tree/master/launch_xml>
> OK, well, launchd as originally designed certainly was not (and is not) xml-aware.  This was on purpose.  You don’t want a lot of surface area in pid 1, which can never crash, nor do you want to bake your serialization format into stone tablets.
> 
> launchctl(1) does all the XML parsing and then passes the results to launchd using its own custom IPC format.  Was there some particular reason you violently inserted the XML parsing directly into launchd after the original architect(s) went to such pains to avoid such blatant penitentiary experiences? :-)
> 
> - Jordan
> 
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
> 

The nice thing about this design is that it would allow replacing the
XML with something more human readable/writing like UCL

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20141023/8ac61810/attachment.sig>


More information about the freebsd-hackers mailing list