From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3315 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: High-priority library replacements? Date: Wed, 15 May 2013 16:17:00 -0400 Message-ID: <20130515201700.GV20323@brightrain.aerifal.cx> References: <20130509144528.GK20323@brightrain.aerifal.cx> <1368398543.43199.YahooMailClassic@web160405.mail.bf1.yahoo.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1368649035 29567 80.91.229.3 (15 May 2013 20:17:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 May 2013 20:17:15 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3319-gllmg-musl=m.gmane.org@lists.openwall.com Wed May 15 22:17:15 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Uci8Q-0006BU-T9 for gllmg-musl@plane.gmane.org; Wed, 15 May 2013 22:17:15 +0200 Original-Received: (qmail 8020 invoked by uid 550); 15 May 2013 20:17:13 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 8012 invoked from network); 15 May 2013 20:17:13 -0000 Content-Disposition: inline In-Reply-To: <1368398543.43199.YahooMailClassic@web160405.mail.bf1.yahoo.com> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3315 Archived-At: On Sun, May 12, 2013 at 03:42:23PM -0700, Brad Conroy wrote: > In case I don't get around to fully researching it, the kernel spews > out major and minor numbers in /sys that are greater than 255, so > the makedev in /sys/sysmacros.h is insufficient (also major() and > minor()???) I noticed because I wrote a shell script that populates > /dev from /sys in <0.2 seconds but failed for large major/minor > numbers when I built busybox with musl. At first glance, it looks > like dev_t needs to be uint and have the extra bits from major and > minor prepended as in the kernel's dev_t? Should be fixed in git. Let me know if it doesn't work right. Rich