#File: sol_7

1.	See the man page for mount and for mount_ufs.

2.	prtvtoc /dev/rdsk/c0t0d0s0
	This command returns the vtoc for the disk device.  The vtoc is in
	a non-filesystem part of the disk, so you must use the raw device file
	for slice 0.

slice 0:	DISK		permissions:	VALID UNMOUNTABLE 
  starting sector:	1 (cyl 0)		length:	1031183 (1023.00 cyls)
slice 1:	ROOT		permissions:	VALID 
  starting sector:	213066 (cyl 211)		length:	817488 (811.00 cyls)
slice 2:	SWAP		permissions:	VALID UNMOUNTABLE 
  starting sector:	11466 (cyl 11)		length:	201600 (200.00 cyls)
slice 7:	BOOT		permissions:	VALID UNMOUNTABLE 
  starting sector:	1 (cyl 0)		length:	34 (0.03 cyls)
slice 8:	ALTERNATES	permissions:	VALID UNMOUNTABLE 
  starting sector:	63 (cyl 0)		length:	253 (0.25 cyls)
slice 10:	STAND		permissions:	VALID 
  starting sector:	378 (cyl 0)		length:	11088 (11.00 cyls)

3.	See the man pages for mount_ufs and mkfs_ufs.

	format /dev/rdsk/f0t
	mkfs -F ufs /dev/rdsk/f0t 2880
	mkdir /mnt/floppy
	mount -F ufs /dev/fd0 /mnt/floppy

4.	Warn all the users to logoff.  Then go to single user mode (init S)
	to fsck the root file system.

5.	First, make sure you are at run level 3.
	To share your /usr filesystem with everyone, type:
	share -F nfs /usr

	To mount another hosts /usr file system, type:
	mkdir /mnt/bhitn_usr
	mount -F nfs bhitn:/usr /mnt/bhitn_usr
