Hi sx The params in /proc/cmdline should be passed by kernel args.
Your can check /etc/grub.conf For example : xxx=xxx are kernel args kernel /vmlinuz-2.6.32-220.17.1.el6.x86_64 ro root=/dev/mapper/vg_labhowie-lv_root rd_NO_LUKS rhgb LANG=zh_TW.UTF-8 rd_NO_MD quiet rd_LVM_LV=vg_labhowie/lv_swap crashkernel=auto rd_LVM_LV=vg_labhowie/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM SYSFONT=latarcyrheb-sun16 console=ttyS0 This may help. On 12/12/13 下午4:04, "sx chen" <cloudchen0...@gmail.com> 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. <table class="TM_EMAIL_NOTICE"><tr><td><pre> TREND MICRO EMAIL NOTICE The information contained in this email and any attachments is confidential 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 mail or telephone and delete the original message from your mail system. </pre></td></tr></table>