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 02-18-2004, 12:28 AM   #1
viperkt400
LQ Newbie
 
Registered: Feb 2004
Distribution: red hat 9
Posts: 13

Rep: Reputation: 0
mounting a FAT slave


Hey, I have only been using Linux for about 4 days now since I scrapped XP, so I know nothing. I am running redhat 9 and I have a slaved FAT drive. I have logged in as root and tried things on the other threads like mkdir /dirname and mount the drive to that folder using the mount -t vfat mnt/dev/hdd1/dirname

when I try this is get something like the following:

[root@localhost root]# mount -t vfat /mnt/dev/hdd1/windrive
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options].
For many more details, say man 8 mount .

whats the deal?

under the hardware browser it shows the hard drive and the specs of the slave
 
Old 02-18-2004, 12:52 AM   #2
IRIGHTI
Member
 
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121

Rep: Reputation: 15
Ok When you use mount you want to do it like this:

mount -t [fstype] [device] [directory]

so you would input:

mount -t vfat /dev/hdd1 /mnt/windrive

assuming /dev/hdd1 is the partition you want to mount and /mnt/windrive is the directory you want to mount it to. Make sure you have a directory there though:

mkdir /mnt/windrive

EDIT: Also the man pages are your friends:

man mount

Last edited by IRIGHTI; 02-18-2004 at 12:53 AM.
 
Old 02-18-2004, 01:51 AM   #3
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Rep: Reputation: 33
Re: mounting a FAT slave

Quote:
Originally posted by viperkt400
[root@localhost root]# mount -t vfat /mnt/dev/hdd1/windrive
U can either use syntax mentioned by IRIGHTI or add a record to /etc/fstab and use this command as u wrote it.

U will probably also need to add a line similar to this to fstab if u will need to give a nonprivileged user access to this partition

/dev/hdd1 /dirname vfat umask=000,rw 1 0
 
Old 02-18-2004, 09:05 AM   #4
viperkt400
LQ Newbie
 
Registered: Feb 2004
Distribution: red hat 9
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks. That was really easy!
 
  


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
Mounting hard Disk (Slave) amer_58 Linux - Newbie 2 03-17-2005 05:35 PM
Mounting NTFS Primary Slave HD Blackout_08 Linux - Newbie 5 08-16-2004 10:54 AM
Slave mounting problem The_fuzzy_cow Mandriva 1 11-29-2003 11:18 AM
Help mounting a redhat 9.0 slave harddisk gblue Linux - Newbie 5 09-28-2003 10:32 AM
Problems mounting NTFS slave jstef Linux - General 5 02-05-2003 03:45 AM

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

All times are GMT -5. The time now is 05:48 PM.

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