Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This happens in my main computer with Slackware and Arch.
Code:
$ su
Password:
# cd /media/fl
# mount /dev/sdb1 .
# ls # No Output!
# umount .
# umount .
umount: .: not mounted # first worked but now failed, so it must have been mounted. But where's the data?
Are you certain that /dev/sdb refers to the flash drive and not say another sata device, possibly like cdrom? What do you get in the tail of dmesg when you plug the flash drive in? You should get a message in there about it.
usb 1-4: new high speed USB device using ehci_hcd and address 3
usb 1-4: configuration #1 chosen from 1 choice
scsi9 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
Hmmm, could have hoped for something more useful like what it had been placed as. I would check if /dev/sdb still exists when the flash drive is disconnected, if it is then the flash drive is not being placed as /dev/sdb.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.