From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755642AbbCEMb0 (ORCPT ); Thu, 5 Mar 2015 07:31:26 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:43731 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752186AbbCEMbZ (ORCPT ); Thu, 5 Mar 2015 07:31:25 -0500 Date: Thu, 5 Mar 2015 21:31:50 +0900 From: Sergey Senozhatsky To: Karel Zak Cc: Minchan Kim , Sergey Senozhatsky , Andrew Morton , Sergey Senozhatsky , Nitin Gupta , linux-kernel@vger.kernel.org, Jerome Marchand Subject: Re: [PATCH 0/2] make automatic device_id generation possible Message-ID: <20150305123150.GD623@swordfish> References: <1425478601-19141-1-git-send-email-sergey.senozhatsky@gmail.com> <20150305001954.GA9563@blaptop> <20150305005829.GC14927@swordfish> <20150305012043.GD14927@swordfish> <20150305013301.GA5041@blaptop> <20150305014752.GF14927@swordfish> <20150305020436.GB5041@blaptop> <20150305121010.GY8046@ws.net.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150305121010.GY8046@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:10), Karel Zak wrote: > > > we upgraded our scripts but landed some bugs there? it's up to particular > > > implementation. in your example, I assume, someone used zram with num_devices >= 1000? > > > that's impossible. current num_devices limitation is 32. and uid-s start from 1000. [..] > Why 1000? > > The UID_MIN and UID_MAX is nothing strictly defined, it's just option > in /etc/login.defs. I guess it's nothing unusually to have system > where UID_MIN is 500 :-) > I meant on my system min is 1000 (don't know if anyone change min value for any reason of his own), and current num_devices limit is 32, anyway. -ss