LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-29-2010, 10:07 PM   #1
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Rep: Reputation: 34
Automatically mount partitions under /media instead of clicking, without fstab


I'm using Kubuntu 9.10. Partitions get listed in the sidebar when I open the File Manager, but they don't get mounted under /media until I click on the entries. I do not want to use /etc/mtab and mount them under folders I create in /mnt; would prefer if there was a way to mount the partitions without Kubuntu waiting for me to click on the names.
 
Old 03-30-2010, 03:25 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
What sort of partitions? On hot-pluggable devices?
 
Old 03-30-2010, 11:49 AM   #3
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Original Poster
Rep: Reputation: 34
No,those devices automatically mount when I plug them in. I'm referring to partitions of a hard drive, which are listed in Doplhin (File Manager), but are mounted only when you click on them.
 
Old 03-30-2010, 12:11 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Why the requirement to not have them in fstab?
 
Old 03-30-2010, 12:12 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
I do not want to use /etc/mtab and mount them under folders I create in /mnt;
1] It's not /etc/mtab it's /etc/fstab
2] You don't have to create directories in /mnt, you can create them anywhere, even in /media

So, create the directories in /media (if that is where you want them to be mounted) and make the relevant entries in /etc/fstab.

Then the partitions will be mounted to the right places at boot time.
 
Old 03-30-2010, 08:12 PM   #6
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Original Poster
Rep: Reputation: 34
Well I went ahead and places the entries in fstab, and it works. I was initially afraid that Ubuntu would mount the same partition twice, but that doesn't happen.
 
  


Reply


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
Network drives won't mount automatically from FSTAB khinch Linux - Networking 2 01-14-2009 12:44 PM
How to mount SAMBA shares in /etc/fstab automatically? Micro420 Linux - General 7 06-16-2006 05:24 AM
fstab will not mount partitions n926bb Fedora 29 06-14-2006 12:55 PM
How to mount FAT partitions under Linux automatically cquedugdylp Linux - Hardware 9 03-23-2005 10:14 PM
Why a FSTAB entry will mount using -a switch but will not mount automatically at boot mjen Linux - Newbie 3 05-19-2004 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 AM.

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