[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ezjail-admin patch
-----BEGIN PGP SIGNED MESSAGE-----
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
> 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
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
-----END PGP SIGNATURE-----