lists.zerezo.com



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

***BOGO*** Res: Konqueror to inform about hard links?



Dude hard links cannot be discoverable,
you are human you look at inodes and see they equal.
Konqueror don't look at inodes to say this file
is the same as that one.

A hard link is just the same file with another name (entry)
it's impossible to know which one was created first
So there is no way to konqueror say that they are
the same.

The only thing you can ask is a column or maybe
the proprieties of the file saying what is the inode.

soft links are trackeable since they are a file that
has a path. (just look at the size and check to see if
that not match with the path it's pointing to)

btw why do you want that?

Daniel.


----- Mensagem original ----
De: macintoshzoom <macintoshzoom@xxxxxxxxxxx>
Para: Branan Riley <branan@xxxxxxxxx>
Cc: kde-devel@xxxxxxx
Enviadas: Quinta-feira, 28 de Agosto de 2008 19:01:09
Assunto: Re: Konqueror to inform about hard links?

Hi Branan Riley,

Good question.

man ln seems the answer, on OpenBSD.

I confused (konqueror lied me) soft and hard linked files, (which I
ignored the existence till today, nor I understand yet why those hard
links are useful).

# cd /usr/ports/packages/i386/cdrom
# ls -i kde-i18n-nl-3.5.9.tgz
890218 kde-i18n-nl-3.5.9.tgz
# cd /usr/ports/packages/i386/all
# ls -i kde-i18n-nl-3.5.9.tgz
890218 kde-i18n-nl-3.5.9.tgz
#

As both have the same inode # 890218, so they are the same file, not
twice space used on my hard drive.

It should be easy to implement in Konqueror, if not already present.

Which one is the good real one? Don't know yet

But I neeeeeed Konqueror tells me.

Mac

Branan Riley wrote:
> I'm not certain there's even a way to detect hard links...
>
> And even if there was, how do you decide which hard link is the "file"
> and which is the "link"
>
> Branan
>
> On Thu, Aug 28, 2008 at 2:37 PM, macintoshzoom
> <macintoshzoom@xxxxxxxxxxx> wrote:
>> Konqueror to inform about hard links?
>>
>> My Konqueror doesn't inform me about hard linked files, as one file that
>> is hard linked to two or more different folders.
>>
>>
>> Yes it informs about "classic" soft links.
>>
>> Nor kdirstats seems to detect the difference.
>>
>> Is this a Konqueror limitation or there is somewhere a trick or setting
>> to enable this hard link information?
>>
>> Thanks.
>>
>> Mac.
>>
>>
>>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<