diff for duplicates of <20051102025345.GA19174@vrfy.org> diff --git a/a/1.txt b/N1/1.txt index 2bf8873..9baeb71 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -7,10 +7,10 @@ On Tue, Nov 01, 2005 at 06:01:56PM -0800, Patrick Mansfield 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. @@ -37,7 +37,7 @@ hotplug event again, this could be used to create additional configured links. Also: - ACTION=add DEVPATH=/block/sdm /sbin/udev block + ACTIONd DEVPATH=/block/sdm /sbin/udev block would do it. Or do you mean adding a link temporarily, so that it get tracked and @@ -45,11 +45,11 @@ removed when the device goes away? > 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: > @@ -64,11 +64,11 @@ removed when the device goes away? If you get a buch of these rules, it may be easier to enclose them like this: KERNEL!="sd*[!0-9]|dasd*[0-9]", GOTO="custom_end" - ENV{ID_SERIAL}=="360a98000686f68656c6e7a416f4b2f55", SYMLINK+="user/databaseA-part%n" - ENV{ID_SERIAL}=="360a98000686f68656c6e7a416f4b2f56", SYMLINK+="user/databaseB-part%n" - ENV{ID_SERIAL}=="360a98000686f68656c6e7a416f4b2f57", SYMLINK+="user/databaseC-part%n" - ENV{ID_SERIAL}=="360a98000686f68656c6e7a416f4b2f58", SYMLINK+="user/databaseE-part%n" - ENV{ID_SERIAL}=="360a98000686f68656c6e7a416f4b2f59", SYMLINK+="user/databaseF-part%n" + ENV{ID_SERIAL}="360a98000686f68656c6e7a416f4b2f55", SYMLINK+="user/databaseA-part%n" + ENV{ID_SERIAL}="360a98000686f68656c6e7a416f4b2f56", SYMLINK+="user/databaseB-part%n" + ENV{ID_SERIAL}="360a98000686f68656c6e7a416f4b2f57", SYMLINK+="user/databaseC-part%n" + ENV{ID_SERIAL}="360a98000686f68656c6e7a416f4b2f58", SYMLINK+="user/databaseE-part%n" + ENV{ID_SERIAL}="360a98000686f68656c6e7a416f4b2f59", SYMLINK+="user/databaseF-part%n" LABEL="custom_end" Kay @@ -79,3 +79,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 43e9294..b835288 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -5,7 +5,7 @@ "ref\020051102020156.GA17330@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 03:53:45 +0100\0" + "Date\0Wed, 02 Nov 2005 02:53:45 +0000\0" "To\0Patrick Mansfield <patmans@us.ibm.com>\0" "Cc\0linux-hotplug-devel@lists.sourceforge.net" " dm-devel@redhat.com\0" @@ -20,10 +20,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" @@ -50,7 +50,7 @@ "links.\n" "\n" "Also:\n" - " ACTION=add DEVPATH=/block/sdm /sbin/udev block\n" + " ACTION\302\255d DEVPATH=/block/sdm /sbin/udev block\n" "would do it.\n" "\n" "Or do you mean adding a link temporarily, so that it get tracked and\n" @@ -58,11 +58,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" @@ -77,11 +77,11 @@ "If you get a buch of these rules, it may be easier to enclose them like this:\n" "\n" " KERNEL!=\"sd*[!0-9]|dasd*[0-9]\", GOTO=\"custom_end\"\n" - " ENV{ID_SERIAL}==\"360a98000686f68656c6e7a416f4b2f55\", SYMLINK+=\"user/databaseA-part%n\"\n" - " ENV{ID_SERIAL}==\"360a98000686f68656c6e7a416f4b2f56\", SYMLINK+=\"user/databaseB-part%n\"\n" - " ENV{ID_SERIAL}==\"360a98000686f68656c6e7a416f4b2f57\", SYMLINK+=\"user/databaseC-part%n\"\n" - " ENV{ID_SERIAL}==\"360a98000686f68656c6e7a416f4b2f58\", SYMLINK+=\"user/databaseE-part%n\"\n" - " ENV{ID_SERIAL}==\"360a98000686f68656c6e7a416f4b2f59\", SYMLINK+=\"user/databaseF-part%n\"\n" + " ENV{ID_SERIAL}=\"360a98000686f68656c6e7a416f4b2f55\", SYMLINK+=\"user/databaseA-part%n\"\n" + " ENV{ID_SERIAL}=\"360a98000686f68656c6e7a416f4b2f56\", SYMLINK+=\"user/databaseB-part%n\"\n" + " ENV{ID_SERIAL}=\"360a98000686f68656c6e7a416f4b2f57\", SYMLINK+=\"user/databaseC-part%n\"\n" + " ENV{ID_SERIAL}=\"360a98000686f68656c6e7a416f4b2f58\", SYMLINK+=\"user/databaseE-part%n\"\n" + " ENV{ID_SERIAL}=\"360a98000686f68656c6e7a416f4b2f59\", SYMLINK+=\"user/databaseF-part%n\"\n" " LABEL=\"custom_end\"\n" "\n" "Kay\n" @@ -91,6 +91,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 -75c81559891c90618b83faae682aa9a9e604e0ff6f482464e7907b6f2669797a +fed82e991091c63504327082d9e7235a52f8971475acfa8eb10d69ddc3c92fe0
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.