sudo update-initramfs -u 这个命令是干啥的
Tofloor
poster avatar
leonardo520
deepin
2018-02-16 21:37
Author
sudo update-initramfs -u 这个命令是干啥的
Reply Favorite View the author
All Replies
Bad-Pig
deepin
2018-02-17 01:41
#1
The update-initramfs script manages your initramfs images on your local box.  It keeps track of the
       existing initramfs archives in /boot.  There are three modes of operation create, update or delete.
       You must at least specify one of those modes.

       The  initramfs  is  a gzipped cpio archive.  At boot time, the kernel unpacks that archive into RAM
       disk, mounts and uses it as initial root file system. All finding of the  root  device  happens  in
       this early userspace.

-u    This mode updates an existing initramfs.

来自man
Reply View the author
Bad-Pig
deepin
2018-02-17 01:42
#2
update-initramfs脚本管理本地盒子上的initramfs映像。
它保持跟踪
现有的initramfs归档在/ boot中。
有三种操作模式创建,更新或删除。
您至少必须指定其中一种模式。
initramfs是一个gzip压缩文件。
在引导时,内核将该存档解压缩为ram
磁盘,装载并将其用作初始根文件系统。
所有发现根设备都发生在
这个早期的用户空间。
-u此模式更新现有的initramfs。
                                           -------------Google翻译
Reply View the author