Re: RFS: echroot
2007/4/17, Junichi Uekawa <firstname.lastname@example.org>:
echroot extends the basic options that we found in chroot, with echroot
we can control many more options than executing chroot. Here I show
some of the options that we can happen to echroot.
> >> I am looking for a sponsor for my package "echroot".
> >The description says that this is an alternative to the
> >well-known chroot. What makes it different?
> >Kind regards
> echroot complements and extend chroot, run command with root directory
> set to NEW-ROOT.
That doesn't really explain anything, what does it really do?
netfort.gr.jp} Debian Project
Mount another linux partition in ~/MOUNT
mount /dev/sda1 ~/MOUNT
---> chroot ~/MOUNT /usr/bin/mc
Run mc of /dev/sda1 in root
---> echroot --user=YOURUSER --group=YOURGROUP --stderr=YOURFILE ~/MOUNT /usr/bin/mc
Run mc of /dev/sda1 in root and set the UID of the process to YOURUSER, the GID of the process to YOURGROUP, redirect STDERR to YOURFILE, etc ....
The output of man echroot command.
echroot is an extended chroot.
echroot [OPTION...] NEWROOT COMMAND...
echroot is a simple tool born to be an extended alternative of the well-known chroot(1) tool. Run COMMAND with root directory set
Run COMMAND with root directory set to NEWROOT.
Use daemon call to detach the process
Set VAL value to the VAR environment variable
-E Don't inherit environment
Fork before starting the process
Set the GID of the process to GROUP
Print PID of the process
Redirect STDERR to FILE
Redirect STDOUT to FILE
Set the UID of the process to USER
Give this help list
Give a short usage message
Print program version