From owner-freebsd-small Tue Apr 3 9:42:56 2001 Delivered-To: freebsd-small@freebsd.org Received: from rgmail.regenstrief.org (rgmail.regenstrief.org [134.68.31.197]) by hub.freebsd.org (Postfix) with ESMTP id 99C2337B71F for ; Tue, 3 Apr 2001 09:42:50 -0700 (PDT) (envelope-from gunther@aurora.regenstrief.org) Received: from aurora.regenstrief.org (rgnout.regenstrief.org [134.68.31.38]) by rgmail.regenstrief.org (8.11.0/8.8.7) with ESMTP id f33Gj8A08522 for ; Tue, 3 Apr 2001 11:45:08 -0500 Message-ID: <3AC9FD88.34CEF268@aurora.regenstrief.org> Date: Tue, 03 Apr 2001 16:42:48 +0000 From: Gunther Schadow Organization: Regenstrief Institute for Health Care X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-small@freebsd.org Subject: what do the bytes 85 170 at location 510 in the fs image mean? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I am looking at the PicoBSD build/Makefile wondering what this awk 'BEGIN {printf "%c%c", 85, 170}' | \ dd of=$(FS_NAME) obs=1 seek=510 conv=notrunc is supposed to do. I mean, I understand what it does, but not why it needs this kind of magic? Why don't we just vnconfig the file of the right size, disklabel, newfs and the mount it just like we would do with a plain physical disk? I'm still having strange magic problems with the DiskOnChip flash and this magic could be a critical hint. thanks, -Gunther -- Gunther Schadow, M.D., Ph.D. gschadow@regenstrief.org Medical Information Scientist Regenstrief Institute for Health Care Adjunct Assistent Professor Indiana University School of Medicine tel:1(317)630-7960 http://aurora.regenstrief.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message