LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-28-2005, 10:12 AM   #1
vishalfirke
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
Question Mount Command


I have Install Redd hat linux 7.2 .Now i want to mount my windows software drive which is /hdb6.I have written the mount command in /etc/mtab file.Like
mount -t vfat /dev/hdb6 /mnt/soft
but when i restart my compuetr ,this line of mount coomand is noot there and my dirve is get mounted.
so pls anybody tell me how can i mont my drive permanantly.
 
Old 01-28-2005, 10:27 AM   #2
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 365
Blog Entries: 1

Rep: Reputation: 44
mtab shows currently mounted partitions, you should be editing fstab try man fstab for detailed instructions

happy hunting,
jrtayloriv
 
Old 01-28-2005, 10:28 AM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Don't use mount. Add this line to your /etc/fstab instead:

Code:
/dev/hdb6 /mnt/soft vfat uid=500,gid=500,umask=000,exec,dev,suid,rw 1 0
Good luck!
 
Old 01-28-2005, 10:34 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
/etc/mtab is created automatically and represents all mounted filesystem. If you would like to mount a filesystem on bootup, you need to add this to /etc/fstab.

The syntax is little different from the commend you would use on command line. In one line, you put information on
1. device (/dev/hdb6)
2. mountpoint (/home)
3. filesystem (ntfs)
4. options (auto,users,umask=000)
5. some special info, how fsck has to treat the partition (mostly 0 0)

See man fstab and man mount for further details.
 
  


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
About mount command A-Liang Programming 1 11-18-2004 07:26 AM
command mount G_Slackw Linux - Software 6 06-21-2004 11:57 PM
MOUNT Command in LINUX richardrex Linux - General 3 10-17-2003 07:14 AM
Mount command emperor13 Linux - General 3 11-25-2001 02:06 PM
mount command loganwva Linux - Networking 3 09-19-2001 02:27 PM


All times are GMT -5. The time now is 05:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration