Share your knowledge at the LQ Wiki.
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 06-20-2002, 09:21 AM   #1
DaDdY SnEb
Registered: Jun 2002
Location: Nice
Distribution: SuSE Linux Pro Version: 8.2
Posts: 159

Rep: Reputation: 30
automatic mounting

On my KDE desktop there's a CD-ROM icon that mounts my CD-ROM drive automatically when I click on it, well I tried to do the same for my Windws C drive, so I right clicked the desktop, chose create hard drive and typed in the command mount /dev/hdX and it doesn't work. I mean it does but it doesn't mount the drive automatically, I have to mount it manually using the terminal and then I can use my created icon to explorer the content of the drive.

How can I make it automatic?
Old 06-20-2002, 09:36 AM   #2
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
you can do so by editting the /etc/fstab
Old 06-20-2002, 09:52 AM   #3
DaDdY SnEb
Registered: Jun 2002
Location: Nice
Distribution: SuSE Linux Pro Version: 8.2
Posts: 159

Original Poster
Rep: Reputation: 30
How do I edit it? Using the vi command? Can I do it with KDE instead? What do I have to modify?
Old 06-20-2002, 10:40 AM   #4
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
You don't have to use vi, there are other editors out there. Yes you can do it with KDE, go to /etc and scroll down to fstab then edit the file by right clicking on it and opening with advanced text editor or anything you'd like. And you don't actually modify anything, rather add a line. Something like:
/dev/hdX /mnt/windows vfat (or ntfs whichever your fs type is) defaults 0 0

Or something very similar to that.
Old 06-20-2002, 03:48 PM   #5
Registered: May 2002
Location: Hell, A.K.A. Arizona
Distribution: MD 8x / WIN2K / QNX
Posts: 156

Rep: Reputation: 30
You could also run Linuxconf to set it up to automount.

Just use the file systems tab, then selct the drive and partition and its associated file system. That will edit etc/fstab for you graphically.


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
automatic mounting and write acces oldforce Ubuntu 2 04-19-2005 04:51 PM
Automatic mounting of CD on Mandrake 10 iliks Mandriva 9 08-01-2004 05:29 PM
Automatic mounting without autofs installed hampel Linux - Distributions 0 07-04-2003 11:00 AM
Automatic mounting DaDdY SnEb Linux - Newbie 2 05-30-2003 11:07 AM
Automatic Mounting of NTFS macshark Linux - Newbie 5 03-01-2003 01:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:32 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
Open Source Consulting | Domain Registration