Quote:
Originally Posted by allend
I was really interested in checking the physical sectoring of your disk. Formatting and resizing will not have changed that.
|
ah. my bad. there you go then:
Code:
[root@noc-101 ~]# fdisk -lu
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 63 204796619 102398278+ 7 HPFS/NTFS
/dev/hda2 204796620 276478649 35841015 83 Linux
/dev/hda3 276478650 280671614 2096482+ 82 Linux swap / Solaris
/dev/hda4 280671615 312576704 15952545 83 Linux
tried improvising on your idea and wrote a little script:
Code:
for ((i=0 ; $i < 208782 ; i=$i + 1)) ; do
mount -t ext3 -o loop,offset=$(($i * 512)) /backup/home-22-oct-08-hda5.bak.dd /LOOP && break
done
seems like no luck either...