Re: [dev] misc projects

2013-10-24 Thread Sylvain BERTRAND
On Wed, Oct 23, 2013 at 03:46:05PM +0200, koneu wrote: > >I'm a GNU GPL guy > oh, fuck no... :P

Re: [dev] misc projects

2013-10-24 Thread koneu
>I'm a GNU GPL guy oh, fuck no...

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] 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, 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 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 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 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 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: >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
> 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 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-22 Thread Sylvain BERTRAND
> I dislike initramfs conception - it make system more complicated. For > mount root on usb storage I use attached patch. With it you can pass > label to kernel parameters. Example: root=LABEL=root_usb With early userspace, you would load the root filesystem modules first then mount the real root.

Re: [dev] misc projects

2013-10-22 Thread Mihail Zenkov
2013/10/22, Sylvain BERTRAND : > Hi, > > I may have some projects of interests for people concerned with > suckless.org philosophy: > > http://code.google.com/p/charfbuzz/ : > As you may know, the GTK+ stack has a unicode layout engine > called pango, which was made hard dependent on harfbuzz, a c+

[dev] misc projects

2013-10-22 Thread Sylvain BERTRAND
Hi, I may have some projects of interests for people concerned with suckless.org philosophy: http://code.google.com/p/charfbuzz/ : As you may know, the GTK+ stack has a unicode layout engine called pango, which was made hard dependent on harfbuzz, a c++ component. To keep GTK+ in the C realm and