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

persistence and custom kernel



Hello Santiago Andr?s, and list,

El Wednesday 16 January 2008 04:09:21 Santiago Andres Triana va escriure:
> I will try to remove references to fd0 in the sources to see if it the
> persistent kernel option works.

sorry,
there are no references to fd0 in the live-initramfs package, 
we should add this to exclude it from the search
example, in the expression

echo /sys/block/* | tr ' ' '\n' | grep -v loop

we add

echo /sys/block/* | tr ' ' '\n' | grep -v loop -v fd

we can find what should be modified doing,

# find live-initramfs-1.113.1-1/ -type f | xargs -r 
grep -e 'echo /sys/block/*'

live-initramfs-1.113.1-1/scripts/live:  for sysblock in $(echo /sys/block/* | 
tr ' ' '\n' | grep -v loop | grep -v ram)

live-initramfs-1.113.1-1/scripts/live-helpers:  for sysblock in 
$(echo /sys/block/* | tr ' ' '\n' | grep -v loop)

live-initramfs-1.113.1-1/scripts/live-helpers:  for sysblock in 
$(echo /sys/block/* | tr ' ' '\n' | grep -v loop)

Regards,

Jordi Pujol



Reply to: