LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-07-2015, 09:24 AM   #16
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247

Quote:
warning there - /media may be tmpfs on some distributions. It normally would be used only for temporarily mounting things like CDs and USB devices for the user, but once the user logs out (or reboots) everything is gone.
The OP confirmed in post 5 that he did exactly that, copied the files to /media/dougb rather than to /media/dougb/flash, whatever the mount point might have been.

Get the filesystem type with: sudo parted -l
 
Old 01-07-2015, 12:27 PM   #17
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,600

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Or just use "df /media/dougb" The filesystem type is shown in the first column.
 
Old 01-08-2015, 12:12 PM   #18
DarrenDrapkin
Member
 
Registered: Aug 2014
Distribution: Slackware x86 64 current
Posts: 55

Rep: Reputation: Disabled
For future refference there is a programme called 'sync' that writes data to storage devices before you remove them from the computer.
 
Old 01-08-2015, 05:07 PM   #19
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,600

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Quote:
Originally Posted by DarrenDrapkin View Post
For future refference there is a programme called 'sync' that writes data to storage devices before you remove them from the computer.
On some systems "sync" is just a suggestion. On others it doesn't do anything at all unless executed by root.

This is because heavy use of sync by a single user would cause the entire system to slow down due to the heavy buffer flushing/reloading/flushing activity.

Last edited by jpollard; 01-08-2015 at 05:11 PM.
 
Old 01-10-2015, 01:43 PM   #20
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,321
Blog Entries: 1

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
$ cat /proc/partitions

If it doesn't show up there, then there's driver or hardware issues. You have to mount it to write to it. And you have to umount it to flush the write cache before you remove it. A lot of distros have autofs stuffs setup so it auto mounts when plugged in. Which can be annoying if you don't use the distros way of unmounting the drive, the autofs setup will just remount it.

$ mount

Once it's mounted it should show up there. You can try -t auto, which might work, or not since it's probably the default anyway. If the mount point isn't an empty directory before it gets mounted you'll likely have issues when trying to use the media. If you did a custom kernel with a make localmodconfig and it wasn't mounted at the time that you did that, you may not have the modules for the filesystem that is needed to mount it. Plus various dosfstools type packages that may not be installed by default.
 
Old 01-11-2015, 09:27 AM   #21
DarrenDrapkin
Member
 
Registered: Aug 2014
Distribution: Slackware x86 64 current
Posts: 55

Rep: Reputation: Disabled
you may like to try viewing "/etc/fstab" and "/etc/mtab" to get a picture of mounted devices.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Files Copied from RHEL 5 Server to NFS "Invisible" JosephBlow Linux - Server 3 08-06-2013 01:01 AM
files not getting copied fully to usb drive from my comp myfollowers1 Linux - Newbie 1 05-10-2011 01:46 PM
Can't view files I copied to usb flash drive on windows XP ducksong Arch 2 12-02-2010 06:56 PM
[SOLVED] Cannot copy to USB Memory Stick some files StefanP Linux - Newbie 2 05-23-2007 01:41 PM
Suddenly invisible memory stick in SuSe 10 Barry Bingham SUSE / openSUSE 6 05-03-2006 03:12 AM


All times are GMT -5. The time now is 04:10 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration