简体   繁体   中英

Know from which device the Linux kernel booted

我如何知道Linux内核从哪个设备引导?

mount

除非该命令为/ boot指定设备,否则您可以假定它在/上。

In fact, something like that http://lkml.org/lkml/2003/12/19/139 can satisfy me. But a simplier way will be appreciate.

cat /proc/cmdline 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM