Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6F74DBD9 for ; Thu, 13 Dec 2012 13:03:05 +0000 (UTC) Received: (qmail 93823 invoked by uid 500); 13 Dec 2012 13:03:05 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 93681 invoked by uid 500); 13 Dec 2012 13:03:02 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 93664 invoked by uid 99); 13 Dec 2012 13:03:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 13:03:02 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cloudchen0620@gmail.com designates 209.85.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vb0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 13:02:57 +0000 Received: by mail-vb0-f47.google.com with SMTP id e21so2110122vbm.6 for ; Thu, 13 Dec 2012 05:02:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=pi4hPk94cWRzpY6TnjUBrh3e09jgjVL/OrpaKCLskP0=; b=vhj+3EYq0pBbNeLnVvT1o0Vb43h9B2NqD/VupGrGQ6Eepo//wqV9MP+KZFvzwLjho3 jYM/uOgEcAqeo3dzxPt4TlGOIH7vhnU3g02Kj5piKg0CfUUuw4/AO1Hl/r+jLaz8HOK+ 0FKnf8D3Jqc5yU7vrCrjW1SuILY64ACPIn6Oa5C+JLQ+KK85MBonMj2Zmy6+F699xBaF i/5JvtFDWVTEk9s9LNeKXaUwxZCkQ2x4lk1gR6u9c/Bvy4T0WIZKcDiGc01W+wXsJC35 tjXkdC3Lj1IOgTO2sXXshDYOmmhX9cMo0qqY431d5ZmYYZ5fKQ32npmZIcg5og0zM64d 8V3A== MIME-Version: 1.0 Received: by 10.52.21.146 with SMTP id v18mr2603438vde.79.1355403756298; Thu, 13 Dec 2012 05:02:36 -0800 (PST) Received: by 10.220.158.77 with HTTP; Thu, 13 Dec 2012 05:02:35 -0800 (PST) In-Reply-To: References: Date: Thu, 13 Dec 2012 21:02:35 +0800 Message-ID: Subject: Re: where does the params in systemvm's /proc/cmdline come from? From: sx chen To: cloudstack-users@incubator.apache.org Content-Type: multipart/alternative; boundary=20cf307ca38e6be17a04d0bb875c X-Virus-Checked: Checked by ClamAV on apache.org --20cf307ca38e6be17a04d0bb875c Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Thanks howie, I want to know where does these parameter passed by: quiet console=3Dhvc0%template=3DdomP%type=3Ddhcpsrvr%%name=3Dr-6-VM%eth0ip= =3D10.1.2.1%eth0mask=3D255.255.255.0%gateway=3D10.1.2.254%eth1ip=3D169.254.= 1.181%eth1mask=3D255.255.0.0%dhcprange=3D10.1.2.1%dns1=3D192.168.3.254%usee= xtdns=3Dtrue root@r-6-VM:~# cat /proc/cmdline root=3DLABEL=3DROOT ro console=3Dtty0 xencons=3DttyS0,115200 console=3Dhvc0 quiet -- quiet console=3Dhvc0%template=3DdomP%type=3Ddhcpsrvr%%name=3Dr-6-VM%eth0ip=3D10.1= .2.1%eth0mask=3D255.255.255.0%gateway=3D10.1.2.254%eth1ip=3D169.254.1.181%e= th1mask=3D255.255.0.0%dhcprange=3D10.1.2.1%dns1=3D192.168.3.254%useextdns= =3Dtrue 2012/12/13 howie_yu@trend.com.tw > Hi sx > > The params in /proc/cmdline should be passed by kernel args. > > Your can check /etc/grub.conf > > For example : xxx=3Dxxx are kernel args > > kernel /vmlinuz-2.6.32-220.17.1.el6.x86_64 ro > root=3D/dev/mapper/vg_labhowie-lv_root rd_NO_LUKS rhgb LANG=3Dzh_TW.UTF-8 > rd_NO_MD quiet rd_LVM_LV=3Dvg_labhowie/lv_swap crashkernel=3Dauto > rd_LVM_LV=3Dvg_labhowie/lv_root KEYBOARDTYPE=3Dpc KEYTABLE=3Dus rd_NO_DM > SYSFONT=3Dlatarcyrheb-sun16 console=3DttyS0 > > This may help. > > On 12/12/13 =CF=C2=CE=E74:04, "sx chen" wrote: > > >hi: > > all, > > I've search the code using "/proc/cmdline" and can't find anything > >useful, > >But I want to know where does the params in this file come from. > > Thanks. > > >
> TREND MICRO EMAIL NOTICE
> The information contained in this email and any attachments is confidenti=
al
> and may be subject to copyright or other intellectual property protection=
.
> If you are not the intended recipient, you are not authorized to use or
> disclose this information, and we request that you notify us by reply mai=
l
> or
> telephone and delete the original message from your mail system.
> 
--20cf307ca38e6be17a04d0bb875c--