[Yaird-devel] Overriding some probing

Sven Luther sven.luther at wanadoo.fr
Mon Dec 12 19:24:24 UTC 2005


On Mon, Dec 12, 2005 at 07:23:22PM +0100, Jonas Smedegaard wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> I am wondering if it would make sense to implement options to yaird
> making it possible to override some steps.
> 
> I want to produce a complete system in a chroot destined to run on
> different hardware (USB flashdisk and different mainboard) than the
> current machine.
> 
> I imagine yaird supporting --rootdev=/dev/sda and --rootfs=ext3 to
> avoid /dev/hda from the host system being ananylzed and used, and
> - --modules=uhci,uhci-hcd,ehci-hcd,usb-storage to add and load (in that
> order) the modules (and their dependands sd_mod, scsi_mod and usbcore)
> required for that device to show up in sysfs when booting.
> 
> If possible to "disable" probling like this, then perhaps even the
> problem of no upgrade path from a running 2.4-based system could be
> solved: A helper tool could use lsmod to produce a bloated but possibly
> working ramdisk image from a non-sysfs host.
> 
> Does it make any sense?

I think yes. What about a :

  --sysfs=path/to/copied/sys/tree --proc=path/to/copied/proc/tree

Friendly;

Sven Luther




More information about the Yaird-devel mailing list