From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 17 Mar 2012 16:12:20 +0000 From: Alasdair G Kergon Message-ID: <20120317161220.GA12111@agk-dp.fab.redhat.com> References: <4F645D81.3010002@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4F645D81.3010002@redhat.com> Subject: Re: [linux-lvm] lvm fails when /proc/devices contains "-1 smblk" Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: John Mesmon , maximlevitsky@gmail.com Cc: LVM general discussion and development > Dne 16.3.2012 07:28, John Mesmon napsal(a): > > Block devices: > > -1 smblk That's outside the range of valid major numbers and surely shouldn't be getting exposed to userspace in /proc/devices. static struct mtd_blktrans_ops sm_ftl_ops = { .name = "smblk", .major = -1, Why's -1 being used? Alasdair