Microsoft
Software
Hardware
Network
Question : Attempting to move /tmp directory to another partition.
Working with redhat linux 5 32-bit. I'm trying to move the /tmp folder to another partition to give it more space so I executed the following command:
sudo mount -t ext2 /dev/sda6 /tmp (see attached image for a screenshot of the session).
However when I do a df -k now, the /tmp folder shows up under both the /dev/sda5 and /dev/sda6 partitions. Also a can't open up the system manager or a new terminal session so overall the system appears to be pretty hosed. This is a vmware image and I have a backup so restoring it back isn't an issue but I'd like to figure out how to successfully move the folder to the new partition.
Attachments:
Screenshot-1.png
(358 KB)
(File Type Details)
screenshot of terminal session
Answer : Attempting to move /tmp directory to another partition.
edit the /etc/fstab, remove the line /dev/sda5..../tmp
and, then run mount -a
If you could not edit the fstab do the repair:
#mount -w -o remount /
and edit fstab
Random Solutions
Can't print to Dymo Labelwriter 400 turbo after adding labelwriter 450 turbo drivers on windows 2003 terminal server
What is the best Server Antivirus going right now? What are you guys using?
How deploy a website shortcut to 200 users desktop
Windows batch file to trigger e-mail notification.
Do WPF and MVP go together?
Word 2003 - working with tables, rows, and cells
Inserting data into a varbinary(max) field
Dialog.ModalityType.APPLIC
ATION_MODA
L
transfering a directory with multiple files in parallel
writing lines to htaccess file