Teach '-m' option of bsdlabel(8) to sunlabel(8)

Brooks Davis brooks at one-eyed-alien.net
Fri Nov 14 10:19:56 PST 2003


On Fri, Nov 14, 2003 at 06:07:17PM +0900, Makoto Matsushita wrote:
> 
> Self followup...
> 
> matusita> I'd like to try to bulid FreeBSD/sparc64 on i386 box, but
> matusita> due to the lack of bsdlabel(8)'s '-m' option (set machine
> matusita> archtecture) on sunlabel(8), newfs(8) cannot work.
> 
> I'm confused something.  The fact that newfs(8) on i386 cannot newfs a
> filesystem which is sunlabel(8)ed is true, but it does NOT come with
> sunlabel(8) itself.  Obviously sunlabel(8) doesn't need -m option since
> it is used on on sparc64 :-)
> 
> Anyway how can I newfs a filesystem for sparc64 on i386 box?

I don't think you can because our UFS on disk format is byte
order dependent.  Someone probalby needs to import the NetBSD
endien-independence stuff.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031114/ffd67780/attachment.bin


More information about the freebsd-current mailing list