public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC][5/11][MANUX] Kernel compatibility : major/minor numbers
@ 2014-04-15 13:42 Emmanuel Colbus
  2014-04-15 15:02 ` Austin S Hemmelgarn
  2014-04-15 15:06 ` One Thousand Gnomes
  0 siblings, 2 replies; 8+ messages in thread
From: Emmanuel Colbus @ 2014-04-15 13:42 UTC (permalink / raw)
  To: linux-kernel

Now, back to the filesystem...

In order to associate devices to their files, the Linux kernel uses
their major and minor numbers. However, mine doesn't; instead, I've
attributed myself a single group of values (major=0, minor=0, for both
character-mode and block-mode special files), with the meaning (for the
userspace) "you cannot identify the content of this file based on its
major and minor numbers".

As for my kernel, there is a syscall to associate such files with their
proper peripherals (asper(2)), after which it internally identifies them
using their inode and partition numbers; as for userspace, it has no
choice but to use their names, as usual.

Do you have any objection to my taking of these values?

Emmanuel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-04-15 20:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-15 13:42 [RFC][5/11][MANUX] Kernel compatibility : major/minor numbers Emmanuel Colbus
2014-04-15 15:02 ` Austin S Hemmelgarn
2014-04-15 17:39   ` Emmanuel Colbus
2014-04-15 15:06 ` One Thousand Gnomes
2014-04-15 15:32   ` Emmanuel Colbus
2014-04-15 15:40     ` One Thousand Gnomes
2014-04-15 20:19     ` Theodore Ts'o
2014-04-15 20:58       ` Emmanuel Colbus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox