How to mount a range of block on a disk as a partition
How to mount a range of block on a disk as a partition
- Subject: How to mount a range of block on a disk as a partition
- From: Thomas Tempelmann <email@hidden>
- Date: Sat, 13 Jun 2009 16:32:04 +0200
This may not be the proper list for this, please forgive. I just need
a quick answer and couldn't find it myself so far:
On a block device there is a file system hidden inside a partition
(actually, in an EFI partition).
The disk's partition table only specifies the larger efi partition,
but not the actual fs partition inside it.
I can extract the partition inside by copying (e.g. using dd comand)
the blocks beginning at offset 39*512, writing them to a file and
mount that file as a disk image. That proves that it's there, in one
contiguous blob.
Now, I like to modify that partition in its place instead, hence mount
it on OS X.
Is there a way I can either create an on-the-fly block device from a
range of disk blocks, using an existing unix/Apple command?
Or can I tell the mount command to skip the first N blocks of a given
drive, i.e. provide an offset from where it should assume the start of
the file system it shall mount?
The intention here is to avoid modifying the partition table.
--
Thomas Tempelmann, http://www.tempel.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden