cache_lookup() work this week.

Pawel Jakub Dawidek nick at garage.freebsd.pl
Fri Sep 5 23:46:45 PDT 2003


On Fri, Sep 05, 2003 at 04:54:38PM +0000, Sander Vesik wrote:
+> > When managing jails I like to put services in their own /services/xxx
+> > subdir, as well as under their respective /jails/host/services/xxx.  I
+> > then I can blow away the jail, or do a destructive upgrade without
+> > having to worry about restoring the service related data other than
+> > making another link.  Soft links don't work because of chroot.
+> 
+> As long as you manage to keep it all cycle-free it should all work fine.
+> I think Matt;s semi-hard links might allow you to do what you want.

Hmm. Hardlinked directories should be visable in chroot environment,
but semi-hardlinked I hope not.

Semi-hardlinks could cross mountpoints, so it is posibble to create
semi-hardlink without end point (because semi-hardlink will be there
after unmounting file system), so it is possible to create semi-hardlink
from inside jail to objects from outside jail. That's why it isn't
acceptable. There is no such problem with directory-hardlinks, because
target object must exists.

-- 
Pawel Jakub Dawidek                       pawel at xxxxxxxxxxx
UNIX Systems Programmer/Administrator     http://garage.freebsd.pl
Am I Evil? Yes, I Am!                     http://cerber.sourceforge.net
Attachment:
pgp00009.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00009.pgp
Type: application/octet-stream
Size: 305 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20030905/a437d2e4/attachment-0020.obj>


More information about the Kernel mailing list