diff for duplicates of <20051102020156.GA17330@us.ibm.com> diff --git a/a/1.txt b/N1/1.txt index d688d45..196ffc2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -6,10 +6,10 @@ On Wed, Nov 02, 2005 at 02:06:15AM +0100, Kay Sievers wrote: > Right, it wouldn't work. > > You want this: -> ENV{ID_FULL_PATH}=="disk/by-id/scsi-360a98000686f68656c6e7a416f4b6849" SYMLINK+="media-files" +> ENV{ID_FULL_PATH}="disk/by-id/scsi-360a98000686f68656c6e7a416f4b6849" SYMLINK+="media-files" > > but why don't you just do: -> ENV{ID_BUS}=="scsi", ENV{ID_SERIAL}=="360a98000686f68656c6e7a416f4b6849", SYMLINK+="media-files" +> ENV{ID_BUS}="scsi", ENV{ID_SERIAL}="360a98000686f68656c6e7a416f4b6849", SYMLINK+="media-files" > > The second already works, is independent from all other rules and I think > is simpler. @@ -26,11 +26,11 @@ adding back a device? Using ID_BUS and ID_SERIAL via the following lines like this works: -KERNEL=="sd*[!0-9]", ENV{ID_BUS}=="scsi" ENV{ID_SERIAL}=="360a98000686f68656c6e7a416f4b6849", SYMLINK+="user/databaseA" -KERNEL=="sd*[0-9]|dasd*[0-9]", ENV{ID_SERIAL}=="360a98000686f68656c6e7a416f4b6849", SYMLINK+="user/databaseA-part%n" +KERNEL="sd*[!0-9]", ENV{ID_BUS}="scsi" ENV{ID_SERIAL}="360a98000686f68656c6e7a416f4b6849", SYMLINK+="user/databaseA" +KERNEL="sd*[0-9]|dasd*[0-9]", ENV{ID_SERIAL}="360a98000686f68656c6e7a416f4b6849", SYMLINK+="user/databaseA-part%n" -KERNEL=="sd*[!0-9]", ENV{ID_BUS}=="scsi" ENV{ID_SERIAL}=="360a98000686f68656c6e7a416f4b2f55", SYMLINK+="user/databaseB" -KERNEL=="sd*[0-9]", ENV{ID_SERIAL}=="360a98000686f68656c6e7a416f4b2f55", SYMLINK+="user/databaseB-part%n" +KERNEL="sd*[!0-9]", ENV{ID_BUS}="scsi" ENV{ID_SERIAL}="360a98000686f68656c6e7a416f4b2f55", SYMLINK+="user/databaseB" +KERNEL="sd*[0-9]", ENV{ID_SERIAL}="360a98000686f68656c6e7a416f4b2f55", SYMLINK+="user/databaseB-part%n" Adding the devices then creates: @@ -50,3 +50,7 @@ SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php +_______________________________________________ +Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net +Linux-hotplug-devel@lists.sourceforge.net +https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel diff --git a/a/content_digest b/N1/content_digest index 91b50d4..cbde993 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\020051102010615.GA18684@vrfy.org\0" "From\0Patrick Mansfield <patmans@us.ibm.com>\0" "Subject\0Re: udev user specified or human readable /dev names\0" - "Date\0Tue, 1 Nov 2005 18:01:56 -0800\0" + "Date\0Wed, 02 Nov 2005 02:01:56 +0000\0" "To\0Kay Sievers <kay.sievers@vrfy.org>\0" "Cc\0linux-hotplug-devel@lists.sourceforge.net" " dm-devel@redhat.com\0" @@ -18,10 +18,10 @@ "> Right, it wouldn't work.\n" "> \n" "> You want this:\n" - "> ENV{ID_FULL_PATH}==\"disk/by-id/scsi-360a98000686f68656c6e7a416f4b6849\" SYMLINK+=\"media-files\"\n" + "> ENV{ID_FULL_PATH}=\"disk/by-id/scsi-360a98000686f68656c6e7a416f4b6849\" SYMLINK+=\"media-files\"\n" "> \n" "> but why don't you just do:\n" - "> ENV{ID_BUS}==\"scsi\", ENV{ID_SERIAL}==\"360a98000686f68656c6e7a416f4b6849\", SYMLINK+=\"media-files\"\n" + "> ENV{ID_BUS}=\"scsi\", ENV{ID_SERIAL}=\"360a98000686f68656c6e7a416f4b6849\", SYMLINK+=\"media-files\"\n" "> \n" "> The second already works, is independent from all other rules and I think\n" "> is simpler.\n" @@ -38,11 +38,11 @@ "\n" "Using ID_BUS and ID_SERIAL via the following lines like this works:\n" "\n" - "KERNEL==\"sd*[!0-9]\", ENV{ID_BUS}==\"scsi\" ENV{ID_SERIAL}==\"360a98000686f68656c6e7a416f4b6849\", SYMLINK+=\"user/databaseA\"\n" - "KERNEL==\"sd*[0-9]|dasd*[0-9]\", ENV{ID_SERIAL}==\"360a98000686f68656c6e7a416f4b6849\", SYMLINK+=\"user/databaseA-part%n\"\n" + "KERNEL=\"sd*[!0-9]\", ENV{ID_BUS}=\"scsi\" ENV{ID_SERIAL}=\"360a98000686f68656c6e7a416f4b6849\", SYMLINK+=\"user/databaseA\"\n" + "KERNEL=\"sd*[0-9]|dasd*[0-9]\", ENV{ID_SERIAL}=\"360a98000686f68656c6e7a416f4b6849\", SYMLINK+=\"user/databaseA-part%n\"\n" "\n" - "KERNEL==\"sd*[!0-9]\", ENV{ID_BUS}==\"scsi\" ENV{ID_SERIAL}==\"360a98000686f68656c6e7a416f4b2f55\", SYMLINK+=\"user/databaseB\"\n" - "KERNEL==\"sd*[0-9]\", ENV{ID_SERIAL}==\"360a98000686f68656c6e7a416f4b2f55\", SYMLINK+=\"user/databaseB-part%n\"\n" + "KERNEL=\"sd*[!0-9]\", ENV{ID_BUS}=\"scsi\" ENV{ID_SERIAL}=\"360a98000686f68656c6e7a416f4b2f55\", SYMLINK+=\"user/databaseB\"\n" + "KERNEL=\"sd*[0-9]\", ENV{ID_SERIAL}=\"360a98000686f68656c6e7a416f4b2f55\", SYMLINK+=\"user/databaseB-part%n\"\n" "\n" "Adding the devices then creates:\n" "\n" @@ -61,6 +61,10 @@ "SF.Net email is sponsored by:\n" "Tame your development challenges with Apache's Geronimo App Server. Download\n" "it for free - -and be entered to win a 42\" plasma tv or your very own\n" - Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php + "Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php\n" + "_______________________________________________\n" + "Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net\n" + "Linux-hotplug-devel@lists.sourceforge.net\n" + https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel -db505ae674078cadc6cdd4722796e25084b2869853962e77a5495a1c1bddecfb +f143d15a0f8cae35ef62f2f3d72565e60fb51121c594d1e2a00d45771bab236f
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.