Author Topic: mount points 2009.2  (Read 1984 times)

bligh

  • Guest
Re: mount points 2009.2
« Reply #15 on: February 14, 2010, 12:07:15 PM »
Thanks for the reply, that sounds ideal.  I started keeping a separate drive for data with win 95/98 and that worked well.  With the larger drives that was unecessary, and with  laptops didn't work.  2009 installer doesn't give you a lot of choices.  Another issue where a previous version just worked.
Cheers

Offline jimwilk

  • Hero Member
  • *****
  • Posts: 1114
Re: mount points 2009.2
« Reply #16 on: February 14, 2010, 01:40:13 PM »
bligh,
Take another look at my previous post. I have edited it to include some cautions that could save you tearing your hair out.

Jim
PCLinuxOS 2013.01 KDE (2 desktop computers)
PCLinuxOS  2013.04 KDE on Asus  laptop


Windows free since 2005
Our house has windows: our computers have no Windoze!
Registered Linux User #409991

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6379
  • I'm going South
Re: mount points 2009.2
« Reply #17 on: February 14, 2010, 03:35:01 PM »
I would like the data partition separate from the os partition so if the os partition is trashed or just re-installed the data is not lost.
Cheers

You could do worse than taking jimwilk's advice. But I think you should be aware of a few details related to how files are organized on Linux.

1. Most partitions have to be mounted before you can access them. They are usually mounted somewhere under the / partition (which means on a mountpoint directly under / or under a subdirectory of /, or under a subdirectory of a subdirectory of /, and so on). There are exceptions: the swap partition is mounted but not under /, and you can watch a DVD without mounting it.

2. The place where a partition is mounted is called a "mountpoint".

3. A mountpoint is simply an empty directory (a.k.a. a folder), and if you are going to specify how a partition is to be mounted in /etc/fstab, you can create the mountpoint almost wherever you want. (I would leave the /proc and /dev directories alone though.)

4. If you let HAL do the mounting, you won't have to create a mountpoint, because HAL will create it on the fly under /media. You can't let HAL mount / or /home though. (But you may be able to let HAL mount a separate data partition.)

5. A user's home directory (/home/<username>, sometimes abbreviated as "~") is intended for that user's personal setup files and data.

6. It is a good idea to give its parent directory, /home, a partition of its own, because then you can reinstall your system without overwriting either your users' configuration files or their data -- if you just don't format the /home partition. Normally you'd then want the /home partition to be quite large.

(7. The systemwide configuration files go under /etc, and usually you can't retain them when you reinstall.)

8. But you may want to store your data on on still another partition instead of intermixed with your setup files. This is particularly useful if several users need access to the same files, or if you need to format the data partition with a Windows filesystem because you want to access them from both Linux and Windows.

9. If you have your userdata on a separate partition, that should be the large one and /home can be quite a bit smaller.

10. If you only have one user (apart from root) you might also consider mounting the separate data partition somewhere under /home/<yourname>. That would be slightly more standards compliant than creating a mountpoint directly under /.
« Last Edit: February 14, 2010, 06:02:48 PM by blackbird »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

bligh

  • Guest
Re: mount points 2009.2
« Reply #18 on: February 14, 2010, 05:29:15 PM »
Thanks for all the help, I have learned some about mount points and hal.  I can move them around a little now, other than that Pclinux is great.
Cheers