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

Re: ezjail-admin patch



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

Michael Chaney wrote:

> This patch allows ezjail-admin to create a jail in an existing directory
> if that directory is empty.  Basically it allows the directory to
> contain ".", "..", ".snap", and "lost+found" but nothing else.
> 
> This is important for me as I'm putting each jail in its own mounted
> volume, so the mount point must already exist before I run ezjail-admin
> create.
> 
> I have tested this code, but it's pretty simple.

Sorry for my late reply, I'm just currently trying to get all the undone
stuff done.

My suggestion would be to use "ls -A". But one the other hand we're just
guessing here which files inside that directory are okay, they may
differ from file system to file system. I'd rater think, adding an
option that "just installs, no questions asked" is cleaner.

Comments, Suggestions?

  erdgeist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFrL3MImmQdUyYEgkRAtJHAJwLr11f7KBOttVlRjwLOHnulicc5ACePs4U
wBjgTM+YWet6SZH29fBBMRo=
=Gue0
-----END PGP SIGNATURE-----