LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   usb mounting problem (https://www.linuxquestions.org/questions/slackware-14/usb-mounting-problem-454891/)

yongitz 06-14-2006 10:24 PM

usb mounting problem
 
hi there!! i do have a problem when i try to mount my usb.. it only mount as read only.. i have tried the suggestion given on this thread:

http://www.linuxquestions.org/questi...t=mounting+usb

but nothings seems to happen. when i insert my usb it makes a new entry to the /etc/fstab and it reads just like this:

/dev/sda1 /mnt/sda1_removable vfat,msdos auto,users,suid,dev,exec 0 0

and just erased my entry which was suggested in the thread above

/dev/sda1 /mnt/flash vfat noexec,fmask=133,dmask=022,user,noauto 0 0

any help would be greatly appreciated..

p.s. im using a slackware 5.0.1 and complete newbie in linux

Bruce Hill 06-14-2006 10:46 PM

Why are you using such an old version of Slackware? It's now at version 10.2 and soon to release 11.0 If it's because you have an old computer, that's no reason to use an old version. Support and packages will be better in 10.2.

As for the USB drive, this is what I use:
Code:

/dev/sdc1        /mnt/usb        vfat        noauto,users,rw,umask=1000  0  0
/dev/sdd1        /mnt/usb1        vfat        noauto,users,rw,umask=1000  0  0

They mount read-write (rw) for users, and if you use a desktop environment such as KDE, you can do this:
Click the System icon on the desktop, then click Storage Media, then click Removable Device (sdc1) or whichever is appropriate on your system -- which will open Konqueror as a file browser. After using the device, and before unplugging, navigate back in your directory to that system:/media/ directory and right-click on the device and choose Safely Remove.

NB: I have mine set as /dev/sdc1 and /dev/sdd1 because I have two SATA drives in this computer which are /dev/sda and /dev/sdb. You'll need to change those entries accordingly for your system; as well as make a mount point for the devices.

My mount points are under / and not /mnt because I like them that way, and these are perms:
Code:

mingdao@silas:~$ ls -alh /mnt/usb
total 8.1M
drwxrwxrwx 2 mingdao users 1.0K 1970-01-01 07:00 ./
drwxr-xr-x 8 root    root  192 2006-05-12 07:00 ../

I have absolutely no clue how mounting a USB drive would/could modify /etc/fstab. That's a new one on me. ;)

props666999 06-14-2006 10:53 PM

Hi

I use this entry in fstab for my lexar usb
Code:

/dev/sda1      /mnt/lexar        vfat        auto,user,rw    0  0

rkelsen 06-14-2006 11:20 PM

Quote:

Originally Posted by yongitz
im using a slackware 5.0.1 and complete newbie in linux

Huh?

There was no "Slackware 5.0.1". The version number jumped from 4.0 to 7.0 because Pat got sick of people asking when he was going to catch up with RedHat.

P.S. Since most USB memory devices are formatted with some form of FAT filesystem, I use Mtools to access them. No mess, no fuss, no mounting. ;)

yongitz 06-15-2006 12:12 AM

sorry it's slax 5.0.6!! i didnt bother to upgrade to a newer version since many apps have been running on this machine and m not that expert yet to shift a newer version.. im still on exploring redhat 9. by the way rkelsen where can i get that mtools that you're saying? anyway ppl.. thanks very much!!

rkelsen 06-15-2006 12:36 AM

Quote:

Originally Posted by yongitz
where can i get that mtools that you're saying? anyway ppl.. thanks very much!!

It is part of the Slackware "floppy" package in the "a" series, so it should already be installed. Configuration is simply a matter of editing /etc/mtools.conf.

MTools is a set of CLI-based tools, but you can get a GUI frontend from here:

http://www.core-coutainville.org/MToolsFM/

In my experience, it works extremely well with USB memory sticks.


All times are GMT -5. The time now is 04:55 PM.