Solved Symlink so big ?

Hello everybody.

A symlink was created with =>
ln /program_directory/theprogram /symlink_directory/theprogram

OK, the symlink works ;-)

But xfe shows as size for the link => 8 megas (same size as the program)...
I was thinking that a symlink was only a link (few octets) to the program and it seems that it is a copy of the program too...

Or do I miss something ?

Thanks.

Fre;D
 
You created a hard link not a symlink. There is a good description of the differences in ln(1).

To create a symlink use ln -s /program_directory/theprogram /symlink_directory/theprogram.

Ooops, indeed, now the symlink is not so fat !

Many thanks tobik .

Fre;D
 
Back
Top