source: MondoRescue/branches/stable/mindi-busybox/miscutils/ @ 1770

Last change on this file since 1770 was 1770, checked in by Bruno Cornec, 12 years ago
  • Better output for mindi-busybox revision
  • Remove dummy file created on NFS - report from Arnaud Tiger <>
  • strace useful for debug
  • fix new versions for pb (2.0.0 for mindi and 1.7.2 for mindi-busybox)
  • fix build process for mindi-busybox + options used in that version (dd for label-partitions-as-necessary)
  • fix typo in label-partitions-as-necessary which doesn't seem to work
  • Update to busybox 1.7.2
  • perl is now required at restore time to support uuid swap partitions (and will be used for many other thigs

in the future for sure)

  • next mindi version will be 2.0.0 due to all the changes made in it (udev may break working distros)
  • small optimization in mindi on keyboard handling (one single find instead of multiple)
  • better interaction for USB device when launching mindi manually
  • attempt to automatically guess block disk size for ramdisk
  • fix typos in bkphw
  • Fix the remaining problem with UUID support for swap partitions
  • Updates mondoarchive man page for USB support
  • Adds preliminary Hardware support to mindi (Proliant SSSTK)
  • Tries to add udev support also for rhel4
  • Fix UUID support which was still broken.
  • Be conservative in test for the start-nfs script
  • Update config file for mindi-busybox for 1.7.2 migration
  • Try to run around a busybox bug (1.2.2 pb on inexistant links)
  • Add build content for mindi-busybox in pb
  • Remove distributions content for mindi-busybox
  • Fix a warning on inexistant raidtab
  • Solve problem on tmpfs in restore init (Problem of inexistant symlink and busybox)
  • Create MONDO_CACHE and use it everywhere + creation at start
  • Really never try to eject a USB device
  • Fix a issue with &> usage (replaced with 1> and 2>)
  • Adds magic file to depllist in order to have file working + ldd which helps for debugging issues
  • tty modes correct to avoid sh error messages
  • Use ext3 normally and not ext2 instead
  • USB device should be corrected after reading (take 1st part)
  • Adds a mount_USB_here function derived from mount_CDROM_here
  • usb detection place before /dev detection in device name at restore time
  • Fix when restoring from USB: media is asked in interactive mode
  • Adds USB support for mondorestore
  • mount_cdrom => mount_media
  • elilo.efi is now searched throughout /boot/efi and not in a fixed place as there is no standard
  • untar-and-softlink => untar (+ interface change)
  • suppress useless softlinks creation/removal in boot process
  • avoids udevd messages on groups
  • Increase # of disks to 99 as in mindi at restore time (should be a conf file parameter)
  • skip existing big file creation
  • seems to work correctly for USB mindi boot
  • Adds group and tty link to udev conf
  • Always load usb-torage (even 2.6) to initiate USB bus discovery
  • Better printing of messages
  • Attempt to fix a bug in supporting OpenSusE 10.3 kernel for initramfs (mindi may now use multiple regex for kernel initrd detection)
  • Links were not correctly done as non relative for modules in mindi
  • exclusion of modules denied now works
  • Also create modules in their ordinary place, so that classical modprobe works + copy modules.dep
  • Fix bugs for DENY_MODS handling
  • Add device /dev/console for udev
  • ide-generic should now really be excluded
  • Fix a bug in major number for tty
  • If udev then adds modprobe/insmod to rootfs
  • tty0 is also cretaed with udev
  • ide-generic put rather in DENY_MODS
  • udevd remove from deplist s handled in mindi directly
  • better default for mindi when using --usb
  • Handles dynamically linked busybox (in case we want to use it soon ;-)
  • Adds fixed devices to create for udev
  • ide-generic should not be part of the initrd when using libata v2
  • support a dynamically linked udev (case on Ubuntu 7.10 and Mandriva 2008.0 so should be quite generic) This will give incitation to move to dyn. linked binaries in the initrd which will help for other tasks (ia6 4)
  • Improvement in udev support (do not use cl options not available in busybox)
  • Udev in mindi
    • auto creation of the right links at boot time with udev-links.conf(from Mandriva 2008.0)
    • rework startup of udev as current makes kernel crash (from Mandriva 2008.0)
    • add support for 64 bits udev
  • Try to render MyInsmod? silent at boot time
  • Adds udev support (mandatory for newest distributions to avoid remapping of devices in a different way as on the original system)
  • We also need vaft format support for USB boot
  • Adds libusual support (Ubuntu 7.10 needs it for USB)
  • Improve Ubuntu/Debian? keyboard detection and support
  • pbinit adapted to new pb (0.8.10). Filtering of docs done in it
  • Suppress some mondo warnings and errors on USB again
  • Tries to fix lack of files in deb mindi package
  • Verify should now work for USB devices
  • More log/mesages improvement for USB support
  • - Supress g_erase_tmpdir_and_scratchdir
  • Improve some log messages for USB support
  • Try to improve install in mindi to avoid issues with isolinux.cfg not installed vene if in the pkg :-(
  • Improve mindi-busybox build
  • In conformity with pb 0.8.9
  • Add support for Ubuntu 7.10 in build process
  • Add USB Key button to Menu UI (CD streamer removed)
  • Attempt to fix error messages on tmp/scratch files at the end by removing those dir at the latest possible.
  • Fix a bug linked to the size of the -E param which could be used (Arnaud Tiger/René? Ribaud).
  • Integrate ~/.pbrc content into mondorescue.pb (required project-builder >= 0.8.7)
  • Put mondorescue in conformity with new pb filtering rules
  • Add USB support at restore time (no test done yet). New start-usb script PB varibale added where useful
  • Unmounting USB device before removal of temporary scratchdir
  • Stil refining USB copy back to mondo (one command was not executed)
  • No need to have the image subdor in the csratchdir when USB.
  • umount the USB partition before attempting to use it
  • Remove useless copy from mindi to mondo at end of USB handling

(risky merge, we are raising the limits of 2 diverging branches. The status of stable is not completely sure as such. Will need lots of tests, but it's not yet done :-()
(merge -r1692:1769 $SVN_M/branches/2.2.5)

File size: 10.2 KB
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
6menu "Miscellaneous Utilities"
8config ADJTIMEX
9    bool "adjtimex"
10    default n
11    help
12      Adjtimex reads and optionally sets adjustment parameters for
13      the Linux clock adjustment algorithm.
15config BBCONFIG
16    bool "bbconfig"
17    default n
18    help
19      The bbconfig applet will print the config file with which
20      busybox was built.
22config CHRT
23    bool "chrt"
24    default n
25    help
26      manipulate real-time attributes of a process.
27      This requires sched_{g,s}etparam support in your libc.
29config CROND
30    bool "crond"
31    default n
32    select FEATURE_SUID
33    select FEATURE_SYSLOG
34    help
35      Crond is a background daemon that parses individual crontab
36      files and executes commands on behalf of the users in question.
37      This is a port of dcron from slackware.  It uses files of the
38      format /var/spool/cron/crontabs/<username> files, for example:
39          $ cat /var/spool/cron/crontabs/root
40          # Run daily cron jobs at 4:40 every day:
41          40 4 * * * /etc/cron/daily > /dev/null 2>&1
42      Note that Busybox binary must be setuid root for this applet to
43      work properly.
46    bool "Support debug option -d"
47    depends on CROND
48    default n
49    help
50      Support option -d to enter debug mode.
53    bool "Using /usr/sbin/sendmail?"
54    default n
55    depends on CROND
56    help
57      Support calling /usr/sbin/sendmail for send cmd outputs.
59config CRONTAB
60    bool "crontab"
61    default n
62    select FEATURE_SUID
63    help
64      Crontab manipulates the crontab for a particular user.  Only
65      the superuser may specify a different user and/or crontab directory.
67config DC
68    bool "dc"
69    default n
70    help
71      Dc is a reverse-polish desk calculator which supports unlimited
72      precision arithmetic.
74config DEVFSD
75    bool "devfsd (obsolete)"
76    default n
77    select FEATURE_SYSLOG
78    help
79      This is deprecated, and will be removed at the end of 2008.
81      Provides compatibility with old device names on a devfs systems.
82      You should set it to true if you have devfs enabled.
83      The following keywords in devsfd.conf are supported:
88       But only if they are written UPPERCASE!!!!!!!!
91    bool "Adds support for MODLOAD keyword in devsfd.conf"
92    default n
93    depends on DEVFSD
94    help
95      This actually doesn't work with busybox modutils but needs
96      the external modutils.
98config DEVFSD_FG_NP
99    bool "Enables the -fg and -np options"
100    default n
101    depends on DEVFSD
102    help
103        -fg Run the daemon in the foreground.
104        -np Exit  after  parsing  the configuration file. Do not poll for events.
107    bool "Increases logging (and size)"
108    default n
109    depends on DEVFSD
110    help
111      Increases logging to stderr or syslog.
114    bool "  Use devfs names for all devices (obsolete)"
115    default n
116    help
117      This is obsolete and will be going away at the end of 2008..
119      This tells busybox to look for names like /dev/loop/0 instead of
120      /dev/loop0.  If your /dev directory has normal names instead of
121      devfs names, you don't want this.
123config EJECT
124    bool "eject"
125    default n
126    help
127      Used to eject cdroms.  (defaults to /dev/cdrom)
129config LAST
130    bool "last"
131    default n
132    select FEATURE_WTMP
133    help
134      'last' displays a list of the last users that logged into the system.
136config LESS
137    bool "less"
138    default n
139    help
140      'less' is a pager, meaning that it displays text files. It possesses
141      a wide array of features, and is an improvement over 'more'.
144    int "Max number of input lines less will try to eat"
145    default 9999999
146    depends on LESS
149    bool "Enable bracket searching"
150    default y
151    depends on LESS
152    help
153      This option adds the capability to search for matching left and right
154      brackets, facilitating programming.
157    bool "Enable extra flags"
158    default y
159    depends on LESS
160    help
161      The extra flags provided do the following:
163      The -M flag enables a more sophisticated status line.
164      The -m flag enables a simpler status line with a percentage.
167    bool "Enable flag changes"
168    default n
169    depends on LESS
170    help
171      This enables the ability to change command-line flags within
172      less itself.
175    bool "Enable marks"
176    default n
177    depends on LESS
178    help
179      Marks enable positions in a file to be stored for easy reference.
182    bool "Enable regular expressions"
183    default n
184    depends on LESS
185    help
186      Enable regular expressions, allowing complex file searches.
188config HDPARM
189    bool "hdparm"
190    default n
191    help
192      Get/Set hard drive parameters.  Primarily intended for ATA
193      drives.  Adds about 13k (or around 30k if you enable the
194      FEATURE_HDPARM_GET_IDENTITY option)....
197    bool "Support obtaining detailed information directly from drives"
198    default y
199    depends on HDPARM
200    help
201      Enables the -I and -i options to obtain detailed information
202      directly from drives about their capabilities and supported ATA
203      feature set. If no device name is specified, hdparm will read
204      identify data from stdin. Enabling this option will add about 16k...
207    bool "Register an IDE interface (DANGEROUS)"
208    default n
209    depends on HDPARM
210    help
211      Enables the 'hdparm -R' option to register an IDE interface.
212      This is dangerous stuff, so you should probably say N.
215    bool "Un-register an IDE interface (DANGEROUS)"
216    default n
217    depends on HDPARM
218    help
219      Enables the 'hdparm -U' option to un-register an IDE interface.
220      This is dangerous stuff, so you should probably say N.
223    bool "perform device reset (DANGEROUS)"
224    default n
225    depends on HDPARM
226    help
227      Enables the 'hdparm -w' option to perform a device reset.
228      This is dangerous stuff, so you should probably say N.
231    bool "tristate device for hotswap (DANGEROUS)"
232    default n
233    depends on HDPARM
234    help
235      Enables the 'hdparm -x' option to tristate device for hotswap,
236      and the '-b' option to get/set bus state.  This is dangerous
237      stuff, so you should probably say N.
240    bool "get/set using_dma flag (DANGEROUS)"
241    default n
242    depends on HDPARM
243    help
244      Enables the 'hdparm -d' option to get/set using_dma flag.
245      This is dangerous stuff, so you should probably say N.
247config MAKEDEVS
248    bool "makedevs"
249    default n
250    help
251      'makedevs' is a utility used to create a batch of devices with
252      one command.
253      .
254      There are two choices for command line behaviour, the interface
255      as used by LEAF/Linux Router Project, or a device table file.
256      .
257      'leaf' is traditionally what busybox follows, it allows multiple
258      devices of a particluar type to be created per command.
259      e.g. /dev/hda[0-9]
260      Device properties are passed as command line arguments.
261      .
262      'table' reads device properties from a file or stdin, allowing
263      a batch of unrelated devices to be made with one command.
264      User/group names are allowed as an alternative to uid/gid.
267    prompt "Choose makedevs behaviour"
268    depends on MAKEDEVS
272    bool "leaf"
275    bool "table"
279config MOUNTPOINT
280    bool "mountpoint"
281    default n
282    help
283      mountpoint checks if the directory is a mountpoint.
285config MT
286    bool "mt"
287    default n
288    help
289      mt is used to control tape devices.  You can use the mt utility
290      to advance or rewind a tape past a specified number of archive
291      files on the tape.
294    bool "raidautorun"
295    default n
296    help
297      raidautorun tells the kernel md driver to
298      search and start RAID arrays.
300config READAHEAD
301    bool "readahead"
302    default n
303    depends on LFS
304    help
305      Preload the files listed on the command line into RAM cache so that
306      subsequent reads on these files will not block on disk I/O.
308      This applet just calls the readahead(2) system call on each file.
309      It is mainly useful in system startup scripts to preload files
310      or executables before they are used.  When used at the right time
311      (in particular when a CPU boundprocess is running) it can
312      significantly speed up system startup.
314      As readahead(2) blocks until each file has been read, it is best to
315      run this applet as a background job.
317config RUNLEVEL
318    bool "runlevel"
319    default n
320    help
321      find the current and previous system runlevel.
323      This applet uses utmp but does not rely on busybox supporing
324      utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
326config RX
327    bool "rx"
328    default n
329    help
330      Receive files using the Xmodem protocol.
332config STRINGS
333    bool "strings"
334    default n
335    help
336      strings prints the printable character sequences for each file
337      specified.
339config SETSID
340    bool "setsid"
341    default n
342    help
343      setsid runs a program in a new session
345config TASKSET
346    bool "taskset"
347    default n
348    help
349      Retrieve or set a processes's CPU affinity.
350      This requires sched_{g,s}etaffinity support in your libc.
353    bool "fancy output"
354    default y
355    depends on TASKSET
356    help
357      Add code for fancy output. This merely silences a compiler-warning
358      and adds about 135 Bytes. May be needed for machines with alot
359      of CPUs.
361config TIME
362    bool "time"
363    default n
364    help
365      The time command runs the specified program with the given arguments.
366      When the command finishes, time writes a message to standard output
367      giving timing statistics about this program run.
369config TTYSIZE
370    bool "ttysize"
371    default n
372    help
373      A replacement for "stty size". Unlike stty, can report only width,
374      only height, or both, in any order. It also does not complain on error,
375      but returns default 80x24. Usage in shell scripts: width=`ttysize w`.
377config WATCHDOG
378    bool "watchdog"
379    default n
380    help
381      The watchdog utility is used with hardware or software watchdog
382      device drivers.  It opens the specified watchdog device special file
383      and periodically writes a magic character to the device.  If the
384      watchdog applet ever fails to write the magic character within a
385      certain amount of time, the watchdog device assumes the system has
386      hung, and will cause the hardware to reboot.
Note: See TracBrowser for help on using the repository browser.