Re: Loopback mounting a directory

From: Lew Pitcher (lpitcher_at_sympatico.ca)
Date: 11/12/04

  • Next message: Peter T. Breuer: "Re: Loopback mounting a directory"
    Date: Thu, 11 Nov 2004 20:51:04 -0500
    
    

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

    Rabin Patra wrote:
    > Hi all,
    > Does linux allow loopback mounting of a directory into some other
    > directory?

    Not to my knowledge, but I might be wrong

    > Something like:
    > mount -t loopdir /usr/orig_directory /usr/new_directory
    > would be very useful for sharing files between a chrooted jail and
    > the main system. This would be much faster than say using NFS to
    > export the directory.

    Well, you don't need NFS or a hypothetical directory loopback. With the
    current system, you just need to hardlink the original files to files in the
    chroot directory structure.

    [snip]

    - --
    Lew Pitcher

    Master Codewright & JOAT-in-training | GPG public key available on request
    Registered Linux User #112576 (http://counter.li.org/)
    Slackware - Because I know what I'm doing.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

    iD8DBQFBlBcHagVFX4UWr64RAhWsAJ93oL0U0E/o0ghJYVU3fW6PZAlbcgCfSDnt
    CVDQGH9YI8X3Ac0vhPnBcc8=
    =CT1n
    -----END PGP SIGNATURE-----


  • Next message: Peter T. Breuer: "Re: Loopback mounting a directory"

    Relevant Pages

    • Re: Opinions on new Fedora Core 2 install with LVM 2 and snapshots?
      ... 95% of the Linux and Solaris client mount. ... The Linux server is where 5% of the UNIX client traffic goes, so NFS ... I just want snapshots, that's it. ... I also adopted XFS early on, ...
      (Fedora)
    • [opensuse] Re: [opensuse ] How do I mount USB drive world writable using device notifier?
      ... You said you and your wife both use Linux. ... I have set up the NFS server on all my Linux systems, and can for the most part now navigate around Linux filesystems via the auto mounted files defined for autofs. ... That said, even using NFS to navigate to the mounted USB drive on her laptop, or v.s. for her to navigate to my USB drive, we hit an even worse roadblock. ... external USB drives, and use the KDE device notifier to mount them. ...
      (SuSE)
    • Re: 6.1 and NFS
      ... This is becoming a show stopper for us moving forward with FreeBSD and may require us moving to a different OS (Linux or Solaris, ... Well, Solaris has the best NFS implementation out there and includes a number of subtle workarounds in their server code to reduce the number of and/or impact of problems seen doing heterogeneous networking against clients running other operating systems, but frankly, rpc.lockd isn't significantly more stable there on Solaris than on FreeBSD. ... In other words, if you plan to use NFS filesharing, you should make every effort to utilize software which functions with the classic ".lock"file mechanism rather than depending on lockf/flock/fcntl -based locking working. ... If a process wants the lock, ...
      (freebsd-questions)
    • Re: file-copy corruption
      ... I too am heavily into NFS, ... I guess the cause could lie anywhere between the source disk, the source disk controller, ... On any recent Linux, it would be very rare for there to be "no ... diff had an option to not follow symlinks..). ...
      (Fedora)
    • Re: [PATCH 2.6.18-rc1] Make group sorting optional in the 2.6.x kernels
      ... in an operation on NFS on the client system, ... When there is no group id information passed downwards ... For someone of my level of knowledge of the kernel the README does not ... At the moment Linux is the only OS ...
      (Linux-Kernel)