Robert Yu wrote:
>>>Mikr I take it you took the time to read  this. Does this mean that if
>>>I only put the /, and the /home, and the Swap space. Would this mean
>>>that nothing else is put these directories and that if you want
>>>something extra, I'll throw in fat.
> 
> Thanks for the 13th reply to answer my questions. So the three main
> points of Linux that must be created are: /main root, /swap/, and
> /home (and maybe /mnt/windows for  Linux; and the rest, /lib and /var,
> are dropped into the /main root partition . Would Konqueror be a good
> replacement for WIndows Explorer?
> 
>From what I have seen, it is. I tend to use Midnight Commander in an
xterm, but that is personal preferrence. It lets me use the same file
manager in both the command line, and in X. I also have a copy that I
use with Windows.
> 
>>What happens is that everything is put in the / partition, except the
>>files/directories that go in the /home partition. If you didn't have a
>>/home partition, then the everyting would be on the / partition. The
>>swap partition is a special case - it doesn't get mounted the way other
>>partitions do, and it used the same way the swap file is used in Windows
>>- like it is SLOW system memory.
> 
> In this case, if stuff is actually put into  the / partition and I
> didn't include the /home partition of the three important partitions,
> unless I know what to do in /, wouldn't it be trouble?
> 
No. What would happen if you didn't have a seperate /home partition is
that /home would be a normal directory instead of a mount point, and
each user's home directory would be created in this directory. The only
time this would be a problem is if you wanted to do a full install
instead of an upgrade. When /home is its own partition, you can preserve
the data there, while formatting the rest of the / partition. If /home
is part of the / partition, you have to do a backup and restore to
preserve the data in /home.
> 
>>One thing that is very different between Linux and Windows is the way
>>disk partitions are handled. With Windows, each partition gets a
>>seperate drive letter. C:, D:, etc. With Linux, this doesn't happen.
>>Instead, when you mount a partition, it becomes part of the root (/)
>>file system. with your home partition mounted on /home, changing from
>>the /etc directory to the /home directory is like changing from drive C:
>>to drive D: in Windows, but it is done invisably to you, and to most of
>>the programs you run. There are some programs that are awary of the
>>different partitions, but they are mainly programs that report disk
>>usabe, and backup programs that have the option of only backing up data
>>from one partition.
> 
>  Always a pleasure talking to you, Mikkel. Just have a one question:
> does that stuff belongs to /Home stay in /Home? From what I've heard
> from others, I wouldn't want to do anything with root priveleges.
> After all, "whoever fiddles in /root will eventually kill tree". If
> you don't mind my asking: what are your partitions?
>
I am not sure I understand the question. Anything written to the /home
directory when the /home partition is mounted gets written to that
partition. This includes things written to any subdirectory of /home. So
if your home directory is /home/robert, then anything written to the
/home/robert directory ends up on the /home disk partition.

Keep in mind that /Home is not the same as /home. User's home
directories are normaly in /home, so if you create a mount point called
/Home, you will still end up with a /home directory as part of /.

My partition, on this machine, is fairly simple:

/dev/hda1    40G   /mnt/windows
/dev/hda2    22M   /boot
/dev/hda5   650M   SWAP
/dev/hda6   5.6G   /
/dev/hda7    12G   /home
/dev/hda8   805M   SWAP
/dev/hda9    54G   /backup

The two swap partitions are so I can play with software suspend, and
having 768M of system RAM. I usualy don't need any swap space, but I
needed a big swap partition to suspend the to. The /boot partition isn't
needed on this machine, but it was needed on the m achine the drive used
to be in. It is also kind of a habit from older installs...

If you want to see a complicated partitioning setup, I can grab the one
from my file server. It has the partitions split between 3 drives. It
has 2 SCSI drives, and 1 IDE drive. It boots off a SCSI drive. The IDE
drive was a later addition, and is used only for data storage.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to