Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 03-03-2004, 07:06 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,489
sde is on a distinguished road
Rename a Partition

I want to run my game server on it's own partition. a very small partition.

I have one /tmp that is 1 gb. I figure I can unmount it, then rename it, the remount it somewhere else.

How do i rename /tmp to halflife, then remount it?

Code:
# mv tmp halflife
or should i just do that?
__________________
Mike
sde is offline   Reply With Quote
Old 03-03-2004, 08:31 PM   #2 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
/etc/fstab

change your /tmp entry to /steam_is_lame then 'mount -a'

that might work, i have never had to do that before though. its not like the server can be anymore down, right?

you rule.
__________________


Urban Clothing
Admin is offline   Reply With Quote
Old 03-04-2004, 06:45 AM   #3 (permalink)
ender
Code Monkey
 
ender's Avatar
 
Join Date: Mar 2003
Location: Evansville, IN
Posts: 75
ender is on a distinguished road
Send a message via AIM to ender Send a message via Yahoo to ender
That is part of it.

I believe what you want to do is rename /tmp to /halflife, and change your fstab from /tmp to /halflife.

Then remount like so:
umount /tmp
mount /halflife


Hope that helps,
Ted Morse
__________________
while(1) fork();
ender is offline   Reply With Quote
Old 03-12-2004, 05:21 PM   #4 (permalink)
arockj
Registered User
 
arockj's Avatar
 
Join Date: Mar 2003
Posts: 13
arockj is on a distinguished road
You'll want to

unmount /tmp

mv tmp halflife

#edit fstab#
posible fstab entry
/dev/hda1 /tmp ext3 defaults 0 0
change /tmp to /halflife
/dev/hda1 /halflife ext3 defaults 0 0

mount /dev/hda1 /halflife

you will want to change /dev/hda1 to partition you need
arockj is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
When Uploading an image .. Can you rename with a space? sde PHP 6 08-11-2003 09:02 PM
view linux partition under win98 ? Hrqls Windows 17 01-17-2003 09:43 AM
/usr vs /var sde Linux / BSD / OS X 3 05-10-2002 05:57 PM


All times are GMT -8. The time now is 07:47 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting