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 |
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 |
Re: mounting a FAT slave
Quote:
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 |
Thanks. That was really easy!
|
All times are GMT -5. The time now is 10:56 PM. |