LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-11-2008, 07:15 PM   #1
jonhanna
Member
 
Registered: Dec 2008
Posts: 31

Rep: Reputation: 15
Reason for putting a file-system on the outer cylinders of an HDD


does anyone know where i can get any info on why you would put /var at the beginning of a disk? also the command you use to become root from a shell is /root, correct? if anyone could give me info on where to obtain this info it would be greatly appreciated.
 
Old 12-11-2008, 07:26 PM   #2
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
To become root, type su and then enter the password when prompted.

Some distros use sudo for root privileges.

i.e sudo apt-get install package.

/var can be anywhere on the partition layout.

For security, /var will be on a separate partition. In case of a DOS attack, only the /var partition will be filled up from syslod writing to various log files. This will continue until disk space is exhausted.

Last edited by dv502; 12-11-2008 at 10:01 PM.
 
Old 12-11-2008, 07:27 PM   #3
JavaNinja
Member
 
Registered: Sep 2008
Posts: 90

Rep: Reputation: 15
Quote:
Originally Posted by jonhanna View Post
does anyone know where i can get any info on why you would put /var at the beginning of a disk?
Not sure what you mean here?

Quote:
Originally Posted by jonhanna View Post
also the command you use to become root from a shell is /root, correct?
This should prompt you for the root password to become root:
Code:
su -
 
Old 12-12-2008, 06:36 AM   #4
deepsix
Member
 
Registered: Apr 2003
Distribution: ANY
Posts: 339

Rep: Reputation: 31
/var I think is laid out that way to make it easy to remember where everything is starting with / . however you can put var any place you like...the great thing about linux is that you can completely customize most if not all of everything on your system.

root is where a tree gets its nutrients and where it starts to grow think of your filesystem as a tree with many branches and you will soon understand the meaning of root.
btw you can use an alternative name for administering your system.
 
Old 12-12-2008, 12:38 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Look here
 
Old 12-12-2008, 01:06 PM   #6
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 302
Blog Entries: 1

Rep: Reputation: 34
Tinkster
is there anyway to get pdf of this boot for FREE ?
 
Old 12-12-2008, 04:22 PM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
Could you please start making your thread titles more informative? "Help Me" or "Question" or "Urgent" simply aren't useful titles.
 
Old 12-12-2008, 05:21 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Indeed ... if everyone just put either "question" or "flame bait"
in their thread titles I'd pretty much resign and stop helping ;)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What type of file system can windows xp and linux both write to? The reason why is b sent17inel Linux - Hardware 7 02-13-2007 08:58 AM
HDD Spins down for no reason - solution? kkathman Linux - Hardware 1 10-04-2006 02:22 PM
Putting Suse 9.0 on an empty HDD The Redneck Linux - General 2 08-10-2006 10:17 AM
how many HDD cylinders = 1 megabyte? asilentmurmur Slackware 12 04-02-2006 12:55 AM
LILO after putting HDD into a new comp dj_relentless Linux - General 3 06-13-2002 08:05 AM


All times are GMT -5. The time now is 04:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration