FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 04-08-2008, 06:52 AM
Luke Yelavich
 
Default Bug#468112: Initramfs generation reliability fixes.

Sorry I haven't gotten back to you until now.

On Tue, Apr 01, 2008 at 07:53:44AM EST, maximilian attems wrote:
> On Wed, 27 Feb 2008, Luke Yelavich wrote:
>
> > Attached is a patch to improve the way update-initramfs handles the
> > generating of new or updated initramfs images for kernels. It puts in
> > place a few measures to ensure that if there is not enough disk space on
> > /boot, a previous initramfs is still in tact, to allow the booting of
> > that kernel. The patch applies against current git head. See the Ubuntu
> > specification found at the following URL for more information:
> > https://wiki.ubuntu.com/HardyInitramfsErrorHandling
>
> okay,
> i still don't understands belows patch.

Gah the patch is the wrong way around. here is a corrected patch, along with another change we've introduced since I originally filed the bug.

This patch does the following:
* When generating a new initramfs, instead of copying the old initramfs to a backup file, it hard links it instead, so no more space is used than necessary. it only copies to the backup file in the event that the filesystem on /boot doesn't support hard links, eg FAT32 partitions.
* A new file is used to generate the initramfs. If the generation succeeds, it is moved to the original initramfs's location, ready to use. If it fails, the original initramfs is not affected, allowing it to be used at boot.

Hope this makes sense now.

Luke
 
Old 04-08-2008, 07:35 AM
maximilian attems
 
Default Bug#468112: Initramfs generation reliability fixes.

tags 468112 pending
stop

On Tue, Apr 08, 2008 at 04:52:23PM +1000, Luke Yelavich wrote:
> Gah the patch is the wrong way around. here is a corrected patch,
> along with another change we've introduced since I originally filed
> the bug.

okay thanks for refreshing the patch, makes much more sense now.
i'll add it to todays upload.

best regards

--
maks



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:17 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org