Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #724
Difficulty: Medium
The Plan 9 operating system was the first machine to achieve a Master rating in chess.
True or False?
Linux & Unix Commands - Search Man Pages

mic-chroot(1) [debian man page]

MIC-CHROOT(1)						      General Commands Manual						     MIC-CHROOT(1)

mc-chroot - chroot into a live image in order to do some changes SYNOPSIS
mic-chroot [options] <image|image fs> <image> is a live image file name, <image fs> is a directory path which contains the whole file system unpacked from a live image. DESCRIPTION
mic-chroot can chroot into a live image to do some changes, you can use it to unpack a live image then do some changes, once changes are done, you can regenerate a live image including those changes you did. mic-image-manager has a GUI tool for mic-chroot, you can use it if you prefer to use GUI instead of command line. OPTIONS
--version show version number -h, --help show this help message -s SAVETO, --save-to=SAVETO Save unpacked filesystem to the specified path --unpack-only Just unpack an image, this is used tounpack an image with -s option together -b BINDMOUNTS, --bind-mounts=BINDMOUNTS Specify bind mount list, for example: -b "/proc:/proc;/:/parentroot" -c CONVERTTO, --convert-to=CONVERTTO Convert it to the specified type live image on exiting, the allowed value is livecd or liveusb --convert-only Just convert an image, this will skip chroot and directly convert an image/filesytem with -c option together -o OUTDIR, --outdir=OUTDIR Output directory to use (default: current work dir) EXAMPLES
Unpack an image to a directory and chroot into it: mic-chroot -s /my/fs/root EXIT STATUS
mic-image-convertor returns a zero exist status if it succeeds, otherwise return non-zero and print error message. AUTHOR
Yi Yang, Anas Nashif, Jianfeng Ding SEE ALSO
mic-image-creator(1), mic-convertor(1), mic-image-writer(1), mic-livecd-iso-to-disk(1), mic-image-manager(1) perl v5.12.3 2011-05-31 MIC-CHROOT(1)

Check Out this Related Man Page

Tk_ImageChanged(3)					       Tk Library Procedures						Tk_ImageChanged(3)


Tk_ImageChanged - notify widgets that image needs to be redrawn SYNOPSIS
#include <tk.h> Tk_ImageChanged(imageMaster, x, y, width, height, imageWidth, imageHeight) ARGUMENTS
Tk_ImageMaster imageMaster (in) Token for image, which was passed to image's createProc when the image was created. int x (in) X-coordinate of upper-left corner of region that needs redisplay (measured from upper-left corner of image). int y (in) Y-coordinate of upper-left corner of region that needs redisplay (measured from upper-left corner of image). int width (in) Width of region that needs to be redrawn, in pixels. int height (in) Height of region that needs to be redrawn, in pixels. int imageWidth (in) Current width of image, in pixels. int imageHeight (in) Current height of image, in pixels. _________________________________________________________________ DESCRIPTION
An image manager calls Tk_ImageChanged for an image whenever anything happens that requires the image to be redrawn. As a result of call- ing Tk_ImageChanged, any widgets using the image are notified so that they can redisplay themselves appropriately. The imageMaster argu- ment identifies the image, and x, y, width, and height specify a rectangular region within the image that needs to be redrawn. imageWidth and imageHeight specify the image's (new) size. An image manager should call Tk_ImageChanged during its createProc to specify the image's initial size and to force redisplay if there are existing instances for the image. If any of the pixel values in the image should change later on, Tk_ImageChanged should be called again with x, y, width, and height values that cover all the pixels that changed. If the size of the image should change, then Tk_ImageChanged must be called to indicate the new size, even if no pixels need to be redisplayed. SEE ALSO
Tk_CreateImageType KEYWORDS
images, redisplay, image size changes Tk 4.0 Tk_ImageChanged(3)

Featured Tech Videos