文件操作 - 64-xfs.rules
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/udev/rules.d/64-xfs.rules
编辑文件内容
# SPDX-License-Identifier: GPL-2.0-or-later # # Copyright (C) 2023 Oracle. All rights reserved. # Author: Darrick J. Wong <djwong@kernel.org> # # Don't let udisks automount XFS filesystems without even asking a user. # This doesn't eliminate filesystems as an attack surface; it only prevents # evil maid attacks when all sessions are locked. # # According to http://storaged.org/doc/udisks2-api/latest/udisks.8.html, # supplying UDISKS_AUTO=0 here changes the HintAuto property of the block # device abstraction to mean "do not automatically start" (e.g. mount). SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="xfs|xfs_external_log", ENV{UDISKS_AUTO}="0"
修改文件时间
将文件时间修改为当前时间的前一年
删除文件