✏️ 编辑:nvmf-connect-nbft.service
路径:
/usr/lib/systemd/system/nvmf-connect-nbft.service
大小:778 B · 修改:2026-04-08 19:02:02 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
# This unit is meant to be started by network management software # after a network interface defined in the NBFT gets set up [Unit] Description=Connect NBFT-defined NVMe-oF subsystems automatically ConditionPathExists=|/sys/firmware/acpi/tables/NBFT ConditionPathExists=|/sys/firmware/acpi/tables/NBFT1 Wants=modprobe@nvme_fabrics.service After=modprobe@nvme_fabrics.service After=network-online.target Before=remote-fs-pre.target [Service] ProtectSystem=full ProtectHome=true ProtectHostname=true ProtectKernelModules=true ProtectKernelLogs=true ProtectControlGroups=true ProtectProc=invisible RestrictRealtime=true LockPersonality=yes MemoryDenyWriteExecute=yes RemoveIPC=yes RestrictAddressFamilies=AF_INET AF_INET6 Type=oneshot ExecStart=/usr/sbin/nvme connect-all --nbft
💾 保存
取消
保存为 UTF-8,换行统一为 LF