i need help. How do i mkfs a file system? - What are the requirements

i'm actually a beginner in Solaris or perhaps in Unix

...this is not a homework, we're just self-studying solaris with my gruop ^_^

i'm getting a lot of errors T_T,

mkfs -F <fstype> c0d0?

i don't know what those c0d0's stand for, are they devices?

if they are, which is the device for a hard disk or for disk drives and where could i find these devices?> which directory... pls help t.y.

and also if i specify <fstype> ->pcfs,ufs,etc. is there any difference in inputting the arguments for mkfs?

and lastly, i would be very thankful if anyone could show how to simply implement that mkfs on a floppy drive, this would give me an idea how mkfs is implemented.

[731 byte] By [JonG2xa] at [2007-11-26 19:34:48]
# 1

mkfs is a low level program that is usually invoked by the friendlier newfs wrapper.

Try man newfs

The meaning of c0t0d0s0

c0 Is controller 0

t0 is target 0, usually scsi lun number

d0 is disk 0. The represents fact that scsi can have multiple disks in a lun. But this is rarely done. So its almost always d0

s0 represents slice 0. The refers to the partitioning of the disk. Usually done with the format command.

Running format will report the available hard drives. You can then choose one and partition it.

Not sure about floppies.

robert.cohena at 2007-7-9 22:08:51 > top of Java-index,General,Sys Admin Best Practices...
# 2
Oh, and the disk devices live in /dev/rdsk,So you would normally invoke newfs asnewfs /dev/rdsk/c0t0d0s0
robert.cohena at 2007-7-9 22:08:51 > top of Java-index,General,Sys Admin Best Practices...