On Thu, 11 Jan 2007 09:02:02 -0500 [EMAIL PROTECTED] wrote: > On Wed, Jan 10, 2007 at 10:20:57PM -0800, Marc Shapiro wrote: > > -----Original Message----- > > >Ln -s /var/lib/mysql /mnt/hdx/mysql > > > > > Shouldn't the last line be replaced with: > > > > ln -s /mnt/hdx/mysql /var/lib/mysql > > > > Although I would actually do: > > > > cd /var/lib > > ln -s /mnt/hdx/mysql > > > > > > > > According to man ln the target is always first unless using the -t > > option. > > 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. Regards, Andrei P.S.If you knew what symlinks/hardlinks are but just didn't know what ln does than just ignore the above :) -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]