[SOLVED] fsck & how to tell which /dev/ a drive is?

[SOLVED] fsck & how to tell which /dev/ a drive is?

 

Looking in the unmodified default PCManFM-Qt 0.14.1 on Lubuntu 20.04 I can see under Devices, “32 GB Volume”. Clicking on it shows me /media/me/XXXX-XXXX (XXXX-XXXX is the UUID of the drive) It’s a 32GB SD card currently in the computer’s built-in card reader. I would like to try running fsck -a /dev/sdX on this drive because in PCManFM it shows one empty folder DCIM in which I expected to find another folder named 100MEDIA containing .avi video files, but instead there’s nothing. The card is one I’ve previously used in the same trail camera successfully a number of times, except, I have previously used Windows to view the files. The card is formatted FAT32. If I use terminal I get Code: [email protected]:~$ cd /media/me/XXXX-XXXX/ [email protected]:/media/me/XXXX-XXXX$ ls DCIM [email protected]:/media/me/XXXX-XXXX$ cd DCIM [email protected]:/media/me/XXXX-XXXX/DCIM$ ls ls: cannot access ‘100MEDIA’: Input/output error 100MEDIA [email protected]:/media/me/XXXX-XXXX/DCIM$ How would I positively identify which /dev/sdX this drive is? [EDIT] Sorry I did not google hard enough. Code: mount | grep /dev/sd mount | grep /dev/sd

READ MORE: https://ubuntuforums.org/showthread.php?t=2446472&goto=newpost

Previous Does changing to Wayland or changing OS to Kubuntu stop from having screen tearing?
Next [SOLVED] Upgrading from 18.04 to 20.04
 

About author

You might also like

Ubuntu Dsicussions 0 Comments

How do YOU pronounce Xfce?

Hi all, I noticed there was an old thread from 2011 in the archives here about this topic but I wondered if the general lexicon had changed since then. It’s

Ubuntu Dsicussions 0 Comments

[kubuntu] Is it me?

Updates seem to have stalled due to repository errors as below:- Code: http://gb.archive.ubuntu.com/ubuntu/dists/groovy-backports/main/binary-amd64/Packages.xz File has unexpected size (64 != 1276). Mirror sync in progress? [IP: 91.189.88.142 80] Hashes of expected

Ubuntu Dsicussions 0 Comments

Homebrew Removal Issue at Startup

Hi, I’m running Ubuntu 20.04. I recently removed Homebrew from my system and now after restart I’m getting the below error. I’ve Googled this but unless I’ve missed it I