[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, 11 Jan 2007 14:33:45 -0500
hendrik@topoi.pooq.com wrote:

> 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.

Thanks for the tip! I use ln very seldom and always have to man for the
right arguments (this is why I sometimes use mc instead).

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)



Reply to: