Unix Technical Forum

file system byte ordering issues?

This is a discussion on file system byte ordering issues? within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> I'm hoping to switch off my old SPARC hardware soon (anyone want a Sparcstation10?) and onto Intel hardware. I'm ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 05:52 AM
Christopher A. Kantarjiev
 
Posts: n/a
Default file system byte ordering issues?

I'm hoping to switch off my old SPARC hardware soon (anyone want a
Sparcstation10?) and onto Intel hardware. I'm wondering if I can just
unplug my chain of scsi disks from one machine and plug them into the
new one and have the filesystems mount intact, or if I will have to move
the data across a network?

Thanks,
chris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 05:53 AM
Philipp Buehler
 
Posts: n/a
Default Re: file system byte ordering issues?

* Christopher (cak@dimebank.com) wrote:
> new one and have the filesystems mount intact, or if I will have to move
> the data across a network?


The "data" will be fine, yet the bootloader, kernel and the whole
userland binaries are sparc and thus wont run on the intel.

"Reinstall" the OS, but any "data" would be fine wrt to you subject -
byte ordering doesnt apply here.


ciao
--
"Unix was the first OS where you could carry the media and system
documentation around in a briefcase. This was fixed in BSD4.2."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-16-2008, 05:53 AM
Ted Unangst
 
Posts: n/a
Default Re: file system byte ordering issues?

On Tue, 4 Nov 2003, Christopher A. Kantarjiev wrote:

> I'm hoping to switch off my old SPARC hardware soon (anyone want a
> Sparcstation10?) and onto Intel hardware. I'm wondering if I can just
> unplug my chain of scsi disks from one machine and plug them into the
> new one and have the filesystems mount intact, or if I will have to move
> the data across a network?


network. ffs data structures are stored in host-endian format.

--
"The contagious people of Washington have stood firm against diversity
during this long period of increment weather."
- M. Barry, Mayor of Washington, DC

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-16-2008, 05:53 AM
Christian Weisgerber
 
Posts: n/a
Default Re: file system byte ordering issues?

Christopher A. Kantarjiev <cak@dimebank.com> wrote:

> I'm hoping to switch off my old SPARC hardware soon (anyone want a
> Sparcstation10?) and onto Intel hardware. I'm wondering if I can just
> unplug my chain of scsi disks from one machine and plug them into the
> new one and have the filesystems mount intact,


I don't think OpenBSD/i386 can read a Sun disklabel.
FFS on-disk structures are written in the host endian order, and
OpenBSD doesn't support accessing a differently endianed FFS.

> or if I will have to move the data across a network?


Yes.
And of course some of that data may be endian-sensitive, too.

--
Christian "naddy" Weisgerber naddy@mips.inka.de
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:26 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com