Where is my 2G? - MC

Michael Cohen michael.cohen at netspeed.com.au
Thu Apr 12 21:21:38 CST 2007


On Thu, Apr 12, 2007 at 09:32:01AM +0930, Brian Astill wrote:
> THE cause of all the trouble is Midnight Commander (from root) 
> accepting my instructions to copy /home to an 
> _unmounted_  /dev/hdb7.  It's reports of progress were entirely 

Theres your answer - (btw i suspect you mean /mnt/hdb7). Unix uses /dev/hdb7 as
a device file to access the raw device - you mount it on top of a directory
(any ordinary directory) to gain access to the contents of that file system. If
/mnt/hdb7 was not mounted - mc probably copied it on to that directory. (its
just a normal directory after all). After reboot your os mounted the partition
over the top of the directory thereby masking the actual content of the
directory (replacing it with the contents of the device). 

If you unmount the device, you will see your files sitting in the directory.

Michael.


More information about the linuxsa mailing list