From owner-freebsd-fs@FreeBSD.ORG Mon Jul 11 05:14:54 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0BE31065675 for ; Mon, 11 Jul 2011 05:14:54 +0000 (UTC) (envelope-from samueldotj@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8BF6D8FC08 for ; Mon, 11 Jul 2011 05:14:54 +0000 (UTC) Received: by eyg7 with SMTP id 7so1524639eyg.13 for ; Sun, 10 Jul 2011 22:14:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=ClkawMt7a2tDdUbuV7yB5jgAOsSktfMM/xFqyayuVuc=; b=CLdlBE1V/HlsLcaSrjMIhc/7ByNG9vaj8CuwsPWHuZEBllBVu0yqkzpCZRgxUIR9zY hmrFaXuAfdMKiarhgDfggLGEpi8A8RA6jYQoekB3tAgLPJsCr9b+xL7ju3wuOokvXnQm oY+zmHQ/UHMQ2Pt4LK+OHDjXy6oHsqS+Az5GQ= MIME-Version: 1.0 Received: by 10.14.94.80 with SMTP id m56mr1292092eef.155.1310359721667; Sun, 10 Jul 2011 21:48:41 -0700 (PDT) Received: by 10.14.119.16 with HTTP; Sun, 10 Jul 2011 21:48:41 -0700 (PDT) Date: Mon, 11 Jul 2011 10:18:41 +0530 Message-ID: From: Sam To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: FS Endianess X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2011 05:14:55 -0000 Hi, I am under the assumption that a Filesystem created on big endian machine cant be read on little endian machine and vice versa. However I am able to mount FAT formatted(on Windows PC) USB flash drive on FreeBSD(PowerPC - BigEndian) and able to view contents of a text file. I am not able to locate FS code where it does the byte conversion. Can somebody kindly point me the code? Or my assumption is wrong? Thanks Samuel