首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >哪个命令在启动板上获取udevdb.txt文件?

哪个命令在启动板上获取udevdb.txt文件?
EN

Ask Ubuntu用户
提问于 2017-08-21 21:28:48
回答 2查看 116关注 0票数 5

当我运行ubuntu-bugapport-collect时,会将一个列出所有设备的udevdb.txt文件上传到Launchpad。

如果不使用Launchpad,我如何获得这个文件?

EN

回答 2

Ask Ubuntu用户

回答已采纳

发布于 2018-04-04 00:57:57

Apport使用的命令是:udevadm info --export-db

请参阅attach_hardware函数中的/usr/lib/python3/dist-packages/apport/hookutils.py。它也对分区标签进行了一些匿名化,但如果您只是在本地分析输出,这并不重要。

票数 4
EN

Ask Ubuntu用户

发布于 2017-08-21 22:54:41

我从未使用过apport-collect,但从man页面可以使用apport-cli获得所需的内容:

代码语言:javascript
复制
apport-cli [ --save file ] 

摘录自man apport-cli

-保存文件名

代码语言:javascript
复制
          In  --file-bug  mode, save the collected information into a file
          instead of reporting it. This file can  then  be  reported  with
          --crash-file later on.

用法:

代码语言:javascript
复制
apport-cli [ --save file ] symptom | pid | package | program path | .apport/.crash file
票数 3
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/948464

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档