public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ryan Cumming <ryan@completely.kicks-ass.org>
To: Kurt Wall <kwall@kurtwerks.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: vfat patch for shortcut display as symlinks for 2.4.18
Date: Wed, 12 Jun 2002 19:42:53 -0700	[thread overview]
Message-ID: <200206121942.56046.ryan@completely.kicks-ass.org> (raw)
In-Reply-To: <20020612215014.6c2aeaf6.kwall@kurtwerks.com> <Pine.GSO.4.21.0206122152300.16357-100000@weyl.math.psu.edu> <20020612222540.23e38e0a.kwall@kurtwerks.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On June 12, 2002 19:25, Kurt Wall wrote:
> That's *precisely* the point I tried to make. .desktop files are just
> plain text files, as far as Unix is concerned. They do not map neatly
> to Windows .lnk files because the kernel's file system layer does
> not handle them specially, as it does symlinks. God and Bill Gates
> alone know how Windows handles .lnk files, but it does seem that Windows
> imputes to them special semantics, rather like a shell script.

No, some people actually know how Windows works. The kernel has very little to 
do with .lnk files, and in fact it sees them as regular files. If you run 
"notepad foo.lnk", you will see the link's binary contents. If you use the 
CreateFile or OpenFile kernel calls, you will get a file handle pointing to 
the link's contents. If you attempt to execute a .lnk file from the command 
line or using CreateProcess, it will horribly fail.

In fact, to dereference a link in userspace, you must open the .lnk file, 
examine its contents with a library call, and then open the destination file.  
This is extremely similar to how Gnome or KDE handle .desktop files: mainly 
in the shell.

- -Ryan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9CAawLGMzRzbJfbQRAm05AJ4gUYliitP5APHO/IM5jPB7wukGCgCgoPFg
qGH7VCkKap7mSFAET9T3n88=
=5Oer
-----END PGP SIGNATURE-----

  reply	other threads:[~2002-06-13  2:42 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-11 14:31 vfat patch for shortcut display as symlinks for 2.4.18 Francois Gouget
2002-06-12  0:30 ` Albert D. Cahalan
2002-06-13  1:30   ` Francois Gouget
2002-06-13  1:50     ` Kurt Wall
2002-06-13  2:00       ` Alexander Viro
2002-06-13  2:25         ` Kurt Wall
2002-06-13  2:42           ` Ryan Cumming [this message]
2002-06-13  2:57             ` Kurt Wall
2002-06-13  3:04           ` Francois Gouget
2002-06-13  3:31           ` Alexander Viro
2002-06-13  2:05 ` Stevie O
2002-06-13  3:31   ` Francois Gouget
2002-06-13  4:09     ` Alexander Viro
2002-06-13  4:00 ` Tomas Szepe
     [not found]   ` <20020613103532.375d5dfe.arodland@noln.com>
2002-06-13 17:21     ` Tomas Szepe
     [not found] <Pine.GSO.4.21.0206130454040.18281-100000@weyl.math.psu.edu >
2002-06-13 23:54 ` Stevie O
2002-06-14  0:37   ` Alexander Viro
     [not found] <Pine.GSO.4.21.0206130008390.18281-100000@weyl.math.psu.edu >
2002-06-13  4:27 ` Stevie O
2002-06-13  5:16   ` Alexander Viro
2002-06-13  7:00     ` Francois Gouget
2002-06-13  9:18       ` Alexander Viro
  -- strict thread matches above, loose matches on Subject: below --
2002-06-09  1:53 christoph
2002-06-09 16:44 ` Jan Pazdziora
2002-06-09 17:44   ` Daniel Phillips
2002-06-09 18:53     ` Nicholas Miell
2002-06-09 20:05       ` Diego Calleja
2002-06-09 20:40         ` Thunder from the hill
2002-06-09 21:30           ` Nicholas Miell
2002-06-09 20:53       ` Albert D. Cahalan
2002-06-09 21:36         ` Nicholas Miell
2002-06-09 22:05           ` Albert D. Cahalan
2002-06-09 23:45             ` Nicholas Miell
2002-06-10  1:01               ` Albert D. Cahalan
2002-06-10  1:47                 ` Nicholas Miell
2002-06-10  1:58                   ` Albert D. Cahalan
2002-06-10  2:06                     ` Nicholas Miell
2002-06-10  2:20                       ` christoph
2002-06-09 22:06           ` christoph
2002-06-09 22:30             ` Nicholas Miell
2002-06-09 22:49               ` Thunder from the hill
2002-06-09 23:03                 ` Nicholas Miell
2002-06-10  0:04                   ` christoph
2002-06-10  0:01               ` christoph
2002-06-10  7:42             ` Joseph Mathewson
2002-06-10 10:23               ` Jan Pazdziora
2002-06-10 14:03               ` Thunder from the hill
2002-06-10 16:08               ` christoph
2002-06-11  9:47                 ` Banka
2002-06-11  4:43                   ` christoph
2002-06-10 11:00           ` Jan Pazdziora
2002-06-09 22:02       ` christoph
2002-06-10 11:06         ` Jan Pazdziora
     [not found] ` <200206091158.43293.bodnar42@phalynx.dhs.org>
     [not found]   ` <E17H8wh-0003ZO-00@starship>
2002-06-09 20:24     ` Ryan Cumming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200206121942.56046.ryan@completely.kicks-ass.org \
    --to=ryan@completely.kicks-ass.org \
    --cc=kwall@kurtwerks.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox