文件操作 - list_devices.py
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/python-blivet-0.61.15.76/examples/list_devices.py
编辑文件内容
from common import print_devices import blivet from blivet.util import set_up_logging set_up_logging() b = blivet.Blivet() # create an instance of Blivet b.reset() # detect system storage configuration print_devices(b)
修改文件时间
将文件时间修改为当前时间的前一年
删除文件