Jump to content

Modifying fstab


plati
 Share

Recommended Posts

I have two other harddrives apart from my linux partition which I am getting sick of continuously mounting everytime I log on. I tried to edit fstab but it sort of scared me off. Both the drives are fat32, one is at /dev/hda5 the other at /dev/hdb1 and their mount points are /mnt/media and /mnt/share respectively.

 

I would also like to create shortcuts to them from my /home directory, if you could also tell me how to do that, it would be good B)

 

Thanks!

Link to comment
Share on other sites

you can mount them directly to your home directory instead of mounting at /mnt:

 

# some place at fstab:
/dev/hda5 /home/your_mnt_point auto defaults 0 0

 

or if you want to keep them at /mnt/ just create soft links:

# some place at fstab:
/dev/hda5 /mnt/media auto defaults 0 0

............................

~# ln -s /mnt/media /home/your_mnt_point

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...