LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-15-2007, 06:52 PM   #1
mhg
Member
 
Registered: Apr 2007
Location: Utah
Distribution: BodhiLinux
Posts: 205

Rep: Reputation: 30
am I thinking correctly about the Linux file system?


Hi All,

I did some reading from a google/linux search about the way Linux uses its file system and partitions.

When I installed I made three partitions, swap, "/" (about 10 gig), and "/home", about 120 gig. (I am dual booting with XP.)

Am I understanding correctly that anything I save in my "home" folder, or file, (which ever would be the correct term) is written to the "home" partition I created? So I make a folder for pictures in my home folder, and they will be written to and stored on this larger partition? Is it that simple?

Can additional Linux installs use the same home partition?

Thanks for any help.
 
Old 06-15-2007, 07:06 PM   #2
meng
Member
 
Registered: Apr 2005
Location: Rochester, MN
Distribution: Ubuntu 7.04
Posts: 127

Rep: Reputation: 15
Yes, you are correct in your thinking about the Linux filesystem. While you could mount the same partition as /home for multiple Linux installations, I wouldn't recommend it as you might find that one installation changes settings for another installation (e.g. MIME-type associations, menus, splash screens for app startups), many of these settings are stored in hidden folders in your /home/user folder.
 
Old 06-15-2007, 07:07 PM   #3
mobilemonkey
Member
 
Registered: May 2007
Distribution: slackware 11
Posts: 81

Rep: Reputation: 15
Quote:
Originally Posted by mhg
Am I understanding correctly that anything I save in my "home" folder, or file, (which ever would be the correct term) is written to the "home" partition I created? So I make a folder for pictures in my home folder, and they will be written to and stored on this larger partition? Is it that simple?
yes i think so

also, i think the correct term is 'home folder', but a folder is just a special type of file .

thats what i like about linux over windows, linux puts all your users program configs in your home folder, so its easy to back up, unlike windows where settings are all over the place, in the registry etc.

Last edited by mobilemonkey; 06-15-2007 at 07:09 PM.
 
Old 06-15-2007, 07:20 PM   #4
mohtech
Member
 
Registered: Dec 2004
Location: Denver Colorado
Distribution: Kubuntu/Debian
Posts: 120

Rep: Reputation: 15
A little bit to further your idea...

I am also dual booting Linux and XP. You can also create a new partition, FAT32, which is readable and writable for both OSes.
 
Old 06-15-2007, 07:26 PM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,764

Rep: Reputation: 306Reputation: 306Reputation: 306Reputation: 306
There is one safe way to use one /home partition for several Linux installations. Use a different user name in each distro. That way, each user has a unique /home/<username>. There is no overlap, preferences from one distro don't overwrite those of another, etc.
 
Old 06-15-2007, 07:30 PM   #6
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
You are not limited in any way, you can add a new hard disk to your computer and mount it under /home/mhg/movies (for instance). Every file you add into movies folder goes to that other disk then. Or you can mount a network volume in /home/mhg/music and listen them as they were local.
 
Old 06-15-2007, 07:55 PM   #7
mhg
Member
 
Registered: Apr 2007
Location: Utah
Distribution: BodhiLinux
Posts: 205

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Emerson
You are not limited in any way, you can add a new hard disk to your computer and mount it under /home/mhg/movies (for instance). Every file you add into movies folder goes to that other disk then. Or you can mount a network volume in /home/mhg/music and listen them as they were local.
Oh I like that!

Thanks for all the replies.
 
Old 06-15-2007, 08:05 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
One symantic subtlety: The "home" directory for a user is typically a directory with the user's name in the /home directory at the root level. Thus, if your username is fred, then your home folder (directory) is /home/fred.
Your files and other stuff will go physically to whatever partition is mounted (connected) to /home.

You could also mount a partition to /home/fred---or to any other directory.
 
Old 06-17-2007, 01:57 AM   #9
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
An even more subtle subtlety; it's 'semantic', unless you're talking about a certain MS oriented product
 
  


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
when does linux switch from realmode file system to protectedmode file system sitthar Linux - General 3 04-08-2006 08:05 AM
Thinking about a dual-boot system... Tuxman8898 Linux - General 4 10-25-2005 07:14 PM
My system can't display chinese correctly! lonelyghost317 Linux - Software 1 06-29-2005 08:26 PM
Correctly Shutting down system thats hanging BogoMips Slackware 1 05-08-2002 08:41 PM


All times are GMT -5. The time now is 03:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration