Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Re: Re: Re: Re: Re: Re: exiting a chroot environment

by MarkM (Curate)
on Jul 09, 2003 at 02:27 UTC ( #272545=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Re: Re: Re: Re: exiting a chroot environment
in thread exiting a chroot environment

The root file system is the only file system that doesn't need /. and /.. to be special.

The special case is when a file system is mounted as a non-root filesystem, as then /mount/point/.. needs to appear to refer to the same inode as /mount does. The same is true of chroot(). The Linux code seems to jump through quite a few hoops (with functions names like 'graft_tree()') to deal with mounts...


Comment on Re: Re: Re: Re: Re: Re: Re: Re: Re: exiting a chroot environment

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://272545]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2015-07-07 03:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls