Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Apr 2001 16:42:48 +0000
From:      Gunther Schadow <gunther@aurora.regenstrief.org>
To:        freebsd-small@freebsd.org
Subject:   what do the bytes 85 170 at location 510 in the fs image mean?
Message-ID:  <3AC9FD88.34CEF268@aurora.regenstrief.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AC9FD88.34CEF268>