为什么 /etc/cups 中有 .O 文件?

Eri*_*ric 1 cups raspberry-pi

我一直在研究 Raspberry Pi 上的一个项目,该项目需要非常频繁地添加/删除打印机(主要是因为所有驱动程序都有问题,但这是另一回事)。

我注意到,/etc/cups我有很多.O文件复制了其他一些配置,并且似乎有来自以前删除的打印机的数据,但在 cups 网络界面中,这些数据都不存在。

这些 *.o 文件是什么 删除它们是否安全?

total 92
drwxr-xr-x   5 root lp    4096 Sep 24 10:01 .
drwxr-xr-x 114 root root  4096 Sep 21 20:02 ..
-rw-------   1 root lp     108 Sep 21 16:42 classes.conf
-rw-------   1 root lp     108 Sep 21 16:25 classes.conf.O
-rw-r--r--   1 root root 16433 Jun 12  2017 cups-browsed.conf
-rw-r-----   1 root lp    3233 Sep 21 16:55 cupsd.conf
-rw-r--r--   1 root root  4629 Sep 17 15:01 cupsd.conf.O
-rw-r--r--   1 root root  2931 Jul 11 04:29 cups-files.conf
drwxr-xr-x   2 root root  4096 Jul 11 04:29 interfaces
drwxr-xr-x   2 root lp    4096 Sep 24 09:26 ppd
-rw-------   1 root lp     110 Sep 24 09:27 printers.conf
-rw-------   1 root lp     483 Sep 24 06:25 printers.conf.O
-rw-r--r--   1 root root   240 Sep 17 15:01 raw.convs
-rw-r--r--   1 root root   211 Sep 17 15:01 raw.types
-rw-r--r--   1 root root   142 Jul 11 04:29 snmp.conf
drwx------   2 root lp    4096 Sep 17 15:01 ssl
-rw-r-----   1 root lp     381 Sep 24 10:01 subscriptions.conf
-rw-r-----   1 root lp      91 Sep 24 10:00 subscriptions.conf.O
Run Code Online (Sandbox Code Playgroud)

Ark*_*zyk 5

我认为.O代表oldfile如下所示cups/scheduler/file.c

oldfile[1024];          /* filename.O */
Run Code Online (Sandbox Code Playgroud)

IIUC,这些文件只是旧设置的备份。因此,它们应该可以安全移除。