Re: [SLUG] Virtual Folder

From: craig@ctrust.com
Date: Wed Jun 23 2004 - 16:38:35 EDT


On 23 Jun 2004 at 16:30, Dylan William Hardison wrote:

> Spake craig@ctrust.com on Wednesday, June 23, 2004 at 03:31PM -0400:
> > On 23 Jun 2004 at 15:20, Eric Jahn wrote:
> >
> > > On Wed June 23 2004 2:58 pm, Dylan William Hardison wrote:
> > > > lndir is probably what you want. lndir comes with X11.
> > >
> > > I just tried lndir on your suggestion and it appears to work well, but it must
> > > continually be kept in sync with the "from" directory, which adds a lot of
> > > complexity. ln -s I guess is what I want, but KDE doesn't see that ln-s
> > > created link as a folder, but rather as a file, which causes problems because
> > > I can't save a file to a destination it thinks is a also a file (when it's
> > > actually a link to a directory). I'm not sure how other desktops deal with
> > > directory links. Thanks!
> > > -----------------------------------------------------------------------
> > > This list is provided as an unmoderated internet service by Networked
> > > Knowledge Systems (NKS). Views and opinions expressed in messages
> > > posted are those of the author and do not necessarily reflect the
> > > official policy or position of NKS or any of its employees.
> >
> > that's what you get for using KDE :)
> >
> > done properly, konq shouldn't know the difference
> > between ln -s and a real dir.
>
> Not quite true.
>
> Given the layout:
>
> % tree
> .
> |-- baz -> foo/bar
> |-- foo
> | `-- bar
> `-- test
>
>
> % ls baz/..
> bar/
>
> baz/.. == foo/
>
> So, a symlink to a directory isn't quite the same as a directory.
>
> Shells and file managers have to jump through hoops to make .. appear to
> point to the "right" place.
>
>
> If you really want to link a dir, use this:
> mount --bind olddir newdir
>
>
> --
> "Oh, there're sober men in plenty, / And drunkards barely twenty,
> There are men of over ninety / That have never yet kissed a girl."
> -- Andy Stewart, "Ramblin' Rover" (song)
> -
> GPG Fingerprint=D67D 2B75 53C6 9769 30E4 D390 239F C833 F32C F6F6
> GPG KeyID=F32CF6F6
> -----------------------------------------------------------------------
> This list is provided as an unmoderated internet service by Networked
> Knowledge Systems (NKS). Views and opinions expressed in messages
> posted are those of the author and do not necessarily reflect the
> official policy or position of NKS or any of its employees.

I realized my error about 30 seconds after sending
that message, and was simply too lazy to ammend it

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:11:07 EDT