From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757631AbaHZLti (ORCPT ); Tue, 26 Aug 2014 07:49:38 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:36349 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754565AbaHZLth (ORCPT ); Tue, 26 Aug 2014 07:49:37 -0400 Date: Tue, 26 Aug 2014 13:49:35 +0200 From: Pavel Machek To: kernel list , trivial@kernel.org, Andrew Morton Subject: [PATCH] init/do_mounts: better syntax description Message-ID: <20140826114935.GA16731@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Specify hex device number unambiquously. Signed-off-by: Pavel Machek diff --git a/init/do_mounts.c b/init/do_mounts.c index b6237c3..9f9d5e5 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -182,7 +182,8 @@ done: /* * Convert a name into device number. We accept the following variants: * - * 1) device number in hexadecimal represents itself + * 1) device number in hexadecimal represents itself + * no leading 0x, for example b302. * 2) /dev/nfs represents Root_NFS (0xff) * 3) /dev/ represents the device number of disk * 4) /dev/ represents the device number -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html