Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-13-2010, 09:12 PM   #1
jone kim
Registered: Apr 2010
Posts: 185

Rep: Reputation: 16
command to find the SD card

How to find info and contents of the SD card via linux terminal. I found a command "mount"in internet. According to it it's in dev/sdb/.. but I didn't found such. I saw dev/sdc/.

Can anyone help me?
Old 06-13-2010, 09:23 PM   #2
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
After you insert the card type
in a terminal.
Old 06-13-2010, 09:57 PM   #3
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,498
Blog Entries: 16

Rep: Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211
dmesg will help you find out how Linux is seeing the card. More about dmesg here.

When you find it in the output of dmesg or dmesg | tail, the easiest way is to then enter it as root in your fstab and mount it using the mount command.

Here's what I experienced in mounting a USB drive. The drive was different, but the procedure is the same.
Old 06-14-2010, 05:52 AM   #4
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287
You can also use:

It is the one with the VFAT filesystem, I doubt anything else uses this, unless you have more than one.
Old 06-15-2010, 06:48 AM   #5
jone kim
Registered: Apr 2010
Posts: 185

Original Poster
Rep: Reputation: 16
Ok guys thanks for the reply. I will try with your commands.
Old 06-15-2010, 08:10 AM   #6
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
For my money I always do a
fdisk -l
for Debian/Ubuntu distros replace "su" with "sudo su".

This will display all the disks and their partitions.

From the size of the disk I can find out if it is a USB device and its device names directly from the kernel.

A device, if has a vaild filing system, say it is sdc1 can be mounted manually by commands
mkdir /mnt/sdc1
mount /dev/sdc1 /mnt/sdc1
ls /mnt/sdc1
The last command list the contents of sdc1. By such time the folder /mnt/sdc1 of the device will be displayable in the GUI to do drag and drop.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Find/grep/wc command to find matching files, print filename and word count dbasch Linux - Newbie 10 09-14-2009 05:55 PM
Single find command to find multiple files? thok Linux - Newbie 7 01-31-2009 04:45 PM
what is the command to find the video card babu198649 Linux - Newbie 3 04-25-2008 05:13 AM
arp command find ethernet card address Fond_of_Opensource Linux - Networking 1 06-15-2007 06:22 AM
command to find sound card in RHEL version 3 hsmukunda Linux - Enterprise 4 11-29-2006 01:25 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration