zfs: Don't look for devices only in /dev

If we don't give out a directory to 'zpool import', it will use libblkid
to automatically find all existing ZFS devices.
This commit is contained in:
Ricardo M. Correia 2014-01-16 21:37:44 +01:00
parent e0fe5e7c38
commit 02e2431661

View file

@ -60,7 +60,7 @@ in
''; '';
postDeviceCommands = postDeviceCommands =
'' ''
zpool import -f -a -d /dev zpool import -f -a
''; '';
}; };
@ -71,7 +71,7 @@ in
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = true; RemainAfterExit = true;
restartIfChanged = false; restartIfChanged = false;
ExecStart = "${kernel.zfs}/sbin/zpool import -f -a -d /dev"; ExecStart = "${kernel.zfs}/sbin/zpool import -f -a";
}; };
}; };