LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-27-2005, 12:00 PM   #1
Master Fox
Member
 
Registered: Aug 2004
Location: UK
Distribution: Arch (Duke / Desktop), FreeBSD 6.1 (Home-Dev server)
Posts: 131

Rep: Reputation: 15
How to access usb?


I got a cosair usb stick, and it says its compatiable with linux but I do not have a clue on how to access it, seeing as i just reinstall linux after my kernel crash I dont have a clue on how to access the usb stick and make use of it, anyhelp would be nice,

Thanks

Master_Fox
 
Old 12-27-2005, 12:14 PM   #2
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 48
Search the forums, this has been answered over a million times.
 
Old 12-27-2005, 12:51 PM   #3
Master Fox
Member
 
Registered: Aug 2004
Location: UK
Distribution: Arch (Duke / Desktop), FreeBSD 6.1 (Home-Dev server)
Posts: 131

Original Poster
Rep: Reputation: 15
well then atleast could you give me some keywords, to search on, so far i had no luck at all and I did do a search before posting this thread

Ok, well i got sda1 and stuff but how do i know which usb is what I have about 5 on my pc but how do i find out which one is which???

Edit: Thanks, for getting me to search I worked out how to do it

Last edited by Master Fox; 12-27-2005 at 01:12 PM.
 
Old 12-27-2005, 01:31 PM   #4
Gsidious
Member
 
Registered: Nov 2005
Location: Oregon
Distribution: Ubuntu
Posts: 64

Rep: Reputation: 17
Ok, here is a trick I like for USB drives, (haven't tried this on Slackware lately, but assume it should work...). First type this command in a terminal:
tail -f /var/log/messages
Now stick in the usb drive and watch the messages. You should see the device get detected, and what SCSI device it gets mapped to. Now just mount it where you want. Oh, and type "Ctrl-C" to quit the "tail" command. Example: say it is mapped in as sdd drive, you could then mount it with the command:
mount -t vfat /dev/sdd1 /mnt/usb
This example assumes the directory /mnt/usb exists, modify as needed.
HTH.
 
Old 12-27-2005, 02:52 PM   #5
Master Fox
Member
 
Registered: Aug 2004
Location: UK
Distribution: Arch (Duke / Desktop), FreeBSD 6.1 (Home-Dev server)
Posts: 131

Original Poster
Rep: Reputation: 15
thanks for that, that helped me loads also it works
 
Old 12-27-2005, 06:18 PM   #6
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
In Slackware, generally a "mount /dev/sda /mnt/[mountpoint]" works for me. I added it into my fstab and just clickety-click a little "mount /mnt/usb" and it works fine every time.
 
Old 12-27-2005, 08:39 PM   #7
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Hi Poetics,
Is /dev/sda a typo? Did you mean /dev/sda1 or /dev/sda4 for example?
I have a USB key and an iRiver that get mounted on different sda partitions - I'd love to be able to have just the one line in my /etc/fstab, but using that syntax doesn't work for me. I get the error 'mount: wrong fs type, bad option, bad superblock on /dev/sda'.
 
Old 12-27-2005, 08:49 PM   #8
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Sorry, yeah that was a typo -- /dev/sda1 is the correct setting.

sda1, in my experience, refers to the first USB item that gets mounted, so if I put an mp3 player on it'd also mount as sda1 if I were to load it first
 
Old 12-28-2005, 12:45 AM   #9
ateam
Member
 
Registered: Jul 2004
Location: The State of Confusion
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
Don't forget to do "umount /mnt/usb" and then "eject /dev/sdXX" afterwards!
 
  


Reply



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
How to access USB in solaris 8.0 alix123 Solaris / OpenSolaris 1 11-18-2005 07:29 AM
CAn I access USB without.. wrangler Linux - Newbie 1 11-11-2005 01:08 PM
Is it possible to access USB without.. wrangler Debian 4 11-11-2005 12:39 PM
USB LexarMedia 32MB Data-Key + KDE 3.2=USB/HD Access problems that_guy Slackware 0 02-03-2005 08:27 AM
Access To USB Devices salvatore Linux - General 2 12-31-2003 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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