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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-01-2013, 03:56 PM
|
#1
|
LQ Newbie
Registered: Feb 2012
Posts: 7
Rep: 
|
Symbolic links
Hi everyone,
I've got two partitions on my HDD, one for my data in Fat32 and another one in ext4 for the system. What I would like to do is creating symbolic links between the folders of my home and the folders in my data partition, and like this, when I go in the folder music for example in my home, it open actually the folder "music" of the other partition. So I tried with the 'ln -s' command, but it doesn't work well.
For example when I open the music folder in my home, I have a shortcut which points to the folder of my other partition. How to do for having directly the contents of my other folder in my music folder of my /home when I open it ?
Furthermore, the partition isn't automatically mounted when I try to use the shortcuts created. I need before to mount the partition in clicking on it in the file manager.
Thanks for help.
|
|
|
01-01-2013, 04:04 PM
|
#2
|
Senior Member
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
|
Hi
You will have to add an entry in /etc/fstab to get the drive to mount at boot.
Where do you mount the data partition?
|
|
1 members found this post helpful.
|
01-01-2013, 04:37 PM
|
#3
|
Senior Member
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
|
Another way would be partition the data drive in to 4 or 5 partitions then you could mount each partition at "example" /dev/sdxx /home/user/Downloads
makeing enough partitions for each folder
|
|
|
01-01-2013, 04:59 PM
|
#4
|
LQ Newbie
Registered: Feb 2012
Posts: 7
Original Poster
Rep: 
|
Ok thanks, I added the following line in my fstab file :
Code:
UUID=E529-1273 /media/Data vfat rw,user,auto,exec,gid=1000,uid=1000,umask=007,iocharset=utf8,codepage=850,shortname=mixed 0 0
As you can see, the partition is mounted in /media/Data
I hope it's ok, I'll try tomorrow.
I prefer keep only one partition for all my data if possible..
Last edited by Matx; 01-01-2013 at 05:27 PM.
|
|
|
01-02-2013, 09:57 AM
|
#5
|
LQ Newbie
Registered: Feb 2012
Posts: 7
Original Poster
Rep: 
|
Ok, I resolved my problem, it was actually pretty easy. I just deleted the folders music,etc in my home, and created symbolic links with 'ln -s /media/Data/Music ~/Music' (the same with others folders)
|
|
|
All times are GMT -5. The time now is 04:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|