help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Function to find symlink target


From: Emanuel Berg
Subject: Re: Function to find symlink target
Date: Sat, 28 May 2022 19:05:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii wrote:

>>> You evidently assume that a symlink is stored in some
>>> particular way on disk, but the reality is different from
>>> your assumption. What 'ls' and 'du' show you is largely
>>> an illusion.
>> 
>> Okay, where are they stored then?
>
> In the spare space of the inode, exactly as with small files. See
>
>   
> https://unix.stackexchange.com/questions/609474/actual-content-of-a-symlink-file

Interesting, so it should say you can save a lot of spare
inode space if you place your symlinks cleverly! Use ls(1) or
du(1) to find out how big this illusory advantage is ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]