Skip to contentSkip to conversation

+ init-do_mountsc-add-maj-min-syntax-comment.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Sep 23, 2013 VFS

lore
Share & tools
lore
#0 lore raw

Subject: + init-do_mountsc-add-maj-min-syntax-comment.patch added to -mm tree
To: [email protected]
From: [email protected]
Date: Mon, 23 Sep 2013 15:43:25 -0700

The patch titled
Subject: init/do_mounts.c: add maj:min syntax comment
has been added to the -mm tree. Its filename is
init-do_mountsc-add-maj-min-syntax-comment.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/init-do_mountsc-add-maj-min-syntax-comment.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/init-do_mountsc-add-maj-min-syntax-comment.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Sebastian Capella <[email protected]>
Subject: init/do_mounts.c: add maj:min syntax comment

The name_to_dev_t function has a comment block which lists the supported syntaxes for the device name. Add a bullet for the <major>:<minor> syntax, which is already supported in the code

---

 init/do_mounts.c |    2 ++
 1 file changed, 2 insertions(+)
init/do_mounts.c renamed from init/do_mounts.c~init-do_mountsc-add-maj-min-syntax-comment +2 -0
diff -puN init/do_mounts.c~init-do_mountsc-add-maj-min-syntax-comment init/do_mounts.c
@@ -197,6 +197,8 @@ done:
  *	   is a zero-filled hex representation of the 1-based partition number.
  *	7) PARTUUID=<UUID>/PARTNROFF=<int> to select a partition in relation to
  *	   a partition with a known unique id.
+ *	8) <major>:<minor> major and minor number of the device separated by
+ *	   a colon.
  *
  *	If name doesn't have fall into the categories above, we return (0,0).
  *	block_class is used to check if something is a disk name. If the disk

_

Patches currently in -mm which might be from [email protected] are

init-do_mountsc-add-maj-min-syntax-comment.patch