[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Partition Editing



On Thu, 16 Aug 2001 22:09:39 -0700 "Frank Reichenbacher"
<frank bio-con com> imparted to us:

> When I partitioned my disk on install, I foolishly set a separate
> partition
> for /tmp. I definitely don't need it. If I use fdisk or cfdisk to
> delete it,
> will linux just create a /tmp directory on the / partition and just
> cruise
> on, or would this be an even more foolish thing to do?

Not sure of the problems you encounter, but they could potentially be
enormous. The safest answer:

1. As root, type						     init 1

2. At the prompt edit /etc/fstab (vi, emacs, joe, pico, etc) and delete
the line containing the /tmp entry, or rename /tmp to something that
doesn't already exist. Alternatives could be (if large enough) to
replace a subdirectory of another directory (/usr/local for instance).
But, moving the contents around is best left for another set of
instructions. If you created a new name as stated above, don't forget to
mkdir the new mountpoint.

3.While here, go ahead and                                 umount /tmp
If it won't let you, you may be required to reboot. Not usually the case
but, I haven't tried it and can't say for sure whether it will error out
about /tmp being busy.

4. If you didn't have to reboot, type			init 3
If you use graphical login, make that		     init 5

Make whatever use you need to of the unused space at this point.

-- 
There is no seeing eye dog for blind faith.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]