我正在使用parted
分区一个/dev/mapper/luks_device
. 我知道之后我必须使用kpartx
加载分区映射(参考这个线程)。但是,在parted
by创建分区时mkpart swap 1 500
,我像往常一样收到以下错误。
(parted) mkpart swap 1 500
Error: Partition(s) 1 on /dev/mapper/luks_device have been written, but we have been
unable to inform the kernel of the change, probably because it/they are in use. As a
result, the old partition(s) will remain in use. You should reboot now before making
further changes.
Ignore/Cancel?
忽略和取消是什么意思?他们有什么区别?即使我键入“取消”,仍然会创建分区。