understanding partitioning
Avi Greenbury
lists at avi.co
Tue Nov 1 14:24:03 UTC 2011
I think Amedee has already clarified most of this, there's just one bit
I want to be more specific with:
Linux Tyro wrote:
> On Sun, Oct 30, 2011 at 6:34 PM, Avi Greenbury <lists at avi.co> wrote:
>
> > We speak of mounting drive at directories, and you make the contents
> > of the drive appear as the contents of the directory. Any previous
> > contents of that directory still exist, but are inaccessible while
> > the drive is mounted.
> >
>
> Inaccessible while the drive is unmounted or mounted?
>
Let's say you have a directory /media/music. In this directory are two
files: file1 file2
And you have a removable hard drive, with music on it. In this
directory are four files: song1 song2 song3 song4.
If you look in the directory /media/music/, you will see
/media/music/file1
/media/music/file2
If you mount that removable hard drive at /media/music, then when you
look in /media/music you will see:
/media/music/song1
/media/music/song2
/media/music/song3
/media/music/song4
file1 and file2 haven't been deleted, they're just inaccessible while
something else is mounted in their parent directory (/media/music). If
you unmount the removable drive and look in /media/music you'll see
/media/music/file1
/media/music/file2
Again, song1, song2, song3 and song4 haven't been deleted, they're just
rendered inaccesible because they're not mounted anywhere.
--
Avi
More information about the ubuntu-users
mailing list