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

Notices


Reply
  Search this Thread
Old 07-12-2001, 10:09 PM   #1
MasterBean
LQ Newbie
 
Registered: Jul 2001
Location: Morrison, CO
Distribution: Slackware 10
Posts: 1

Rep: Reputation: 0
Question Mounting a non-empty directory


Ok, I have simple questions, but cannot seem to find any definite answers.

I am running RH 7.1 dual boot with WinME. The short end of the story is this. I used Linux to back up some documents for Win and reinstalled windows, no that is not the problem. After I got everything running again, I extracted the files from a zip file within Linux to my /dos partition. Without realizing it, the drive partition was not mounted at the time. The files made it to their destination, but not to the actual drive.

I mounted the /dos partition only to find my newly extracted files were gone. Based upon other suggestions, I simply unmounted the drive in hopes that the files were still there. No luck. To make a long story short, the files are not avaliable within the *.zip any longer, and I need them back.

Is there possibly some fancy thing that RH is doing when mounting and unmounting with files that may be in a non empty mount point? Is it recoverable, or did I just trash the files?
 
Old 07-12-2001, 10:34 PM   #2
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
I read the man page for mount and it says that as long as the device is mounted, the files and directories will be invisible. It seems to indicate that when the device is unmounted that everything will reappear. But, in your case it doesn't seem to.

Maybe it's a permission problem. Try changing the permissions on /dos. Maybe chmod 555 /dos. Then do a ls /dos. If you're lucky, your files will appear.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
rm: cannot remove directory `ff': Directory not empty blancs Linux - General 17 08-29-2011 01:47 PM
How to check if a directory is empty? Aziz Linux - Software 2 09-27-2004 04:46 PM
Empty /sys directory the who Slackware 7 06-08-2004 08:58 PM
Mounting a large directory over NFS... Mountpoint is empty? Shade Linux - Networking 5 04-18-2004 08:29 PM
deleting non-empty directory sadiboyz Linux - Newbie 2 04-21-2003 09:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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