gzip, gunzip, zcat

Michel STEMPIN mstempin at com1.fr
Wed Mar 14 08:22:33 PST 2001

> Hard links are slightly faster and use the same space as a symlink,
> (just a directory entry).

Nowadays, there is not much difference in speed between the two approaches
on modern unices.

Sure, softlinks take more space (one inode + 1 block of data in most cases),
are slower (the overhead for the soft indirection), but they are easier to
see (using ls -l), and they cross file system boundaries: this is to
consider if you build a multi-fs LFS...

On the other hand, hardlinks take just one inode, thus being a little bit
faster, but they are difficult to see (using ls -i and stare at the result
;-)), and they do not cross fs boundaries.

I think these considerations go in favor of keeping softlinks in the book,
esp. if you consider it as a learning tool.

Michel Stempin
COM One SA, 11 parc de Marticot, 33610 CESTAS, FRANCE
Tel: +33(0)5 57 97 72 72
Fax: +33(0)5 56 78 84 78
Email: mstempin at com1.fr

Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message

More information about the lfs-dev mailing list