文件操作 - container.h
返回文件管理
返回主菜单
删除本文件
文件: /usr/src/kernels/4.18.0-553.124.4.el8_10.x86_64/include/linux/container.h
编辑文件内容
/* * Definitions for container bus type. * * Copyright (C) 2013, Intel Corporation * Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/device.h> /* drivers/base/power/container.c */ extern struct bus_type container_subsys; struct container_dev { struct device dev; int (*offline)(struct container_dev *cdev); }; static inline struct container_dev *to_container_dev(struct device *dev) { return container_of(dev, struct container_dev, dev); }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件