[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1318919100.1652.6.camel@localhost.localdomain>
Date: Tue, 18 Oct 2011 08:25:00 +0200
From: Thomas Meyer <thomas@...3r.de>
To: DagB <dag@...ke.com>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [BUG] Device node major comes out wrong on HFS+ under linux
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
Download attachment "signature.asc" of type "application/pgp-signature" (491 bytes)
Powered by blists - more mailing lists