From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755821AbbCEM02 (ORCPT ); Thu, 5 Mar 2015 07:26:28 -0500 Received: from mail-pd0-f178.google.com ([209.85.192.178]:36541 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755792AbbCEM0Z (ORCPT ); Thu, 5 Mar 2015 07:26:25 -0500 Date: Thu, 5 Mar 2015 21:26:49 +0900 From: Sergey Senozhatsky To: Karel Zak Cc: Sergey Senozhatsky , Minchan Kim , Sergey Senozhatsky , Andrew Morton , Nitin Gupta , linux-kernel@vger.kernel.org, Jerome Marchand Subject: Re: [PATCH 0/2] make automatic device_id generation possible Message-ID: <20150305122649.GC623@swordfish> References: <1425478601-19141-1-git-send-email-sergey.senozhatsky@gmail.com> <20150305001954.GA9563@blaptop> <20150305005829.GC14927@swordfish> <20150305120257.GX8046@ws.net.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150305120257.GX8046@ws.net.home> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (03/05/15 13:02), Karel Zak wrote: > > hm, you never know what people can come up with. that's probably the > > strongest support argument I can provide. I wish there was something > > like - my friend Mike has a "device /dev/zram1 is always swap device, > > device /dev/zram$(id -u) is a per-user zram device (he finds it useful, > > I have doubts that promise stable device names is good idea. The usual > way is to care about FS/SWAP identifiers (LABEL=, or UUID=), and for > example udevd should be able to create a stable /dev/disk/by-* > symlinks. > > So for your friend Mike is better to have UUID= in /etc/fstab and > force mkswap or mkfs to use still the same UUID. +1 for removal from Karel. thanks. -ss