Linux2009. 3. 25. 18:56
/proc/cmdline
를 열어 보면 된다.

 FC6 on notebook

$ more /proc/cmdline
ro root=/dev/VolGroup00/LogVol00 rhgb quiet


[발견 : http://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-access-bootargs-from-inside-the-kernel-692870/]



5.2. Top-level Files within the proc File System

Below is a list of some of the more useful virtual files in the top-level of the /proc/ directory.


5.2.2. /proc/cmdline

This file shows the parameters passed to the kernel at the time it is started. A sample /proc/cmdline file looks like the following:

ro root=/dev/hda2

This tells us that the kernel is mounted read-only (signified by (ro)) off of the second partition on the first IDE device (/dev/hda2).


[참고 : https://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/ref-guide/s1-proc-topfiles.html]

위의 링크는 각종 /proc 파일 시스템에 존재하는 파일들에 대한 내용을 담고 있다(아싸 득템!)

'Linux' 카테고리의 다른 글

lspci - list all PCI devices  (0) 2009.04.06
gdm.conf에 XDMCP 설정하기  (2) 2009.03.25
리눅스 배포본/배포판 만들기  (0) 2009.03.17
fs:msdos 8.3형식으로 mount  (2) 2009.03.16
syslinux / syslinux.cfg  (1) 2009.03.15
Posted by 구차니