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

Re: expand /var, decrease /home space



On Friday 2008 December 12 03:55:14 Chris Davies wrote:
>steve <sfreilly@roadrunner.com> wrote:
>> ok, well I wanted to avoid that if all possible anyway, tried this ln -s
>> /var/www/download /home/steve/public_html [...]
>>
>> thats creating a symbolic link from download directory (which has
>> no space left) to a directory that has 280 gig free in it.
>
>No. That has created a link to /var/www/download in
>/home/steve/public_html. ("ln -s" is counter intuitive, IMO. The arguments
>always seem to need to be the other way round.)

Yeah "source" and "destination" get a but confused when you are talking about 
creating a symlink.  But, you should think of "ln" as a special form of "cp" 
(which it is), then consider "-s" just an option that doesn't change the 
order of arguments (which it is), and you should get the order right.

For mv, cp, ln, et. al the path to put the result is determined by the last 
argument.  It's consistent because it's UNIX.
-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss03@volumehost.net                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: