Re: [dev] misc projects
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
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 seems sysfs only, which would mean linux does provide partition UUIDs. Ok then, when I'll be back on giving love to cinitramfs, I'll investigate deeper on what UUID facilities linux provides. I'm currently working on refactoring radeon (SI) linux driver.
Re: [dev] misc projects
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 all uid:gid to 0:0 (and some other things that make for better compression; use -Mnorm to also set all timestamps to the epoch, saves a few more bytes). bye, //mirabilos -- diogenese Beware of ritual lest you forget the meaning behind it. igli yeah but it means if you really care about something, don't ritualise it, or you will lose it. don't fetishise it, don't obsess. or you'll forget why you love it in the first place.
Re: [dev] misc projects
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:gid to 0:0 (and some other things that make for better compression; use -Mnorm to also set all timestamps to the epoch, saves a few more bytes). Strange, I though this feature was available with basic CPIO utils.
Re: [dev] misc projects
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 shouldn’t be entirely unliked. bye, //mirabilos -- 21:49⎜allamoox:#sendmail I have a question guys, ⎜Can I use my PC as SMTP server, I use Windows 7 . ⎜Already googled and Installed IIS ⎜but Still I can't send E-mail
Re: [dev] misc projects
Greetings. On Wed, 23 Oct 2013 15:00:42 +0200 sin s...@2f30.org 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 This is how nldev with mdev does it [0]. Sincerely, Christoph Lohmann [0] http://git.r-36.net/nldev/tree/mdev/lib/sddev
Re: [dev] misc projects
-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 is a BSD-licenced and pretty compact implementation, so it shouldn’t be entirely unliked. Thx, but I'm a GNU GPL guy :), but if it's minimal C and linux does not have one, I'll have a look for sure.
Re: [dev] misc projects
On Wed, 23 Oct 2013 15:00:42 +0200 sin s...@2f30.org 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 This is how nldev with mdev does it [0]. [0] http://git.r-36.net/nldev/tree/mdev/lib/sddev 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...?
Re: [dev] misc projects
2013/10/23, Sylvain BERTRAND sylw...@legeek.net: 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=UUID
Re: [dev] misc projects
On Wed, Oct 23, 2013 at 02:33:39PM +, Mihail Zenkov wrote: 2013/10/23, Sylvain BERTRAND sylw...@legeek.net: 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=UUID Yes, that's a kernel param for the do_mount function in linux init.c, but I have not dig in linux mount code to know if the mount syscall is able to do the same than this kernel param.
Re: [dev] Some thoughts about XML
the format of ini files are a problem for you?? On 10/23/13, Thorsten Glaser t...@mirbsd.de 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 -- diogenese Beware of ritual lest you forget the meaning behind it. igli yeah but it means if you really care about something, don't ritualise it, or you will lose it. don't fetishise it, don't obsess. or you'll forget why you love it in the first place.
Re: [dev] Some thoughts about XML
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 t...@mirbsd.de wrote: Oh great, TOFU! Please read and honour http://www.afaik.de/usenet/faq/zitieren/ next time. But what do I expect from a Googlemail user. *sigh* Why does suckless seem to collect so many clueless people? bye, //mirabilos -- Wish I had pine to hand :-( I'll give lynx a try, thanks. Michael Schmitz on nntp://news.gmane.org/gmane.linux.debian.ports.68k a.k.a. {news.gmane.org/nntp}#news.gmane.linux.debian.ports.68k in pine
Re: [dev] Some thoughts about XML
Thorsten Glaser t...@mirbsd.de 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 it. But you can't without destroying everything around it.
[OT] eMail (was Re: [dev] Some thoughts about XML)
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 or related associations, such as trash.net or the SDF or gnook, who usually also offer SMTP. Yet, every self-respecting dev would rather host his eMail himself.) bye, //mirabilos -- «MyISAM tables -will- get corrupted eventually. This is a fact of life. » “mysql is about as much database as ms access” – “MSSQL at least descends from a database” “it's a rebranded SyBase” “MySQL however was born from a flatfile and went downhill from there” – “at least jetDB doesn’t claim to be a database” ‣‣‣ Please, http://deb.li/mysql and MariaDB, finally die!
Re: [dev] Some thoughts about XML
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 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 you have with a .ini file? Thanks, -- William Giokas | KaiSforza | http://kaictl.net/ GnuPG Key: 0x73CD09CF Fingerprint: F73F 50EF BBE2 9846 8306 E6B8 6902 06D8 73CD 09CF pgpSTaNbezzFN.pgp Description: PGP signature
Re: [dev] Some thoughts about XML
you guy bore me On 10/23/13, Thorsten Glaser t...@mirbsd.de 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 t...@mirbsd.de wrote: Oh great, TOFU! Please read and honour http://www.afaik.de/usenet/faq/zitieren/ next time. But what do I expect from a Googlemail user. *sigh* Why does suckless seem to collect so many clueless people? bye, //mirabilos -- Wish I had pine to hand :-( I'll give lynx a try, thanks. Michael Schmitz on nntp://news.gmane.org/gmane.linux.debian.ports.68k a.k.a. {news.gmane.org/nntp}#news.gmane.linux.debian.ports.68k in pine
Re: [dev] Some thoughts about XML
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 .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 you have with a .ini file? They are okay for simple config files. They are the opposite of okay for a markup language.
Re: [dev] Some thoughts about XML
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 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 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 you have with a .ini file? They are okay for simple config files. They are the opposite of okay for a markup language. This is true. Thanks, -- William Giokas | KaiSforza | http://kaictl.net/ GnuPG Key: 0x73CD09CF Fingerprint: F73F 50EF BBE2 9846 8306 E6B8 6902 06D8 73CD 09CF pgpycutvYk6Pf.pgp Description: PGP signature
Re: [dev] Some thoughts about XML
2013/10/23, Alexander S. alex0pla...@gmail.com: 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 you have with a .ini file? They are okay for simple config files. They are the opposite of okay for a markup language. Why?
Re: [dev] Some thoughts about XML
2013/10/24 Mihail Zenkov mihail.zen...@gmail.com: 2013/10/23, Alexander S. alex0pla...@gmail.com: 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 you have with a .ini file? They are okay for simple config files. They are the opposite of okay for a markup language. Why? ol li Lack of proper hierarchy, for one; li Lack of proper heterogenous containers, for two; libThe most important one/b: lack of multiline strings. /ol p Try to express something as simple as imy answer/i (which is rather trivial HTML snippet) in .ini format. /p
Re: [dev] Some thoughts about XML
On Wed 23 Oct 2013 at 16:44:34 PDT Alexander S. wrote: 2013/10/24 Mihail Zenkov mihail.zen...@gmail.com: 2013/10/23, Alexander S. alex0pla...@gmail.com: 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 you have with a .ini file? They are okay for simple config files. They are the opposite of okay for a markup language. Why? ol li Lack of proper hierarchy, for one; li Lack of proper heterogenous containers, for two; libThe most important one/b: lack of multiline strings. /ol p Try to express something as simple as imy answer/i (which is rather trivial HTML snippet) in .ini format. /p So don't use it as a markup language. As far as I know, it was never claimed to be fit for that purpose.
Re: [dev] Some thoughts about XML
2013/10/23, Alexander S. alex0pla...@gmail.com: 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? ol li Lack of proper hierarchy, for one; li Lack of proper heterogenous containers, for two; libThe most important one/b: lack of multiline strings. /ol p Try to express something as simple as imy answer/i (which is rather trivial HTML snippet) in .ini format. /p Thanks for clear answer :)
Re: [dev] [sbase] Command list
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 https://code.google.com/p/miniz/ (Zip/deflate zlib compatible, small, fast) and https://code.google.com/p/lzham/ (nearly LZMA compression with much faster decompression, Windows only for the time being :/). -Louis