LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 08-14-2003, 10:44 PM   #1
hamoksh
LQ Newbie
 
Registered: Jul 2003
Distribution: SlackWare - RedHat - SuSE
Posts: 26

Rep: Reputation: 15
AutoMounting .???...............yes, Again :)


hey guys , sorry for the subject, i know it has been repeeted alot but how can i auto mount my fat drives
and please explain the code to put in fstab
i don't want u to throw me any bones
 
Old 08-14-2003, 10:55 PM   #2
contrasutra
Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
Search the forums for something like "mount windows partitions" or "mount fat32 partitions"
 
Old 08-14-2003, 10:59 PM   #3
quest4knowledge
Member
 
Registered: Aug 2003
Distribution: gentoo
Posts: 62

Rep: Reputation: 15
assuming it is an ide device you would put this line in your /etc/fstab

/dev/hdXY /mnt/windoze vfat defaults 0 0

X=drive
Y=partition
/mnt/windoze= where ever you want to mount it

Hope this helps
 
Old 08-14-2003, 11:11 PM   #4
Zb7
Member
 
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86

Rep: Reputation: 15
Quote:
Originally posted by quest4knowledge
assuming it is an ide device you would put this line in your /etc/fstab

/dev/hdXY /mnt/windoze vfat defaults 0 0

X=drive
Y=partition
/mnt/windoze= where ever you want to mount it

Hope this helps
Also, you may have problems accessing this as a user (not-root) depending on what your defaults are. If that is the case, modify the fstab to say

/dev/hdXY /mnt/windoze vfat defaults,umask=022 0 0


or you can set the umask to 222 or 002 or 000, depending on how secure you want the drive. By the way, umask is sorta like the reverse of chmod when it comes to numbering.

Also, sometimes windows (i know this happens in XP) likes to keep a stranglehold on the drives. If this is the case, go into windows, and change the local sharing on the drive.
 
Old 08-15-2003, 09:38 AM   #5
c_cinq
LQ Newbie
 
Registered: Aug 2003
Location: miami, fl
Distribution: 64Studio, A/DeMudi, opensuse 11.0
Posts: 17

Rep: Reputation: 0
/etc/fstab

i am having a similar fstab problem. I installed a cdrecorder(cd-rw) and when I try to mount it I get the error message:
no final newline in /etc/fstab or something.
some help, please?
 
Old 08-15-2003, 01:24 PM   #6
quest4knowledge
Member
 
Registered: Aug 2003
Distribution: gentoo
Posts: 62

Rep: Reputation: 15
Well, this is just a quess since I have never seen this error before. Maybe try adding a single blank line to the end of that file. Kinda sounds like what the error is asking for.
 
Old 08-15-2003, 01:25 PM   #7
hamoksh
LQ Newbie
 
Registered: Jul 2003
Distribution: SlackWare - RedHat - SuSE
Posts: 26

Original Poster
Rep: Reputation: 15
thanx guys
but what does windoze in the code refer to ........?
and when i mount the drive , where would it appear ?
 
Old 08-15-2003, 02:07 PM   #8
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
/mnt/windoze simply refers to your mount point - ie a new directory called windoze in your /mnt directory - you can access windoze by openeing your /mnt directory

ie to create this mount point - do

Open a command line shell

su
root password

mkdir /mnt/windoze

This simply creates a new directory called windoze in your /mnt directory

Last edited by Skyline; 08-15-2003 at 02:13 PM.
 
  


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
Automounting cybersaga Slackware 4 02-03-2005 11:53 PM
automounting?? graffitici Linux - Hardware 6 07-04-2003 03:58 AM
AutoMounting dkc_ace Linux - Hardware 2 05-13-2003 01:57 PM
Automounting vector Linux - General 4 03-19-2003 05:00 PM
automounting cornelius Programming 3 07-05-2002 07:07 PM


All times are GMT -5. The time now is 06:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration