How do I change my tmp dir to another partition in Linux using fstab?

I want my tmp dir to be on /dev/sda9.  How do I do this?

[root@co-pacman-fc home]# cat /etc/fstab

# /etc/fstab
# Created by anaconda on Fri Aug 21 21:16:54 2009
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info
UUID=6b954268-589a-40ac-ae15-c3a7b9fa7424 /                       ext3    defaults        1 1
UUID=81412341-3f64-46a8-9a71-e2e3c7948195 /rpms                   ext3    defaults        1 2
UUID=23c471b0-c356-4e9c-a051-f335d7efc6fb /tmp                    ext3    defaults        1 2
UUID=1adab79f-d00c-48ae-bb1c-0cb5aafd3bbe /altroot                ext3    defaults        1 2
UUID=fad5b0b9-2c9c-4b4e-845e-388f4dd05a90 /var                    ext3    defaults        1 2
UUID=1f6979c4-d9ba-4e69-a3fe-f8fbdfc5c97a /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
UUID=ee1ed115-46dc-4451-940f-256eb415c26c swap                    swap    defaults        0 0
/var/swapfile                             swap                    swap    defaults        0 0

/dev/sdb1       /opt/hudson/builds      ext2    defaults
/dev/sda9       /opt/hudson/home        ext2    defaults
coax01-fs01-vif0.eng.trans.corp:/group1/groups/le/co /home/le nfs
caax02-fs01-vif01.trans.corp:/home2/home/le/ca /home/isg nfs
codv09-as52.eng.trans.corp:/export/build1 /nfs/codv09-build1 nfs
coax01-fs01-vif0.eng.trans.corp:/home2/home/pacman /home/pacman nfs
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

stev0931Author Commented:
Also, I'd need to find a way to do this without screwing up  /opt/hudson/home ;)
mkdir /opt/hudson/home/tmp
chmod 4777 /opt/hudson/home/tmp
rm -rf /tmp
ln -s /opt/hudson/home/tmp /tmp
Make that chmod 1777 (not 4777), sorry.  Or just 777.  Do ls -ld /tmp and see what it is now.
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

stev0931Author Commented:
That didn't work.  I get this:

[root@co-pacman-fc /]# rm -rf /tmp
rm: cannot remove directory `/tmp': Device or resource busy
stev0931Author Commented:

[root@co-pacman-fc /]# ls -ld /tmp
drwxrwxrwt 2 root root 569344 2010-03-25 10:05 /tmp

The 'tmp' is backcolored in green
stev0931Author Commented:
Looks like I got it to work with this in fstab:

/opt/hudson/home/tmp    /tmp    bind    defaults,bind 0 0

Double checking it now...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
stev0931Author Commented:
It worked
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.