[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: live-initramfs 2.x features



Philippe Lelédy wrote:
> Daniel Baumann wrote:
>> Philippe Lelédy wrote:
>>  
>>> 1) It would be nice to specify that internal disks are not to be used at
>>> all, even read/only:
>>>     
>>
>> currently, if you don't enable swap nor persistency, internal disks
>> arenot used, except for searching the live-media.
>>   
> And persistent partitions files or snapshots !
> That's exactly what I would like to avoid.

just to be clear: you want to have persistency and/or snapshots enabled,
but no internal disk used/searched, right?

> Even better having break=extented regular expression  ?
> I use that simple patch :
> 
> maybe_break()
> {
> -    if [ "${break}" = "$1" ]; then
> +    if [ "${break}" = "$1" ] || echo "$1" | egrep -q  "${break}" ; then

something like that, yes.

> I was not speaking  about squashfs using lzma (known and big issue !)
> but simply -- a little out of topic -- about a mkinitramfs issue:
> produce a lzma-compressed initrd. (depends on linux kernel version)

ah, ok. added to the list for live-helper (it's a build-time thing, not
runtime).

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/


Reply to: