Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753182AbaBXRtu (ORCPT ); Mon, 24 Feb 2014 12:49:50 -0500 Received: from mail-ve0-f172.google.com ([209.85.128.172]:33044 "EHLO mail-ve0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752722AbaBXRts (ORCPT ); Mon, 24 Feb 2014 12:49:48 -0500 MIME-Version: 1.0 In-Reply-To: <20140224171238.GG4026@tucsk.piliscsaba.szeredi.hu> References: <1391791751-2533-1-git-send-email-miklos@szeredi.hu> <19258.1392306854@warthog.procyon.org.uk> <20140213162534.GB4026@tucsk.piliscsaba.szeredi.hu> <20106.1392309770@warthog.procyon.org.uk> <16729.1392318161@warthog.procyon.org.uk> <20140224171238.GG4026@tucsk.piliscsaba.szeredi.hu> Date: Mon, 24 Feb 2014 09:49:47 -0800 X-Google-Sender-Auth: 9zZsoqEcf18t36odHRpY3sz2SbA Message-ID: Subject: Re: [PATCH 00/13] cross rename v4 From: Linus Torvalds To: Miklos Szeredi Cc: David Howells , Al Viro , Linux-Fsdevel , Kernel Mailing List , Bruce Fields , Christoph Hellwig , Andrew Morton , Zach Brown , Jan Kara , Andy Lutomirski , "mszeredi@suse.cz" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 24, 2014 at 9:12 AM, Miklos Szeredi wrote: > > This patch uses the 0/0 device number, but the actual number doesn't matter > as long as it doesn't conflict with a real device. Side note: I think 0/0 is the right choice, for a very specific reason: it is already documented as being special. No other combination has that. We've had "major number 0" documented as being for unnamed devices, and minor 0 is "reserved as null device number", which is just bad documentation (it's *not* /dev/null, it doesn't exist). You cannot register a character device with mijor/minor 0 in Linux, for example. (The block layer similarly considers MKDEV(0,0) to be an unallocated device) Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/