LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux
User Name
Password
4MLinux This forum is for the discussion of 4MLinux.

Notices


Reply
  Search this Thread
Old 06-11-2016, 06:43 PM   #1
kiebitz
LQ Newbie
 
Registered: Apr 2016
Posts: 24

Rep: Reputation: Disabled
Display content of SD card?


Hello
quick question: How to display the contents of an SD card?
It is a SanDisk 1 GB inserted into laptop side slot.
Somewhere in dev or media folder?
 
Old 06-11-2016, 09:10 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,366
Blog Entries: 28

Rep: Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162Reputation: 6162
I think that all the hip young distros are putting such devices in /run/media/[username]/ these days.

You could try running fdisk -l as root with the device inserted. That ought to reveal its location. So too should dmesg.
 
1 members found this post helpful.
Old 06-11-2016, 10:25 PM   #3
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
I would have said
Code:
sudo fdisk -l
too (or use su if needed) with what info you gave?
 
Old 06-11-2016, 10:30 PM   #4
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Hi by the way.

That may lead you to needing something like:
http://www.saltycrane.com/blog/2008/...-ubuntu-linux/ .

...have fun!
 
Old 06-12-2016, 01:51 AM   #5
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,256

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by frankbell View Post
I think that all the hip young distros are putting such devices in /run/media/[username]/ these days.
Bad advice. The /media/disk folder is used by 4MLinux. See, for example, http://4mlinux.com/help.txt

Quote:
Originally Posted by frankbell View Post
You could try running fdisk -l as root with the device inserted. That ought to reveal its location.
Good advice. Unfortunately, new versions of the fdisk tool also list all ram-disks. It's usually quite a long list. To avoid this:
Code:
busybox fdisk -l
or
Code:
fdisk -l | grep sd
 
Old 06-12-2016, 01:59 AM   #6
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Question

Quote:
Originally Posted by zk1234 View Post
Bad advice. The /media/disk folder is used by 4MLinux. See, for example, http://4mlinux.com/help.txt



Good advice. Unfortunately, new versions of the fdisk tool also list all ram-disks. It's usually quite a long list. To avoid this:
Code:
busybox fdisk -l
or
Code:
fdisk -l | grep sd
Don't trust me,,, but, facts! (What is this the religions megathread(?) LOL!)

Last edited by jamison20000e; 06-12-2016 at 02:00 AM.
 
Old 06-12-2016, 02:02 AM   #7
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,256

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by kiebitz View Post
Hello
quick question: How to display the contents of an SD card?
It is a SanDisk 1 GB inserted into laptop side slot.
Somewhere in dev or media folder?
Can you see your card? If not, try to execute (the 4MLinux specific) command:
Code:
mountall
See: the REMOVABLE DISK section of http://4mlinux.com/faq.txt

.
 
Old 06-12-2016, 02:02 AM   #8
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Oh wait, 4M missed that is...

Last edited by jamison20000e; 06-12-2016 at 10:29 AM.
 
Old 06-12-2016, 02:11 AM   #9
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Maybe my bad as I miss the "Distribution Category" Sometimes![B][/B](maybe why I thought the religious MT?
 
Old 06-12-2016, 02:29 AM   #10
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,256

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by jamison20000e View Post
Oh wait, 4M whatever that is...
Yes, jamison20000e, whoever you are...
 
1 members found this post helpful.
Old 06-12-2016, 04:15 AM   #11
kiebitz
LQ Newbie
 
Registered: Apr 2016
Posts: 24

Original Poster
Rep: Reputation: Disabled
thanks for replies.

output of fdisk -l is:

(sorry for screenshot, I saw http://www.linuxquestions.org/questi...ns-4175558298/ but did not manage to copy&paste text)
So yes, seems to list all ramdisks.
But beside them there is only the dev/sda1 HDD.


mountall did not seem to change anything.
(output of fdisk is unchanged and nothing seems changed in graphical file explorer)


sudo fdisk -l
command not found

Quote:
(or use su if needed)
su fdisk -l
unknown user fdisk
(hm, might have to look up what "su" command is/how it works)


mount -l


hm!
 
Old 06-12-2016, 04:53 AM   #12
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,256

Rep: Reputation: 220Reputation: 220Reputation: 220
Try:
Code:
udev
If this doesn't help, then your card is not supported out of the box. I guess that what you need are additional kernel modules.
You can find them both on the 4MLinux installation CD and online (4mlinux.com/download.html).

In my opinion, installing additional drivers makes sense only if your 4MLinux is installed to a hard disk drive.

PS.
Choose "ScreenShooter" from the wbar launcher. Next, if you click on an opened window, the screenshot of this window (and nothing more) will be taken.

.

Last edited by zk1234; 06-12-2016 at 04:56 AM.
 
Old 06-12-2016, 08:52 AM   #13
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,665

Rep: Reputation: Disabled
FWIW laptop card readers often are not generic USB devices as one might expect, I recall I had to dig deep into kernel config to enable the CD card reader driver for my Thinkpad.
 
Old 06-12-2016, 09:10 AM   #14
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,256

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by Emerson View Post
FWIW laptop card readers often are not generic USB devices as one might expect, I recall I had to dig deep into kernel config to enable the CD card reader driver for my Thinkpad.
I agree. Nevertheless he should try additional kernel modules first. The total size of kernel modules available out of the box is about 12 MB, while on the 4MLinux installation CD you can find ~ 28MB.

.
 
  


Reply

Tags
laptop, sd card



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
display content between two strings on the same line Jajamd Programming 4 01-29-2012 03:10 PM
display content of txt file in xbmc schneidz Programming 2 04-26-2011 08:02 PM
how to display the last email content with configured fetchmail ? Xeratul Linux - General 3 03-12-2011 03:38 AM
Browser display content kratunko LQ Suggestions & Feedback 0 12-16-2004 02:04 PM
why my email content can't display correctly? lzyking Linux - Software 4 05-08-2003 09:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux

All times are GMT -5. The time now is 11:10 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