[comp.unix.questions] UNIX PC and multiple filesystems?

lenny@quincy.UUCP (Lenny Tropiano) (10/07/87)

Does anyone out there know of a way to bypass the "default" hard disk
partitioning on the UNIX PC?  By default the UNIX PC partitions the
entire disk (minus the swap space) into the root "/" filesystem/partition.
I would like to divide it up into a /, /usr, /u.  Maybe even a fourth, like
/backup for a unmounted partition to keep backups of programs? 

Can anyone point me in the right direction, using "mkfs"?  How can I use
it to make other partitions on something already formatted with "/" only?

						Thanks in advance,
						Lenny
-- 
Lenny Tropiano               ...seismo!uunet!swlabs!godfre!quincy!lenny  -or-
American LP Systems, Inc.           ...cmcl2!phri!gor!helm!quincy!lenny  -or-
1777-18 Veterans Memorial Hwy.   	          ...mtune!quincy!lenny  -or
Islandia, New York 11722     +1 516-582-5525 ...ihnp4!icus!quincy!lenny

davidsen@steinmetz.steinmetz.UUCP (William E. Davidsen Jr) (10/12/87)

In article <62@quincy.UUCP> lenny@quincy.UUCP (Lenny Tropiano) writes:
|Does anyone out there know of a way to bypass the "default" hard disk
|partitioning on the UNIX PC?  By default the UNIX PC partitions the
|entire disk (minus the swap space) into the root "/" filesystem/partition.
|I would like to divide it up into a /, /usr, /u.  Maybe even a fourth, like
|/backup for a unmounted partition to keep backups of programs? 
|
|Can anyone point me in the right direction, using "mkfs"?  How can I use
|it to make other partitions on something already formatted with "/" only?

You won't like the fix... you use 'iv' to pull the descriptor block of
the hard disk. Use an editor to change the values. Use 'iv' again to
write the header and create the filesystems. Now do a cold boot and
reload everything!

Hopefully there's a better way.
-- 
	bill davidsen		(wedu@ge-crd.arpa)
  {uunet | philabs | seismo}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me