Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

installing/formatting a disk

Status
Not open for further replies.

simanek

Programmer
Jan 19, 2001
137
0
0
US
i've hooked up a disk to my scsi chain and have successfully (i think) run disklabel on it. now how do i format this partition with the ufs file system? thanks.

mike Mike
~~~~
simanek@illinoisalumni.org
"It's a Swingline!"
~~~~
 
Mike,

First, you use the newfs command to create a filesystem. For example:
newfs /dev/rz1c rz28

Second, do a file system check. For example:
fsck /dev/rrz1c

Next, the file system can be mounted. For example:
mount /dev/rz1c /u1

Lastly, you need to add a line to the /etc/fstab file so that the new partition will be mounted on the next boot. For example:
/dev/rz1c /u1 ufs rw 1 2

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top