From: Thomas Meyer <thomas@m3y3r.de>
To: DagB <dag@bakke.com>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [BUG] Device node major comes out wrong on HFS+ under linux
Date: Tue, 18 Oct 2011 08:25:00 +0200 [thread overview]
Message-ID: <1318919100.1652.6.camel@localhost.localdomain> (raw)
In-Reply-To: <4E99CB18.2080302@bakke.com>
[-- Attachment #1: Type: text/plain, Size: 794 bytes --]
Am Samstag, den 15.10.2011, 20:04 +0200 schrieb DagB:
> Hi.
>
> Executive summary:
>
> /dev/null:
> osx: crw-rw-rw- 1 root wheel 1, 3 Oct 13 04:12 null
> linux: crw-rw-rw- 1 root root 16, 3 Oct 13 02:12 /dev/null
>
> /dev/console:
> osx: crw------- 1 root wheel 5, 1 Oct 13 04:12 console
> linux: crw------- 1 root root 80, 1 Oct 13 02:12 /dev/console
>
> /dev/sda4:
> osx: brw-r----- 1 root wheel 8, 4 Oct 13 04:12 sda4
> linux: brw-r----- 1 root root 128, 4 Oct 13 02:12 /dev/sda4
>
> Anyone care to squash this bug, please?
>
This is not a bug. Linux uses a 12/20 split for major and minor device
ids and the xnu kernel uses a 8/24 split:
8, 4
00001000 000000000000000000000100
= 128, 4
000010000000 00000000000000000100
with kind regards
thomas
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
prev parent reply other threads:[~2011-10-18 6:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-15 18:04 [BUG] Device node major comes out wrong on HFS+ under linux DagB
2011-10-18 6:25 ` Thomas Meyer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1318919100.1652.6.camel@localhost.localdomain \
--to=thomas@m3y3r.de \
--cc=dag@bakke.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.