Mercurial > hg > toybox
view Config.in @ 1214:a31d747b0017 draft
Please find the patches attached herewith for adding 3 new commands -
1. freeramdisk - If we unmount or detach the RAM disk based file system the Linux Kernel
will not free the allocated memory associated with the RAM device. This can be useful if
one wants to mount this device again: All data will be preserved.
If we need to free the memory back to the Kernel, one can use the command: "toybox freeramdisk <RAM device>".
2. openvt - Successfully opens a new virtual terminal as mentioned with -c option
otherwise search and open next available VT.
with -s option it switches to new VT
with -s -w option, it switch back successfully to originating VT.
3. deallocvt - Deallocate specified virtual teminal.
if no virtual terminal is specified, it deallocates all unused VT.
author | Vivek Bhagat <vivek.bhagat89@gmail.com> |
---|---|
date | Sun, 09 Mar 2014 14:27:11 -0500 |
parents | 40d0c96a8e89 |
children | 63d8181b0f92 |
line wrap: on
line source
mainmenu "ToyBox Configuration" source generated/Config.probed source generated/Config.in comment "" menu "Toybox global settings" config TOYBOX bool default y help usage: toybox [command] [arguments...] With no arguments, shows available commands. First argument is name of a command to run, followed by any arguments to that command. config TOYBOX_SUID bool "SUID support" default y help Support for the Set User ID bit, to install toybox suid root and drop permissions for commands which do not require root access. To use this change ownership of the file to the root user and set the suid bit in the file permissions: chown root:root toybox; chmod +s toybox config TOYBOX_FLOAT bool "Floating point support" default y help Include floating point support infrastructure and commands that require it. config TOYBOX_HELP bool "Help messages" default y help Include help text for each command. config TOYBOX_HELP_DASHDASH bool "--help" default y depends on TOYBOX_HELP help Support --help argument in all commands, even ones with a NULL optstring. Produces the same output as "help command". config TOYBOX_I18N bool "Internationalization support" default y help Support for UTF-8 character sets, and some locale support. config TOYBOX_FREE bool "Free memory unnecessarily" default n help When a program exits, the operating system will clean up after it (free memory, close files, etc). To save size, toybox usually relies on this behavior. If you're running toybox under a debugger or without a real OS (ala newlib+libgloss), enable this to make toybox clean up after itself. config TOYBOX_DEBUG bool "Debugging tests" default n help Enable extra checks for debugging purposes. endmenu