Hi All,
I've just released v0.0.2 of Linux LDM (support for Windows Dynamic Disks)
In the package there's a kernel driver and also a test tool. It can be
downloaded from the NTFS home page at:
http://linux-ntfs.sourceforge.net
There's some basic documentation for the LDM at:
http://linux-ntfs.sourceforge.net/ldm
Microsoft hasn't documented the Logical Disk Manager, so all this has
been written from scratch. Despite that, the driver works.
It works for me and it works for a friend.
I need your help to test the code on other machines.
The test program is read-only and should be quite safe.
To build the tool just run make. You should end up with a tool called
'drive' in the 'test' directory. If it doesn't build please let me know.
For comparison:
If you run fdisk on a Windows Dynamic Disk, you'll see something like:
Device Boot Start End Blocks Id System
/dev/hda1 64 41328 20632+ 42 SFS
All the managed partitions are hiding in this SFS partition.
It works a little bit like an extended partition.
Now, if you run 'drive' on the same disk, you'll see:
# test/drive /dev/hdb
Partition check:
hdb: hdb1 < hdb5 hdb6 hdb7 hdb8 >
Device | Offset Bytes Sectors Mb | Size Bytes Sectors Mb
-------+--------------------------------+-------------------------------
hdb | 0 0 0 | 21159936 41328 20
hdb1 | 20111360 39280 19 | 1048576 2048 1
hdb5 | 32256 63 0 | 5242880 10240 5
hdb6 | 5275136 10303 5 | 5242880 10240 5
hdb7 | 10518016 20543 10 | 5242880 10240 5
hdb8 | 15760896 30783 15 | 4194304 8192 4
This shows the layout of the disk. Partition 1 is the dataabase which is
stored at the end of the disk. Partitions 5-8 are real data partitions.
(N.B. The device will always be hdb*)
There are two flags that can be used with test:
--debug Display lots information about what it's doing
--dump Save the database information to a file, e.g. hda.dump
If the information doesn't look correct, please email me the output from
test --debug /dev/<device>
If you're feeling adventurous, you could try out the kernel driver.
The tool uses the same code, so if it works, you may be OK. Copy
the source from the linux/ tree provided into your kernel source
tree and give it a go. This is not a job for a kernel novice.
Any feedback would be great.
I want to know if things go well
I want to know if it breaks and where.
Many thanks,
FlatCap (Richard)
nt...@fl...
|