LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting Drives (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-drives-276032/)

the_imax 01-10-2005 07:35 AM

Mounting Drives
 
HI

Can anyone tell me how can I mount the windows drives in my RH9 and how can I mount my kingston flash drive?

I know it has something to do with fstab but I can't do it properly, although I hav tried :(

uman 01-10-2005 07:58 AM

If your windows drive is on hda2 (It may be something different in your case) then you should type
Code:

mount /dev/hda2 /mnt/windows
You will have to create the /mnt/windows directory beforehand. Your USB frash drive is probably on sda, so you would do
Code:

mount /dev/sda1 /mnt/flashdrive
(once again you will have to create the mount point)

Fstab is for mounting things at boot.

MrSavage 01-10-2005 08:12 AM

I have another question as well how come on suse non-root accounts cannot write stuff into the drive(drive is fat32 not ntfs). Is there a way around this?. I try to give other users 755 permission but it just gets rejected by the system.

Tino27 01-10-2005 12:28 PM

In order to allow non-root users to write to the flash drive, the individial user must mount the media, not root. In order to do this, you must make an entry into /etc/fstab that specifies "users" as one of the mount options. So, for instance...

/dev/sda1 /mnt/kingston vfat default,users 0 0

Then to mount the drive, as the user (not root)...

mount /mnt/kingston


All times are GMT -5. The time now is 04:01 AM.