Re: update-initramfs, chroots ro /boot, and debian-live (Re: d-l and /boot ro)

2007-09-04 Thread Justin Pryzby
On Mon, Sep 03, 2007 at 10:36:56PM +0200, maximilian attems wrote: On Mon, Sep 03, 2007 at 03:28:00PM -0400, Justin Pryzby wrote: On Mon, Sep 03, 2007 at 08:57:41PM +0200, Daniel Baumann wrote: maximilian attems wrote: well update-initramfs checks if there is a readable /proc/mounts,

Re: update-initramfs, chroots ro /boot, and debian-live (Re: d-l and /boot ro)

2007-09-04 Thread maximilian attems
On Mon, Sep 03, 2007 at 03:28:00PM -0400, Justin Pryzby wrote: On Mon, Sep 03, 2007 at 08:57:41PM +0200, Daniel Baumann wrote: maximilian attems wrote: well update-initramfs checks if there is a readable /proc/mounts, so if /proc is !mounted everything si fine. that's what i stated..

Re: update-initramfs, chroots ro /boot, and debian-live (Re: d-l and /boot ro)

2007-09-04 Thread Daniel Baumann
maximilian attems wrote: ok thanks for your input, fixed in latest git see http://git.debian.org/?p=kernel/initramfs-tools.git;a=summary will hit archive as 0.91 soon Thanks! -- Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist Email: [EMAIL PROTECTED] Internet:

Re: update-initramfs, chroots ro /boot, and debian-live (Re: d-l and /boot ro)

2007-09-03 Thread Daniel Baumann
maximilian attems wrote: well update-initramfs checks if there is a readable /proc/mounts, so if /proc is !mounted everything si fine. that's what i stated.. but it's ugly to mount, do stuff, unmount, update initramfs, mount, do stuff, and unmount again. it would be, probably, better if

Re: update-initramfs, chroots ro /boot, and debian-live (Re: d-l and /boot ro)

2007-09-03 Thread maximilian attems
On Mon, Sep 03, 2007 at 08:57:41PM +0200, Daniel Baumann wrote: maximilian attems wrote: well update-initramfs checks if there is a readable /proc/mounts, so if /proc is !mounted everything si fine. that's what i stated.. but it's ugly to mount, do stuff, unmount, update initramfs, mount,

update-initramfs, chroots ro /boot, and debian-live (Re: d-l and /boot ro)

2007-08-28 Thread Justin Pryzby
On Tue, Aug 28, 2007 at 09:13:00PM +0200, Daniel Baumann wrote: Justin Pryzby wrote: Check update-initramfs, which reads from proc/mounts, which makes the scripts not completely hostfs agnostic. ummm.. bad one that, thanks for pointing it out. someone has a good idea about that?