From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 From: Sergey Afonin To: ALT Linux Team development discussions Date: Fri, 22 Jul 2016 13:01:43 +0400 User-Agent: KMail/1.9.10 (enterprise35 0.20100827.1168748) References: <201605031419.01455@ruslandh> <201607221121.01745.asy@altlinux.ru> In-Reply-To: X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <201607221301.43197.asy@altlinux.ru> Subject: Re: [devel] =?utf-8?b?VXNiLW1vZGVzd2l0Y2gsINC/0YDQsNCy0LjQu9CwINC0?= =?utf-8?b?0LvRjyB1ZGV2?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2016 09:01:51 -0000 Archived-At: List-Archive: List-Post: On Friday 22 July 2016, Ruslan Hihin wrote: > Я думаю, вы уже нашли, но для памяти    - с окончанием S - поиск > параметра, без S -  установка значения  параметра. Нет, установка и сравнение зависят от оператора: "==" Compare for equality. "=" Assign a value to a key. Keys that represent a list are reset and only this single value is assigned. ATTR может использоваться и для сравнения, и для установки: ATTR{filename}, SYSCTL{kernel parameter} Match sysfs attribute values of the event device. Trailing whitespace in the attribute values is ignored unless the specified match value itself contains trailing whitespace. Match a kernel parameter value. ATTR{key} The value that should be written to a sysfs attribute of the event device. -- С уважением, Сергей Афонин.