LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lofs under linux? (https://www.linuxquestions.org/questions/linux-newbie-8/lofs-under-linux-943400/)

sluge 05-05-2012 08:27 AM

lofs under linux?
 
Hello!
When I was under solaris, it was useful to use lofs to have acess to the same dir via different pathes, for example,
to /opt/mysoft I also can go using /home/igor/thesoft. This isn't a symbolic links, it is really alternative path!
Is any similar solution under linux?
PS:I use RHEL

sag47 05-05-2012 08:33 AM

If it's a drive then you can mount it twice in two different places and it will essentially do the same thing you're looking to do. See also dd and losetup commands in RedHat. In my latest blog post I use them in extending LVM volumes. (see under my username)

TobiSGD 05-05-2012 08:40 AM

If it is on the same partition a hardlink would be the same what you describe.

unSpawn 05-05-2012 12:15 PM

Directories can be mounted in several places with "--(r)bind" (see 'man mount'). Also see FUSE bindfs.

chrism01 05-07-2012 07:32 PM

So Solaris lofs = loopback fs https://www.linuxquestions.org/quest...m-lofs-153697/, so here's a Linux example equivalent https://code.google.com/p/iredmail/w...Yum_Repository


All times are GMT -5. The time now is 06:21 AM.