Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-12-2011, 05:04 PM   #1
Registered: Aug 2009
Posts: 182

Rep: Reputation: 15
Formatting scheme and mount points - multiple SATA disks on Slackware 13.1


I have a server intended for file storage/backup and SVN + Trac

The disks are arranged like this:

/dev/sda - 80GB
/dev/sdb - 80GB
/dev/sdc - 200GB
/dev/sdd - 160GB
/dev/sde - 250GB

I am using 1024MB of dev/sdd as swap partition and the rest for a root partition.

Slack is suggesting to mount to /usr/local. Do i have to do this ?

Can i make my own mount points ?

like: dev/sda on /svn ?

And if someone can tell me what all the standard folders are used for, like /usr /sbin and so on.

Kind regards Mads Nielsen
Old 07-12-2011, 05:33 PM   #2
Senior Member
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,145
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Thumbs up

Originally Posted by madsovenielsen View Post
Slack is suggesting to mount to /usr/local. Do i have to do this ?
Slack is suggesting what to mount to /usr/local. Please ellaborate.

And yes you can mount any partition on any folder for example :

mount /dev/sdb1 /mnt/data
mount /dev/sdc1 /data
Learn about linux filesystem directory structure HERE
Old 07-12-2011, 05:44 PM   #3
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,389

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
Slack is suggesting to mount to /usr/local. Do i have to do this ?
to /usr/local or not to /usr/local that is the question ....

if this is NOT a multi computer set up ( as in this in NOT a office or you do not have 4 or more computers at home in a home network )
then i would not make a /usr/local

/usr/local is the / for the machine you ARE sitting in front of right now
for a network and thin client set up

so unless you are using that type of set up you do not need it

there are two camps on this
the ones that it must be there
the second
the ones who do not use it and do not think it should be there

I am of the second group

but make up your own mind on this
Old 07-13-2011, 05:30 AM   #4
Registered: Aug 2009
Posts: 182

Original Poster
Rep: Reputation: 15

Do i have to make the folders first before i choose them as mount points ?

Kind regards Mads Nielsen
Old 07-13-2011, 05:33 AM   #5
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860
Yes, those folders have to exist before you can use them as mountpoints.
Old 07-13-2011, 07:03 AM   #6
Registered: May 2009
Location: Chelmsford, England
Distribution: OpenSuse 12.2 and 13.2, Leap 4.2
Posts: 120

Rep: Reputation: 24
If you install any distribution in a single file system / (what you call the root system) it will contain a number of folders including the following:

/root - the home directory of the superuser;
/home - which contains the users' home directories;
/bin, /sbin, /lib - contain the system software. i.e. that which does not run in user space;
/usr - for software that does run in user space (actually, most software), contains /usr/bin, /usr/sbin, /usr/lib.

Note that the difference between bin and sbin is that the latter contains executables which only the superuser can run.

There are also /opt and /usr/local (with /usr/local/bin, /usr/local/lib) which are generally used for software from outside the distribution. For example, if you install Adobe Reader from Slackware, the executable will probably go in /usr/bin; if you download it from Adobe, then the files will probably finish up in /opt. Similarly, if you download and compile software, the makefiles usually direct the output files to /usr/local, though this can be changed.

The problem is that if you reinstall the distribution, possibly updated, all will be overwritten and any non-distribution stuff lost. However, there is a way round. If you, for example, nominate a separate partition as /home, then the original folder /home will always be empty but the designated partition will be automatically mounted on it and will contain the user files. Now, if you reinstall, you can instruct the installer to use this partition as /home but not format it and thus preserve the old user files. You can do the same with /usr/local, so that /usr/local/bin etc. will be created on the new partition, and thus preserve the non-distribution stuff; whether you do so depends on whether you are likely to have anything to preserve.

Notice that installing software in any folder under /opt or /usr requires superuser permission and is available to all users. However, user files also contain /bin and /lib; users can normally install and run software here without permission, but it is only available to the specific user.


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
On the fly mount points for removable storage disks kite Slackware 1 10-09-2005 07:19 AM
how to mount 2 SATA RAID0 disks student04 Linux - Hardware 7 01-08-2005 04:04 PM
Multiple mount points alsm Linux - Software 1 03-28-2004 03:05 PM
multiple mount points for cds lavoisier Mandriva 2 10-22-2003 06:59 AM
Multiple Mount Points LinuxGeek Linux - General 2 07-28-2002 06:46 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 AM.

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