Date: Tue, 09 Mar 2010 02:31:29 -0800 From: Maxim Sobolev <sobomax@sippysoft.com> To: "Jayachandran C." <c.jayachandran@gmail.com> Cc: FreeBSD Current <freebsd-current@FreeBSD.ORG> Subject: Re: newfs broken in -CURRENT after 204654 Message-ID: <4B962381.2060300@sippysoft.com> In-Reply-To: <4b94b8d8.c501be0a.4ce5.760a@mx.google.com> References: <98a59be81003040504x6e97fbaeqeb10f8ea7bedb7b9@mail.gmail.com> <4b94b8d8.c501be0a.4ce5.760a@mx.google.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jayachandran C. wrote: > On Thu, Mar 04, 2010 at 06:34:03PM +0530, C. Jayachandran wrote: >> I'm testing this on the mips platform, but I think there is an issue >> with change that made sectorsize int64_t, because the ioctl >> DIOCGSECTORSIZE used to read sector size seems to take u_int. This >> quick change fixes it for me (sample patch - may be whitespace >> damaged). > > I'm trying this one more time, since the issue is still unresolved. > > newfs(8) broke for big-endian systems since revision 204654. This change > made sectorsize variable int64_t, and now it cannot be passed to the ioctl > DIOCGSECTORSIZE. > > The patch below (updated from the previous one) fixes it, please review and > apply if correct. Sorry about that, I've just applied a fix. Regards, -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts T/F: +1-646-651-1110 Web: http://www.sippysoft.com MSN: sales@sippysoft.com Skype: SippySoft
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B962381.2060300>