Welcome to the most active Linux Forum on the web.
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 01-28-2005, 09:12 AM   #1
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, 09:27 AM   #2
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 366
Blog Entries: 1

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

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

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

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

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.


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 06:26 AM
command mount G_Slackw Linux - Software 6 06-21-2004 10:57 PM
MOUNT Command in LINUX richardrex Linux - General 3 10-17-2003 06:14 AM
Mount command emperor13 Linux - General 3 11-25-2001 01:06 PM
mount command loganwva Linux - Networking 3 09-19-2001 01:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:29 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