mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-01-22 00:04:31 +03:00
1c2cb80376
- include rules file in rpmspec - update install docs with udev build requirement Signed-off-by: Alexander Fougner <fougner89@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
14 lines
640 B
Plaintext
14 lines
640 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (C) 2024 Oracle. All rights reserved.
|
|
# Author: Darrick J. Wong <djwong@kernel.org>
|
|
#
|
|
# Don't let udisks automount bcachefs 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}=="bcachefs", ENV{UDISKS_AUTO}="0"
|