Re: [dev] misc projects

2013-10-23 Thread sin
On Wed, Oct 23, 2013 at 01:45:05AM +0200, Sylvain BERTRAND wrote: > Is linux able to provide the UUID of a partition? I have never > looked into it. If so, I would use linux instead of a port of > blkid! ls -l /dev/disk/by-uuid You obviously need sysfs + udev/mdev or whatever.

Re: [dev] misc projects

2013-10-23 Thread Sylvain BERTRAND
> On Wed, Oct 23, 2013 at 01:45:05AM +0200, Sylvain BERTRAND wrote: >> Is linux able to provide the UUID of a partition? I have never >> looked into it. If so, I would use linux instead of a port of >> blkid! > > ls -l /dev/disk/by-uuid > > You obviously need sysfs + udev/mdev or whatever. It se

Re: [dev] misc projects

2013-10-23 Thread Thorsten Glaser
Sylvain BERTRAND dixit: >and use CPIO text description to avoid being root to create the You can use paxmirabilis/MirCPIO for that (it’s packaged as “pax” in Debian wheezy and newer, in case you wonder). Example: find * | sort | paxcpio -oC512 -Hsv4cpio -Mdist | xz -2e >initrd -Mdist normalises

Re: [dev] misc projects

2013-10-23 Thread Sylvain BERTRAND
>>and use CPIO text description to avoid being root to create the > > You can use paxmirabilis/MirCPIO for that (it’s packaged as “pax” > in Debian wheezy and newer, in case you wonder). Example: > > find * | sort | paxcpio -oC512 -Hsv4cpio -Mdist | xz -2e >initrd > > -Mdist normalises all uid:g

Re: [dev] misc projects

2013-10-23 Thread Thorsten Glaser
Sylvain BERTRAND dixit: >> -Mdist normalises all uid:gid to 0:0 (and some other things that >Strange, I though this feature was available with basic CPIO utils. No, it’s not, it’s implementation-specific extension. But then, paxtar is a BSD-licenced and pretty compact implementation, so it shou

Re: [dev] misc projects

2013-10-23 Thread Christoph Lohmann
Greetings. On Wed, 23 Oct 2013 15:00:42 +0200 sin wrote: > On Wed, Oct 23, 2013 at 01:45:05AM +0200, Sylvain BERTRAND wrote: > > Is linux able to provide the UUID of a partition? I have never > > looked into it. If so, I would use linux instead of a port of > > blkid! > > ls -l /dev/disk/by-uuid

Re: [dev] misc projects

2013-10-23 Thread Sylvain BERTRAND
>>> -Mdist normalises all uid:gid to 0:0 (and some other things that > >>Strange, I though this feature was available with basic CPIO utils. > > No, it’s not, it’s implementation-specific extension. I think there is something related to this in the linux kernel distribution. > But then, paxtar

Re: [dev] misc projects

2013-10-23 Thread Sylvain BERTRAND
> On Wed, 23 Oct 2013 15:00:42 +0200 sin wrote: >> On Wed, Oct 23, 2013 at 01:45:05AM +0200, Sylvain BERTRAND wrote: >>> Is linux able to provide the UUID of a partition? I have never >>> looked into it. If so, I would use linux instead of a port of >>> blkid! >> >> ls -l /dev/disk/by-uuid > > T

Re: [dev] misc projects

2013-10-23 Thread Mihail Zenkov
2013/10/23, Sylvain BERTRAND : > Oh! Then, I'm sure not to port blkid. But, like the do_mount in > linux init code, is the linux mount syscall able to mount a > partition with "UUID=..." instead of "/dev/sd..."? You can try: root=PARTUUID=

Re: [dev] misc projects

2013-10-23 Thread Sylvain BERTRAND
On Wed, Oct 23, 2013 at 02:33:39PM +, Mihail Zenkov wrote: > 2013/10/23, Sylvain BERTRAND : >> Oh! Then, I'm sure not to port blkid. But, like the do_mount in >> linux init code, is the linux mount syscall able to mount a >> partition with "UUID=..." instead of "/dev/sd..."? > > You can try: r

Re: [dev] Some thoughts about XML

2013-10-23 Thread hiro
the format of ini files are a problem for you?? On 10/23/13, Thorsten Glaser wrote: > Mihail Zenkov dixit: > >>It not mention good xml alternative: TOML > > Thank gods the time of Windows 3.x *.ini files is long gone. > > bye, > //mirabilos > -- > Beware of ritual lest you forget the meaning beh

Re: [dev] Some thoughts about XML

2013-10-23 Thread Thorsten Glaser
hiro dixit: >the format of ini files are a problem for you?? Multiple question marks, he said, are a sure sign of a diseased mind. (Or something like that. It’s been some time since I last read him.) >On 10/23/13, Thorsten Glaser wrote: Oh great, TOFU! Please read and honour http://www.afaik.d

Re: [dev] Some thoughts about XML

2013-10-23 Thread koneu
Thorsten Glaser wrote: >But what do I expect from a Googlemail user? Oh please tell me a good alternative free and reliable mail service. I hate Google. But all the others append ads. OT: XML is like cancer. It is disgusting to work with and disgusting to look at. And you really wanna get rid of

[OT] eMail (was Re: [dev] Some thoughts about XML)

2013-10-23 Thread Thorsten Glaser
koneu dixit: >Oh please tell me a good alternative free and reliable mail service. sendmail? postfix? There’s a lot of stuff around, and you can just run them for free on your own server. Easy to set up, too. (This is really stupid. Besides, you could just search around for unix shell accounts o

Re: [dev] Some thoughts about XML

2013-10-23 Thread William Giokas
On Tue, Oct 22, 2013 at 10:35:03PM +, Thorsten Glaser wrote: > Mihail Zenkov dixit: > > >It not mention good xml alternative: TOML > > Thank gods the time of Windows 3.x *.ini files is long gone. I'm confused as to what is wrong with the .ini style configurations. They're not just used in Wi

Re: [dev] Some thoughts about XML

2013-10-23 Thread hiro
you guy bore me On 10/23/13, Thorsten Glaser wrote: > hiro dixit: > >>the format of ini files are a problem for you?? > > Multiple question marks, he said, are a sure sign of a diseased mind. > (Or something like that. It’s been some time since I last read him.) > >>On 10/23/13, Thorsten Glaser

Re: [dev] Some thoughts about XML

2013-10-23 Thread Alexander S.
2013/10/24 William Giokas <1007...@gmail.com>: > On Tue, Oct 22, 2013 at 10:35:03PM +, Thorsten Glaser wrote: >> Mihail Zenkov dixit: >> >> >It not mention good xml alternative: TOML >> >> Thank gods the time of Windows 3.x *.ini files is long gone. > > I'm confused as to what is wrong with the

Re: [dev] Some thoughts about XML

2013-10-23 Thread William Giokas
On Thu, Oct 24, 2013 at 02:20:29AM +0400, Alexander S. wrote: > 2013/10/24 William Giokas <1007...@gmail.com>: > > On Tue, Oct 22, 2013 at 10:35:03PM +, Thorsten Glaser wrote: > >> Mihail Zenkov dixit: > >> > >> >It not mention good xml alternative: TOML > >> > >> Thank gods the time of Windows

Re: [dev] Some thoughts about XML

2013-10-23 Thread Mihail Zenkov
2013/10/23, Alexander S. : >> I'm confused as to what is wrong with the .ini style configurations. >> They're not just used in Windows, they're used in many other places that >> require simple, easy to use configurations. Python uses it, there are C >> api's for it, etc. >> >> So what problem do yo

Re: [dev] Some thoughts about XML

2013-10-23 Thread Alexander S.
2013/10/24 Mihail Zenkov : > 2013/10/23, Alexander S. : >>> I'm confused as to what is wrong with the .ini style configurations. >>> They're not just used in Windows, they're used in many other places that >>> require simple, easy to use configurations. Python uses it, there are C >>> api's for it,

Re: [dev] Some thoughts about XML

2013-10-23 Thread Charlie Kester
On Wed 23 Oct 2013 at 16:44:34 PDT Alexander S. wrote: 2013/10/24 Mihail Zenkov : 2013/10/23, Alexander S. : I'm confused as to what is wrong with the .ini style configurations. They're not just used in Windows, they're used in many other places that require simple, easy to use configurations.

Re: [dev] Some thoughts about XML

2013-10-23 Thread Mihail Zenkov
2013/10/23, Alexander S. : So what problem do you have with a .ini file? >>> They are okay for simple config files. They are the opposite of okay >>> for a markup language. >> >> Why? > > Lack of proper hierarchy, for one; > Lack of proper heterogenous containers, for two; > The most import

Re: [dev] [sbase] Command list

2013-10-23 Thread Louis Santillan
Late to the party, but in response to Truls email request on 10/18/2013, there's some less sucky lossless compression/decompression code at (Zip/deflate & zlib compatible, small, fast) and (nearly LZMA compression with much faste

Re: [dev] Some thoughts about XML

2013-10-23 Thread Samuel Holland
"Alexander S." wrote: > 2013/10/24 Mihail Zenkov : > > 2013/10/23, Alexander S. : > >>> I'm confused as to what is wrong with the .ini style configurations. > >>> They're not just used in Windows, they're used in many other places that > >>> require simple, easy to use configurations. Python uses

Re: [dev] Some thoughts about XML

2013-10-23 Thread Chris Down
On 2013-10-24 01:04, Samuel Holland wrote: > [body] > content="%ol%%p%" > [ol] > style="list-style-type: decimal" > content="%li.1%%li.2%%li.3" > [li] > style="display: list-item" > content1="Lack of proper hierarchy, for one;" > content2="Lack of proper heterogeneous containers, for two;" > conten

Re: [dev] Some thoughts about XML

2013-10-23 Thread Patrick
On 2013-10-24 14:43, Chris Down wrote: > On 2013-10-24 01:04, Samuel Holland wrote: > > [body] > > content="%ol%%p%" > > [ol] > > style="list-style-type: decimal" > > content="%li.1%%li.2%%li.3" > > [li] > > style="display: list-item" > > content1="Lack of proper hierarchy, for one;" > > content2="