On Fri, 11 Jul 2003 00:48:39 GMT, Tony Mejia Rosario staggered into the
Black Sun and said:
Quote:> How would you format/slice/newfs/mount a disk on Linux. ? currently
> im running Red Hat 8 on Intel.
> On Sun Solaris I ll normally attached the disk run devfsadm, format
> -partition-label newfs the slice, and then mount whatever directory I
> would like to use.
There are typically 2 steps:
Partitioning-- "cfdisk DISK", where DISK is the device name of the whole
disk you want to partition. DISK is /dev/hda for the IDE disk on the
primary master, /dev/hdb for primary slave, /dev/hdc for secondary
master, etcetera. DISK is /dev/sda for the first SCSI disk, /dev/sdb
for the second, etcetera.
Making a filesystem (newfs)-- "mke2fs -j PARTITION" or "mkreiserfs
PARTITION". PARTITION is typically something like /dev/hda1 or
/dev/sda5 . If you're not familiar with the way the x86 handles
partitions, you can have up to 4 primary partitions on one disk. One of
those primary partitions can be an "extended" partition, which can
contain many "logical" partitions. Primary partitions are numbered 1-4.
Logical partitions are numbered 5-15 (SCSI) or 5-63 (IDE).
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL