|
From: Friedrich L. <fl...@fl...> - 2004-04-06 23:25:45
|
Roland Pabel wrote on 07.04.2004 01:18 MET: > I'm think of saving my configs on the harddisks instead of floppies, but there > is one thing that is not possible with config on disks now: changing them > easily prior to boot. Can't replace my harddisk as I do it with floppies... > I thought of this: > I'd add a boot parameter "config=<device>:<name of etc.tar.bz2>", i.e. > "config=/dev/hda1:backup.tar.bz2". > The execution flow in linuxrc: > > - device and filename given: > search that device for file, if not found, standard behavious (load first > etc.tar.bz2) > - only device given: > device would be prepended to the list of devices in linuxrc and searched first > - only filename > file would be searched on any device first, if not found, search for > etc.tar.bz2 on all devices in standard order Äh, what do you mean by "any device first"? Do you intend to have some function that try's all possible and impossible block devices and their partitions if any? > that last two cases can be easily seperated: devicenames contain "/dev/", > filenames *should* not... That's right. -- MfG / Regards Friedrich Lobenstock ____________________________________________________________________ Friedrich Lobenstock Linux Services Lobenstock URL: http://www.lsl.at/ Email: fl...@fl... ____________________________________________________________________ |