From 5af2b1b580392c85799759cb11b897b90575d190 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Thu, 7 May 2009 04:24:45 +0000 Subject: [PATCH] Allow by-label mounting of root on removable device in the drive which does not report media change. svn path=/nixos/trunk/; revision=15480 --- boot/boot-stage-1.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/boot-stage-1.nix b/boot/boot-stage-1.nix index c37ca27d6b1..070644cadee 100644 --- a/boot/boot-stage-1.nix +++ b/boot/boot-stage-1.nix @@ -124,6 +124,7 @@ rec { --replace scsi_id ${extraUtils}/bin/scsi_id \ --replace path_id ${extraUtils}/bin/path_id \ --replace vol_id ${extraUtils}/bin/vol_id + sed -e '/^ENV[{]DEVTYPE[}]=="disk", .*GOTO/d' -i $out/60-persistent-storage.rules ''; # */ };