Click to See Complete Forum and Search --> : how do I rename a partition


bigskinnee
06-26-2001, 06:19 PM
i have 2 drives in my box
hd0 = /
hd1 = /tmp

how would i rename /tmp to /cache
I tried mv /tmp /cache but that just stalled for a while

TheGimp
06-26-2001, 06:29 PM
edit your /etc/fstab and change /tmp to /cache :)

stiles
06-26-2001, 06:34 PM
Originally posted by TheGimp:
<STRONG>edit your /etc/fstab and change /tmp to /cache</STRONG>

the mount point hast to exist also:

#mkdir /cache

bigskinnee
06-26-2001, 06:35 PM
thanks worked like a charm

TheGimp
06-26-2001, 09:18 PM
Originally posted by stiles:
<STRONG>the mount point hast to exist also:

#mkdir /cache</STRONG>


whooops
lack of coffee :D

[ 26 June 2001: Message edited by: TheGimp ]