[CentOS] Linux equivalent of 'format' in solaris

Jeff jlar310 at gmail.com
Fri Jul 11 17:11:28 UTC 2008


On Fri, Jul 11, 2008 at 12:04 PM, Ed Donahue <liberaled at gmail.com> wrote:
> It shows the physical disks on the server
>
> bash-2.05b# format
>  Searching for disks...done
>
>
>  AVAILABLE DISK SELECTIONS:
>         0. c0t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
>            /sbus at 3,0/SUNW,fas at 3,8800000/sd at 2,0
>         1. c0t3d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
>            /sbus at 3,0/SUNW,fas at 3,8800000/sd at 3,0
>         2. c0t4d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
>            /sbus at 3,0/SUNW,fas at 3,8800000/sd at 4,0
>         3. c1t10d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
>            /sbus at 3,0/QLGC,isp at 0,10000/sd at a,0
>         4. c1t11d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
>            /sbus at 3,0/QLGC,isp at 0,10000/sd at b,0
>         5. c1t12d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
>            /sbus at 3,0/QLGC,isp at 0,10000/sd at c,0
>  Specify disk (enter its number):

There is no 'one' equivalent.

If you want to partition disks, use fdisk.

If you want to see the physical hardware info,  try cat
/proc/scsi/scsi or cat /proc/ide/hd?/model

-- 
Jeff



More information about the CentOS mailing list