Re: parsing /proc/cmdline

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



It's Saturday A.M, so please forgive me.

On Fri, 2008-03-07 at 10:54 -0500, Filipe Brandenburger wrote:
> On Fri, Mar 7, 2008 at 10:35 AM, Jerry Geis <geisj@xxxxxxxxxxxxxxx> wrote:
> >  If /proc/cmdline looks like
> >
> >  option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3 option 4 ...
> >
> >  How can I get the 192.168.1.8 out of this cmdline.

A 12 gage shotgun ought to get the job done!  

> 
> Cryptic but does the job:
> <snip>

Seriously, by the time I got to this thread, answers had flowed like
river water, so that left only my perverse sense of humor in play.

-- 
Bill

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux