[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Adding a new HDD - how do I move /var/lib/mysql ?



On Thu, Jan 11, 2007 at 06:14:44PM +0200, Andrei Popescu wrote:
> On Thu, 11 Jan 2007 09:02:02 -0500
> hendrik@topoi.pooq.com wrote:
> > 
> > So the effect of ln is the same as cp, except that no copy is made.
> 
> Not really. If you make a link (soft or hard) you get one file/dir with
> two names and/or locations. Any changes made through the link will be in
> fact done to the file/dir itself. If you change one copy of a file/dir
> the other copy will not change and the space occupied is (almost)
> double.

Exactly -- no copy is made.  I made the analogy to provide a mnemonic 
for those with difficulty remembering which of ln's arguments is which.

(I think this analogy was the motivation for the design of ln in the 
first place; I'll not claim credit for the analogy)

-- hendrik



Reply to: