Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.co
!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-o
line.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Sir Chewbury Gubbins
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Question about mount command and location of files
Date: 2 Mar 2007 13:36:20 GMT
Lines: 39
Message-ID: <54qnikF21m7v6U1@mid.individual.net>
References: <54pnb4F21pso3U1@mid.individual.net>
X-Trace: individual.net VAsx1nZiJt/wQyprY6cs3A5V4qI2ZcDUCC1OgnutMaP+Qj7dYy
User-Agent: slrn/0.9.8.1pl1 (Debian)
Xref: number1.nntp.dca.giganews.com alt.os.linux.ubuntu:11310
Chris Fasano the Monkey was never naughty:
>
> So why would any files now created under /newdirectory be physically
> located on hdb just because I mounted /dev/hdb1 to /home/newdirectory,
> since as you say "mounting does not shift files physically?"
Let's use an analogy :)
You have a cracker, a slice of cheese and a pickle.
You want to mount the cheese on the cracker. You put the pickle on top
of the cheese.
Although the pickle is physically located on the cheese, it's accessible
from the cracker :)
That help?
Don't think of your disks as disks. Try and think of the filesystem as a
whole.
/dev/hda might be your root disk -
/ (hda)
/etc
/home
/home/extrastuff (hdb)
/usr
/var
Cheers
Choobs
--
Sir Chewbury Gubbins
http://www.nelefa.org - Gaming and Ramblings from the Shiny part of the world
Abu the monkey was never naughty.
--- Platinum Xpress/Win/WINServer v3.0pr5
* Origin: Omicron Theta BBS (1:261/20)
|