[ltp] Copying Files

Eben King linux-thinkpad@linux-thinkpad.org
Tue, 7 Dec 2004 14:19:52 -0500 (EST)


On Tue, 7 Dec 2004, Jeffrey L. Taylor wrote:

> Quoting Bob Alexander <bob@ngi.it>:

> > For example my setup is as follows:
> > 
> > 240 heads, 63 sectors/track, 9914 cylinders
> > Units = cylinders of 15120 * 512 = 7741440 bytes
> > 
> >   Device Boot      Start         End      Blocks   Id  System
> > /dev/hda1   *           1        4063    30716248+   7  HPFS/NTFS
> > /dev/hda3            4064        9914    44233560    f  W95 Ext'd (LBA)
> > /dev/hda5            4064        8822    35978008+   b  W95 FAT32
> > /dev/hda6            8823        8958     1028128+  82  Linux swap / Solaris
> > /dev/hda7   *        8959        9433     3590968+  83  Linux
> > /dev/hda8            9434        9914     3636328+  83  Linux

> IIRC, the logical partitions are contained in the extended partition.
> E.g., hda5 - hda11 are contained in hda4.

Or hda3 in this case.  There can be one extended partition, usually #4,  
Bob Alexander (if the quoting is correct) could add a 4th primary 
partition (if there were room).  I have four primary partitions on my 
Thinkpad's hard drive.

> # fdisk -l /dev/hda
> 
> Disk /dev/hda: 82.3 GB, 82348277760 bytes
> 255 heads, 63 sectors/track, 10011 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1             1      1310  10522543+   7  HPFS/NTFS
> /dev/hda4   *      1311     10011  69890782+   5  Extended
> /dev/hda5          1311      1964   5253223+  83  Linux
> /dev/hda6   *      1965      3760  14426338+  83  Linux
> /dev/hda7          3761      3890   1044193+  82  Linux swap
> /dev/hda8          3891      5686  14426338+  83  Linux
> /dev/hda9          5687      7476  14378143+  83  Linux
> /dev/hda10         7477      9434  15727603+  83  Linux
> /dev/hda11         9435     10010   4626688+  83  Linux

That is more conventional.  hda2 and hda3 do not exist; they could, if 
hda4 did not take up all the room.

Where does the "bootable" flag matter?

-- 
-eben      ebQenW1@EtaRmpTabYayU.rIr.OcoPm      home.tampabay.rr.com/hactar
An ASCII character walks into a bar and orders a double. "Having a bad day?"
asks the barman. "Yeah, I have a parity error," replies the ASCII character.
The barman says, "Yeah, I thought you looked a bit off." -- Skud