Re: Creating hardlinks for directories.

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

 



-----Original Message-----
From: Oliver Leitner <shadow333@xxxxxxxxx>
Sent: Sun, Jan 15, 2006 at 02:01:10PM +0100
To For users of Fedora Core releases
Subject: Re: Creating hardlinks for directories.


> On 1/15/06, Oliver Leitner <shadow333@xxxxxxxxx> wrote:
> >
> > theres always init scripts, so you have your stuff mounted at boottime)
> >
> > this way surrounding that problem...
> >
> > On 1/15/06, Vikram Goyal < vikigoyal@xxxxxxxxx> wrote:
> > >
> > >
> > > -----Original Message-----
> > > From: Oliver Leitner < shadow333@xxxxxxxxx>
> > > Sent: Sun, Jan 15, 2006 at 12:13:51PM +0100
> > > To For users of Fedora Core releases
> > > Subject: Re: Creating hardlinks for directories.
> > >
> > >
> > > > On 1/15/06, Vikram Goyal < vikigoyal@xxxxxxxxx> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I wanted to create hardlinks for directories on the same file
> > > system.
> > > > > I know it's not allowed. But the man page for ln says one may. Now I
> > >
> > > > > want to know how may one switch it on.
> > > > >
> > > > > Also what could be the pitfalls.
> > > > >
> > > > mount --bind /source /target
> > > >
> > > > works well for me)
> > > >
> > >
> > > Thanks! but it mounts a section of the dir hierarchy on another dir and
> > > will get dismounted on shutdown. Also only root may do it.
> > >
> > > I wanted to make permanent links which may or may not be subjected to
> > > frequent deletions etc. and which I as a normal user could execute i.e.
> > > from some scripts.
>
> ps: for the normal user,  i havent had that thing yet, but you may want to
> try sudo or any other superuser command wrapper, to give normal users access
> to that command...
> 

Please, do not top post as it becomes difficult to answer. I have
already cut and pasted your previous reply due to this.

Anyways, it's quite possible to that kind of thing. Ex expect can auto
login as su and do the stuff, but I was creating something for general
consumption i.e. for other people to use and such a setup will not go
far.

Thanks!
-- 
vikram...
         ||||||||
         ||||||||
^^'''''^^||root||^^^'''''''^^
        // \\   ))
       //(( \\// \\
      // /\\ ||   \\
     || / )) ((    \\
-- 
Better hope the life-inspector doesn't come around while you have your
life in such a mess.
-- 
~|~
 =
Registered Linux User #285795


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux