Jump to content

Symbolic or hard link [solved]


Recommended Posts

Not sure if this is in the right forum...Please move if not.

 

I have a raid array separate from my linux install. When I go to save documents and the like I have to click up through the file system, back to /mnt then my raid array and then to the directory i want.

Is it possible to put a link in my /home directory that I can click that will take me straight to my raid array?

 

Thank you.

Link to comment
Share on other sites

Just make a symlink to it (you cannot hard link across file systems). Assuming the raid array is (auto-) mounted at /mnt/raid issue following command in a terminal (whilst being inyour own home directory):

 

ln -s /mnt/raid

 

This will create the symlink

Link to comment
Share on other sites

Hmmmm. Can you from console issue following comments (being in the directory wherever you created the link):

 

ls -logt raid
mount

This should show something like:

lrwxrwxrwx 1 11 2007-05-07 22:31 raid -> /mnt/raid/
..

And a list of eveything what has been mounted.

Link to comment
Share on other sites

Oh dear. Sorry pindakoe. I have had another go at the first command you suggested and it worked flawlessly. I made a typo in my first attempt! :wall:

 

So, yes now in my home folder I have a "folder" that when clicked goes straight to my array. Thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...