On Thu, Aug 31, 2000 at 04:26:55PM +0200, [EMAIL PROTECTED] wrote: > Or can we have a standard, reasonably reliable way for determining the > path name of the currently running image ? (E.g. for LILO, the command > is lilo -I `sed '/.*BOOT_IMAGE=\([^ ]*\).*/s//\1/' </proc/cmdline` > But what about GRUB, LOADLIN, SILO, MILO, ... ?) I've written scripts do copy any useful piece of (debug) info to /boot. To cope with MILO, you can use: [jbglaw@air:/home/jbglaw] $> sed '/.*bootfile=\([^ ]*\).*/s//\1/' </proc/cmdline vmlinuz-2.4.0-test8-pre1--00 and [jbglaw@air:/home/jbglaw] $> sed '/.*bootdevice=\([^ ]*\).*/s//\1/' </proc/cmdline sda1 MfG, JBG -- Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!! /* Jan-Benedict Glaw <[EMAIL PROTECTED]> -- +49-177-5601720 */ keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB "insmod vi.o and there we go..." (Alexander Viro on linux-kernel)
- Re: [PATCH] 2.2: /proc/config... Werner Almesberger
- Re: [PATCH] 2.2: /proc/config... Philipp Rumpf
- Re: [PATCH] 2.2: /proc/config... Werner Almesberger
- Re: [PATCH] 2.2: /proc/config... Philipp Rumpf
- Re: [PATCH] 2.2: /proc/config... Philipp Rumpf
- Re: [PATCH] 2.2: /proc/config... Werner Almesberger
- Re: [PATCH] 2.2: /proc/config... Philipp Rumpf
- Re: [PATCH] 2.2: /proc/config... CaT
- Re: [PATCH] 2.2: /proc/config... Timur Tabi
- Re: [PATCH] 2.2: /proc/config.gz almesber
- Re: [PATCH] 2.2: /proc/config... Jan-Benedict Glaw
- Re: [PATCH] 2.2: /proc/config... almesber
- Re: [PATCH] 2.2: /proc/config.gz Albert D. Cahalan
- Re: [PATCH] 2.2: /proc/config.gz Alan Cox
- Re: [PATCH] 2.2: /proc/config.gz Jamie Lokier
- Re: [PATCH] 2.2: /proc/config.gz Daniel Phillips
- Re: [PATCH] 2.2: /proc/config.gz Ville Herva
- Re: [PATCH] 2.2: /proc/config.gz Pavel Machek
- Re: [PATCH] 2.2: /proc/config.gz Oliver Xymoron
- Re: [PATCH] 2.2: /proc/config.gz Paul Jakma
- Re: [PATCH] 2.2: /proc/config.gz Robert Greimel