Re: [SLUG] Virtual Folder

From: Dylan William Hardison (dylanwh@tampabay.rr.com)
Date: Thu Jun 24 2004 - 11:28:58 EDT


Spake Eric Jahn on Thursday, June 24, 2004 at 10:50AM -0400:
> On Wed June 23 2004 4:30 pm, Dylan William Hardison wrote:
> > If you really want to link a dir, use this:
> > mount --bind olddir newdir
>
> mount --bind does the trick and is, in fact exactly what I was looking for.
> What amazes me about linux is you think you have a handle on the basics and
> then you find out about incredibly useful switches and commands that are
> never mentioned in any beginner books. sux - is another command that I find
> very useful and took me 3 years to learn about, after learning all that
> tedious xhost stuff. Anyway, when I was playing around with everyone's
> suggestions (while I was supposed to be working hard on something else), I
> accidentally created a directory (using lndir) that recursively links to a
> directory it is within. duh! Anway, I can't delete the recursively link
> directory becaus eit has contents (which are really just the link). I tried
> rm -d, as root but that didn't work. Probably because my distro doesn't
> support unlinking non-empty directories. Is there a way to delete this
> recursively linked directory? Thanks in advance!

rm -rf dir?

-- 
"What terrible way to die."
"There are no good ways."
              -- Sulu and Kirk, "That Which Survives", stardate unknown
-
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.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:12:31 EDT