[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Res: Konqueror to inform about hard links?
From:       dantti85-dev () yahoo ! com ! br
Date:       2008-08-28 22:17:18
Message-ID: 435803.35253.qm () web32107 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@lavabit.com>
Para: Branan Riley <branan@gmail.com>
Cc: kde-devel@kde.org
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@lavabit.com> 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. http://br.new.mail.yahoo.com/addresses


[Attachment #5 (text/html)]

<html><head><style type="text/css"><!-- DIV {margin:0px;} \
--></style></head><body><div style="font-family:Courier \
New,courier,monaco,monospace,sans-serif;font-size:10pt"><div>Dude hard links cannot \
be discoverable,<br>you are human you look at inodes and see they equal.<br>Konqueror \
don't look at inodes to say this file<br>is the same as that one.<br><br>A hard link \
is just the same file with another name (entry)<br>it's impossible to know which one \
was created first<br>So there is no way to konqueror say that they are<br>the \
same.<br><br>The only thing you can ask is a column or maybe <br>the proprieties of \
the file saying what is the inode.<br><br>soft links are trackeable since they are a \
file that<br>has a path. (just look at the size and check to see if<br>that not match \
with the path it's pointing to)<br><br>btw why do you want \
that?<br><br>Daniel.<br><br></div><div style="font-family: Courier \
New,courier,monaco,monospace,sans-serif; font-size:  10pt;"><br><div \
style="font-family: arial,helvetica,sans-serif; font-size: 13px;">----- Mensagem \
original ----<br>De: macintoshzoom &lt;macintoshzoom@lavabit.com&gt;<br>Para: Branan \
Riley &lt;branan@gmail.com&gt;<br>Cc: kde-devel@kde.org<br>Enviadas: Quinta-feira, 28 \
de Agosto de 2008 19:01:09<br>Assunto: Re: Konqueror to inform about hard \
links?<br><br>Hi Branan Riley,<br><br>Good question.<br><br>man ln seems the answer, \
on OpenBSD.<br><br>I confused (konqueror lied me) soft and hard linked files, (which \
I <br>ignored the existence till today, nor I understand yet why those hard <br>links \
are useful).<br><br># cd /usr/ports/packages/i386/cdrom<br># ls -i \
kde-i18n-nl-3.5.9.tgz<br>890218 kde-i18n-nl-3.5.9.tgz<br># cd \
/usr/ports/packages/i386/all<br># ls -i kde-i18n-nl-3.5.9.tgz<br>890218 \
kde-i18n-nl-3.5.9.tgz<br>#<br><br>As both have the same inode # 890218, so they are \
the same file, not <br>twice space used on my hard drive.<br><br>It should be easy  \
to implement in Konqueror, if not already present.<br><br>Which one is the good real \
one? Don't know yet<br><br>But I neeeeeed Konqueror tells \
me.<br><br>Mac<br><br>Branan Riley wrote:<br>&gt; I'm not certain there's even a way \
to detect hard links...<br>&gt; <br>&gt; And even if there was, how do you decide \
which hard link is the "file"<br>&gt; and which is the "link"<br>&gt; <br>&gt; \
Branan<br>&gt; <br>&gt; On Thu, Aug 28, 2008 at 2:37 PM, macintoshzoom<br>&gt; &lt;<a \
ymailto="mailto:macintoshzoom@lavabit.com" \
href="mailto:macintoshzoom@lavabit.com">macintoshzoom@lavabit.com</a>&gt; \
wrote:<br>&gt;&gt; Konqueror to inform about hard links?<br>&gt;&gt;<br>&gt;&gt; My \
Konqueror doesn't inform me about hard linked files, as one file that<br>&gt;&gt; is \
hard linked to two or more different folders.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Yes \
it informs about "classic" soft links.<br>&gt;&gt;<br>&gt;&gt; Nor kdirstats seems to \
detect the  difference.<br>&gt;&gt;<br>&gt;&gt; Is this a Konqueror limitation or \
there is somewhere a trick or setting<br>&gt;&gt; to enable this hard link \
information?<br>&gt;&gt;<br>&gt;&gt; Thanks.<br>&gt;&gt;<br>&gt;&gt; \
Mac.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&gt;&gt; Visit <a \
href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
target="_blank">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> to \
unsubscribe &lt;&lt;<br>&gt; <br><br><br>&gt;&gt; Visit <a \
href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
target="_blank">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> to \
unsubscribe &lt;&lt;<br></div></div></div><br>


      <hr size=1>Novos endereços, o Yahoo! que você conhece. <a \
href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.new.mail.yahoo.com/addresses">Crie \
um email novo</a> com a sua cara @ymail.com ou @rocketmail.com.</body></html>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic