文件操作 - super.h
返回文件管理
返回主菜单
删除本文件
文件: /usr/src/kernels/4.18.0-553.144.1.el8_10.x86_64/include/linux/mtd/super.h
编辑文件内容
/* MTD-based superblock handling * * Copyright © 2006 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #ifndef __MTD_SUPER_H__ #define __MTD_SUPER_H__ #ifdef __KERNEL__ #include <linux/mtd/mtd.h> #include <linux/fs.h> #include <linux/mount.h> extern int get_tree_mtd(struct fs_context *fc, int (*fill_super)(struct super_block *sb, struct fs_context *fc)); extern void kill_mtd_super(struct super_block *sb); #endif /* __KERNEL__ */ #endif /* __MTD_SUPER_H__ */
修改文件时间
将文件时间修改为当前时间的前一年
删除文件