]> git.proxmox.com Git - zfsonlinux.git/blob - zfs-patches/0002-import-with-d-dev-disk-by-id-in-scan-service.patch
bump version to 0.7.11-pve1~bpo1
[zfsonlinux.git] / zfs-patches / 0002-import-with-d-dev-disk-by-id-in-scan-service.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
3 Date: Mon, 24 Oct 2016 13:47:06 +0200
4 Subject: [PATCH] import with -d /dev/disk/by-id in scan service
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
10 ---
11 etc/systemd/system/zfs-import-scan.service.in | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/etc/systemd/system/zfs-import-scan.service.in b/etc/systemd/system/zfs-import-scan.service.in
15 index abc8e8e6..8fe2c107 100644
16 --- a/etc/systemd/system/zfs-import-scan.service.in
17 +++ b/etc/systemd/system/zfs-import-scan.service.in
18 @@ -12,7 +12,7 @@ ConditionPathExists=!@sysconfdir@/zfs/zpool.cache
19 Type=oneshot
20 RemainAfterExit=yes
21 ExecStartPre=-/sbin/modprobe zfs
22 -ExecStart=@sbindir@/zpool import -aN -o cachefile=none
23 +ExecStart=@sbindir@/zpool import -aN -d /dev/disk/by-id -o cachefile=none
24
25 [Install]
26 WantedBy=zfs-import.target
27 --
28 2.11.0
29