如果我有一个包含
manual
/lib/plymouth/themes/default.plymouth
/lib/plymouth/themes/spinfinity/spinfinity.plymouth
10
/lib/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth
100
然后我打开它
a
模式,然后执行
fprintf(f, "/el/derpito.plymouth\n100\n");
为什么文件现在包含这个?
manual
/lib/plymouth/themes/default.plymouth
/lib/plymouth/themes/spinfinity/spinfinity.plymouth
10
/lib/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth
100
/el/derpito.plymouth
100
我希望文件是这样的:
manual
/lib/plymouth/themes/default.plymouth
/lib/plymouth/themes/spinfinity/spinfinity.plymouth
10
/lib/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth
100
/el/derpito.plymouth
100