diff for duplicates of <20051102010615.GA18684@vrfy.org> diff --git a/a/1.txt b/N1/1.txt index 62fcb8e..ae1200f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -4,7 +4,7 @@ On Tue, Nov 01, 2005 at 04:35:31PM -0800, Patrick Mansfield wrote: > > > > If we could set and compare environment variables > > -> > Sure we can do that with ENV. '=' sets, '==' compares. +> > Sure we can do that with ENV. '=' sets, '=' compares. > > > > > or compare SYMLINK, > > @@ -13,7 +13,7 @@ On Tue, Nov 01, 2005 at 04:35:31PM -0800, Patrick Mansfield wrote: > > Yes, perhaps: > -> SYMLINK == "* disk/by-id/scsi-360a98000686f68656c6e7a416f4b6849 *" SYMLINK+="user/name" +> SYMLINK = "* disk/by-id/scsi-360a98000686f68656c6e7a416f4b6849 *" SYMLINK+="user/name" > > I like the above better than using other env variables, it is easier to > read. @@ -30,8 +30,8 @@ On Tue, Nov 01, 2005 at 04:35:31PM -0800, Patrick Mansfield wrote: > > > > > > Then, we could have rules like: > > > -> > > KERNEL=="sd*[!0-9]|sr*|dasd*[!0-9]", ENV{ID_SERIAL}=="?*", ENV{ID_FULL_PATH}="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}" -> > > ENV{ID_FULL_PATH}=="?*", SYMLINK+="$env{ID_FULL_PATH}" +> > > KERNEL="sd*[!0-9]|sr*|dasd*[!0-9]", ENV{ID_SERIAL}="?*", ENV{ID_FULL_PATH}="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}" +> > > ENV{ID_FULL_PATH}="?*", SYMLINK+="$env{ID_FULL_PATH}" > > > > Hmm, why this indirection? Can't you just use ID_SERIAL and ID_BUS in > > the second rule again? @@ -55,17 +55,17 @@ that reason. :) 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. > > > Running with udev 069 on FC rawhide, with these rules: > > > -> > > SYMLINK=="*foo*" SYMLINK+="user/bar" +> > > SYMLINK="*foo*" SYMLINK+="user/bar" > > > > SYMLINK lists can't be matched until now. > @@ -78,7 +78,7 @@ No, there is no change in the current udev. > > > > The value does not get expanded at the time you assign it, so the later compare > > will look like: -> > 'somevalue' == '$env{VAL1}' +> > 'somevalue' = '$env{VAL1}' > > > > which does not match. > @@ -96,3 +96,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 6193083..fcc39b3 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\020051102003531.GA15854@us.ibm.com\0" "From\0Kay Sievers <kay.sievers@vrfy.org>\0" "Subject\0Re: udev user specified or human readable /dev names\0" - "Date\0Wed, 2 Nov 2005 02:06:15 +0100\0" + "Date\0Wed, 02 Nov 2005 01:06:15 +0000\0" "To\0Patrick Mansfield <patmans@us.ibm.com>\0" "Cc\0linux-hotplug-devel@lists.sourceforge.net" " dm-devel@redhat.com\0" @@ -15,7 +15,7 @@ "> \n" "> > > If we could set and compare environment variables\n" "> > \n" - "> > Sure we can do that with ENV. '=' sets, '==' compares.\n" + "> > Sure we can do that with ENV. '=' sets, '=' compares.\n" "> > \n" "> > > or compare SYMLINK,\n" "> > \n" @@ -24,7 +24,7 @@ "> \n" "> Yes, perhaps:\n" "> \n" - "> SYMLINK == \"* disk/by-id/scsi-360a98000686f68656c6e7a416f4b6849 *\" SYMLINK+=\"user/name\"\n" + "> SYMLINK = \"* disk/by-id/scsi-360a98000686f68656c6e7a416f4b6849 *\" SYMLINK+=\"user/name\"\n" "> \n" "> I like the above better than using other env variables, it is easier to\n" "> read.\n" @@ -41,8 +41,8 @@ "> > > \n" "> > > Then, we could have rules like:\n" "> > > \n" - "> > > KERNEL==\"sd*[!0-9]|sr*|dasd*[!0-9]\", ENV{ID_SERIAL}==\"?*\", ENV{ID_FULL_PATH}=\"disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}\"\n" - "> > > ENV{ID_FULL_PATH}==\"?*\", SYMLINK+=\"$env{ID_FULL_PATH}\"\n" + "> > > KERNEL=\"sd*[!0-9]|sr*|dasd*[!0-9]\", ENV{ID_SERIAL}=\"?*\", ENV{ID_FULL_PATH}=\"disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}\"\n" + "> > > ENV{ID_FULL_PATH}=\"?*\", SYMLINK+=\"$env{ID_FULL_PATH}\"\n" "> > \n" "> > Hmm, why this indirection? Can't you just use ID_SERIAL and ID_BUS in\n" "> > the second rule again?\n" @@ -66,17 +66,17 @@ "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" "\n" "> > > Running with udev 069 on FC rawhide, with these rules:\n" "> > > \n" - "> > > SYMLINK==\"*foo*\" SYMLINK+=\"user/bar\"\n" + "> > > SYMLINK=\"*foo*\" SYMLINK+=\"user/bar\"\n" "> > \n" "> > SYMLINK lists can't be matched until now.\n" "> \n" @@ -89,7 +89,7 @@ "> > \n" "> > The value does not get expanded at the time you assign it, so the later compare\n" "> > will look like:\n" - "> > 'somevalue' == '$env{VAL1}'\n" + "> > 'somevalue' = '$env{VAL1}'\n" "> > \n" "> > which does not match.\n" "> \n" @@ -106,6 +106,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 -439afbcde22f97521b7abc02b46c40dc9ee2aea8e58d15c022038d2cf58ba19a +4675a23709cdc42dc7b58ef83d0d4a54a8726ef793fe092097a7fb67fe3ddd65
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.