Bug#609964: use blkid to correctly set UUID for RESUME

2011-01-14 Thread Michael Biebl
On 14.01.2011 15:08, maximilian attems wrote: > On Fri, Jan 14, 2011 at 02:59:57PM +0100, Michael Biebl wrote: >> >>> the cost of a command call is very small as it is a shell builtin. >> >> Well, command will not check for the existence of blkid, but execute blkid, >> so >> in effect it is execut

Bug#609964: use blkid to correctly set UUID for RESUME

2011-01-14 Thread maximilian attems
On Fri, Jan 14, 2011 at 02:59:57PM +0100, Michael Biebl wrote: > > > the cost of a command call is very small as it is a shell builtin. > > Well, command will not check for the existence of blkid, but execute blkid, so > in effect it is executed *twice*. > Maybe you want something like "type blki

Bug#609964: use blkid to correctly set UUID for RESUME

2011-01-14 Thread Michael Biebl
On 14.01.2011 14:51, maximilian attems wrote: > On Fri, Jan 14, 2011 at 02:47:54PM +0100, Michael Biebl wrote: >> On 14.01.2011 14:39, maximilian attems wrote: >>> On Fri, Jan 14, 2011 at 02:21:39PM +0100, Michael Biebl wrote: >> >>> thanks please take a look at git initramfs-tools, it is in one of

Bug#609964: use blkid to correctly set UUID for RESUME

2011-01-14 Thread maximilian attems
On Fri, Jan 14, 2011 at 02:47:54PM +0100, Michael Biebl wrote: > On 14.01.2011 14:39, maximilian attems wrote: > > On Fri, Jan 14, 2011 at 02:21:39PM +0100, Michael Biebl wrote: > > > thanks please take a look at git initramfs-tools, it is in one of > > those maks branches, hmm looking up -> maks/

Bug#609964: use blkid to correctly set UUID for RESUME

2011-01-14 Thread Michael Biebl
On 14.01.2011 14:39, maximilian attems wrote: > On Fri, Jan 14, 2011 at 02:21:39PM +0100, Michael Biebl wrote: > thanks please take a look at git initramfs-tools, it is in one of > those maks branches, hmm looking up -> maks/preinst_blkid > http://git.debian.org/?p=kernel/initramfs-tools.git;a=sum

Bug#609964: use blkid to correctly set UUID for RESUME

2011-01-14 Thread maximilian attems
On Fri, Jan 14, 2011 at 02:21:39PM +0100, Michael Biebl wrote: > Package: initramfs-tools > Version: 0.98.7 > Severity: important > Tags: patch > > Hi, > > while looking at initramfs-tools.preinst code, I noticed that it still > uses vol_id, which is no longer shipped in squeeze. > As a result, U

Bug#609964: use blkid to correctly set UUID for RESUME

2011-01-14 Thread Michael Biebl
Package: initramfs-tools Version: 0.98.7 Severity: important Tags: patch Hi, while looking at initramfs-tools.preinst code, I noticed that it still uses vol_id, which is no longer shipped in squeeze. As a result, UUID will never be set. The attached patch used blkid, which is both shipped in len