regularize format of source file headers, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
b63afead44
commit
0c4dbd481a
@ -16,7 +16,6 @@
|
|||||||
* between different systems
|
* between different systems
|
||||||
* http://www.unix-systems.org/single_unix_specification_v2/xcu/ar.html
|
* http://www.unix-systems.org/single_unix_specification_v2/xcu/ar.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config AR
|
//config:config AR
|
||||||
//config: bool "ar (9.5 kb)"
|
//config: bool "ar (9.5 kb)"
|
||||||
//config: default n # needs to be improved to be able to replace binutils ar
|
//config: default n # needs to be improved to be able to replace binutils ar
|
||||||
@ -46,6 +45,7 @@
|
|||||||
//config: This enables archive creation (-c and -r) with busybox ar.
|
//config: This enables archive creation (-c and -r) with busybox ar.
|
||||||
|
|
||||||
//applet:IF_AR(APPLET(ar, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_AR(APPLET(ar, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_AR) += ar.o
|
//kbuild:lib-$(CONFIG_AR) += ar.o
|
||||||
|
|
||||||
//usage:#define ar_trivial_usage
|
//usage:#define ar_trivial_usage
|
||||||
|
@ -4,9 +4,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
#include "libbb.h"
|
|
||||||
#include "bb_archive.h"
|
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_ZCAT) += bbunzip.o
|
//kbuild:lib-$(CONFIG_ZCAT) += bbunzip.o
|
||||||
//kbuild:lib-$(CONFIG_GUNZIP) += bbunzip.o
|
//kbuild:lib-$(CONFIG_GUNZIP) += bbunzip.o
|
||||||
//kbuild:lib-$(CONFIG_BZCAT) += bbunzip.o
|
//kbuild:lib-$(CONFIG_BZCAT) += bbunzip.o
|
||||||
@ -21,6 +18,9 @@
|
|||||||
/* gzip_main() too: */
|
/* gzip_main() too: */
|
||||||
//kbuild:lib-$(CONFIG_GZIP) += bbunzip.o
|
//kbuild:lib-$(CONFIG_GZIP) += bbunzip.o
|
||||||
|
|
||||||
|
#include "libbb.h"
|
||||||
|
#include "bb_archive.h"
|
||||||
|
|
||||||
/* Note: must be kept in sync with archival/lzop.c */
|
/* Note: must be kept in sync with archival/lzop.c */
|
||||||
enum {
|
enum {
|
||||||
OPT_STDOUT = 1 << 0,
|
OPT_STDOUT = 1 << 0,
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
* See README and LICENSE files in bz/ directory for more information
|
* See README and LICENSE files in bz/ directory for more information
|
||||||
* about bzip2 library code.
|
* about bzip2 library code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config BZIP2
|
//config:config BZIP2
|
||||||
//config: bool "bzip2 (18 kb)"
|
//config: bool "bzip2 (18 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -30,6 +29,7 @@
|
|||||||
//config: enabled.
|
//config: enabled.
|
||||||
|
|
||||||
//applet:IF_BZIP2(APPLET(bzip2, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_BZIP2(APPLET(bzip2, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_BZIP2) += bzip2.o
|
//kbuild:lib-$(CONFIG_BZIP2) += bzip2.o
|
||||||
|
|
||||||
//usage:#define bzip2_trivial_usage
|
//usage:#define bzip2_trivial_usage
|
||||||
|
@ -10,10 +10,6 @@
|
|||||||
* Doesn't check CRC's
|
* Doesn't check CRC's
|
||||||
* Only supports new ASCII and CRC formats
|
* Only supports new ASCII and CRC formats
|
||||||
*/
|
*/
|
||||||
#include "libbb.h"
|
|
||||||
#include "common_bufsiz.h"
|
|
||||||
#include "bb_archive.h"
|
|
||||||
|
|
||||||
//config:config CPIO
|
//config:config CPIO
|
||||||
//config: bool "cpio (14 kb)"
|
//config: bool "cpio (14 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -44,6 +40,7 @@
|
|||||||
//config: Passthrough mode. Rarely used.
|
//config: Passthrough mode. Rarely used.
|
||||||
|
|
||||||
//applet:IF_CPIO(APPLET(cpio, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_CPIO(APPLET(cpio, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_CPIO) += cpio.o
|
//kbuild:lib-$(CONFIG_CPIO) += cpio.o
|
||||||
|
|
||||||
//usage:#define cpio_trivial_usage
|
//usage:#define cpio_trivial_usage
|
||||||
@ -142,6 +139,10 @@
|
|||||||
-u, --unconditional Replace all files unconditionally
|
-u, --unconditional Replace all files unconditionally
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libbb.h"
|
||||||
|
#include "common_bufsiz.h"
|
||||||
|
#include "bb_archive.h"
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
OPT_EXTRACT = (1 << 0),
|
OPT_EXTRACT = (1 << 0),
|
||||||
OPT_TEST = (1 << 1),
|
OPT_TEST = (1 << 1),
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
* bugs that need to be fixed
|
* bugs that need to be fixed
|
||||||
* - (unknown, please let me know when you find any)
|
* - (unknown, please let me know when you find any)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config DPKG
|
//config:config DPKG
|
||||||
//config: bool "dpkg (44 kb)"
|
//config: bool "dpkg (44 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -38,6 +37,7 @@
|
|||||||
//config: you should use the official dpkg if possible.
|
//config: you should use the official dpkg if possible.
|
||||||
|
|
||||||
//applet:IF_DPKG(APPLET(dpkg, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_DPKG(APPLET(dpkg, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_DPKG) += dpkg.o
|
//kbuild:lib-$(CONFIG_DPKG) += dpkg.o
|
||||||
|
|
||||||
//usage:#define dpkg_trivial_usage
|
//usage:#define dpkg_trivial_usage
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config DPKG_DEB
|
//config:config DPKG_DEB
|
||||||
//config: bool "dpkg_deb"
|
//config: bool "dpkg_deb"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -36,7 +36,6 @@ a: 85.1% -- replaced with a.gz
|
|||||||
gzip: bogus: No such file or directory
|
gzip: bogus: No such file or directory
|
||||||
aa: 85.1% -- replaced with aa.gz
|
aa: 85.1% -- replaced with aa.gz
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config GZIP
|
//config:config GZIP
|
||||||
//config: bool "gzip (19 kb)"
|
//config: bool "gzip (19 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -81,6 +80,7 @@ aa: 85.1% -- replaced with aa.gz
|
|||||||
//config: enabled.
|
//config: enabled.
|
||||||
|
|
||||||
//applet:IF_GZIP(APPLET(gzip, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_GZIP(APPLET(gzip, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_GZIP) += gzip.o
|
//kbuild:lib-$(CONFIG_GZIP) += gzip.o
|
||||||
|
|
||||||
//usage:#define gzip_trivial_usage
|
//usage:#define gzip_trivial_usage
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
|
|
||||||
"Minimalized" for busybox by Alain Knaff
|
"Minimalized" for busybox by Alain Knaff
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config LZOP
|
//config:config LZOP
|
||||||
//config: bool "lzop (13 kb)"
|
//config: bool "lzop (13 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -56,6 +55,7 @@
|
|||||||
// APPLET_ODDNAME:name main location suid_type help
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_UNLZOP( APPLET_ODDNAME(unlzop, lzop, BB_DIR_USR_BIN, BB_SUID_DROP, unlzop))
|
//applet:IF_UNLZOP( APPLET_ODDNAME(unlzop, lzop, BB_DIR_USR_BIN, BB_SUID_DROP, unlzop))
|
||||||
//applet:IF_LZOPCAT(APPLET_ODDNAME(lzopcat, lzop, BB_DIR_USR_BIN, BB_SUID_DROP, lzopcat))
|
//applet:IF_LZOPCAT(APPLET_ODDNAME(lzopcat, lzop, BB_DIR_USR_BIN, BB_SUID_DROP, lzopcat))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_LZOP) += lzop.o
|
//kbuild:lib-$(CONFIG_LZOP) += lzop.o
|
||||||
//kbuild:lib-$(CONFIG_UNLZOP) += lzop.o
|
//kbuild:lib-$(CONFIG_UNLZOP) += lzop.o
|
||||||
//kbuild:lib-$(CONFIG_LZOPCAT) += lzop.o
|
//kbuild:lib-$(CONFIG_LZOPCAT) += lzop.o
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config TAR
|
//config:config TAR
|
||||||
//config: bool "tar (40 kb)"
|
//config: bool "tar (40 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -113,6 +112,7 @@
|
|||||||
//config: when extracting files from tar archives.
|
//config: when extracting files from tar archives.
|
||||||
|
|
||||||
//applet:IF_TAR(APPLET(tar, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_TAR(APPLET(tar, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_TAR) += tar.o
|
//kbuild:lib-$(CONFIG_TAR) += tar.o
|
||||||
|
|
||||||
#include <fnmatch.h>
|
#include <fnmatch.h>
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
* Copyright (C) Arne Bernin <arne@matrix.loopback.org>
|
* Copyright (C) Arne Bernin <arne@matrix.loopback.org>
|
||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
//config:config DUMPKMAP
|
//config:config DUMPKMAP
|
||||||
//config: bool "dumpkmap (1.3 kb)"
|
//config: bool "dumpkmap (1.3 kb)"
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
/* "Standard" version of this tool is in ncurses package */
|
|
||||||
|
|
||||||
//config:config RESET
|
//config:config RESET
|
||||||
//config: bool "reset (275 bytes)"
|
//config: bool "reset (275 bytes)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -25,6 +23,8 @@
|
|||||||
//usage:#define reset_full_usage "\n\n"
|
//usage:#define reset_full_usage "\n\n"
|
||||||
//usage: "Reset the screen"
|
//usage: "Reset the screen"
|
||||||
|
|
||||||
|
/* "Standard" version of this tool is in ncurses package */
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
|
|
||||||
#define ESC "\033"
|
#define ESC "\033"
|
||||||
|
@ -48,7 +48,6 @@
|
|||||||
//applet:IF_PRINTF(APPLET_NOFORK(printf, printf, BB_DIR_USR_BIN, BB_SUID_DROP, printf))
|
//applet:IF_PRINTF(APPLET_NOFORK(printf, printf, BB_DIR_USR_BIN, BB_SUID_DROP, printf))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_PRINTF) += printf.o
|
//kbuild:lib-$(CONFIG_PRINTF) += printf.o
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_ASH_PRINTF) += printf.o
|
//kbuild:lib-$(CONFIG_ASH_PRINTF) += printf.o
|
||||||
//kbuild:lib-$(CONFIG_HUSH_PRINTF) += printf.o
|
//kbuild:lib-$(CONFIG_HUSH_PRINTF) += printf.o
|
||||||
|
|
||||||
|
@ -6,16 +6,16 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config SHUF
|
//config:config SHUF
|
||||||
//config: bool "shuf (5.4 kb)"
|
//config: bool "shuf (5.4 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Generate random permutations
|
//config: Generate random permutations
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_SHUF) += shuf.o
|
|
||||||
//applet:IF_SHUF(APPLET_NOEXEC(shuf, shuf, BB_DIR_USR_BIN, BB_SUID_DROP, shuf))
|
//applet:IF_SHUF(APPLET_NOEXEC(shuf, shuf, BB_DIR_USR_BIN, BB_SUID_DROP, shuf))
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_SHUF) += shuf.o
|
||||||
|
|
||||||
//usage:#define shuf_trivial_usage
|
//usage:#define shuf_trivial_usage
|
||||||
//usage: "[-e|-i L-H] [-n NUM] [-o FILE] [-z] [FILE|ARG...]"
|
//usage: "[-e|-i L-H] [-n NUM] [-o FILE] [-z] [FILE|ARG...]"
|
||||||
//usage:#define shuf_full_usage "\n\n"
|
//usage:#define shuf_full_usage "\n\n"
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config AWK
|
//config:config AWK
|
||||||
//config: bool "awk (22 kb)"
|
//config: bool "awk (22 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -6,10 +6,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* BB_AUDIT SUSv3 (virtually) compliant -- uses nicer GNU format for -l. */
|
|
||||||
/* http://www.opengroup.org/onlinepubs/007904975/utilities/cmp.html */
|
|
||||||
|
|
||||||
//config:config CMP
|
//config:config CMP
|
||||||
//config: bool "cmp (5.4 kb)"
|
//config: bool "cmp (5.4 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -17,10 +13,10 @@
|
|||||||
//config: cmp is used to compare two files and returns the result
|
//config: cmp is used to compare two files and returns the result
|
||||||
//config: to standard output.
|
//config: to standard output.
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_CMP) += cmp.o
|
|
||||||
|
|
||||||
//applet:IF_CMP(APPLET(cmp, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_CMP(APPLET(cmp, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_CMP) += cmp.o
|
||||||
|
|
||||||
//usage:#define cmp_trivial_usage
|
//usage:#define cmp_trivial_usage
|
||||||
//usage: "[-l] [-s] FILE1 [FILE2" IF_DESKTOP(" [SKIP1 [SKIP2]]") "]"
|
//usage: "[-l] [-s] FILE1 [FILE2" IF_DESKTOP(" [SKIP1 [SKIP2]]") "]"
|
||||||
//usage:#define cmp_full_usage "\n\n"
|
//usage:#define cmp_full_usage "\n\n"
|
||||||
@ -29,6 +25,9 @@
|
|||||||
//usage: "\n for all differing bytes"
|
//usage: "\n for all differing bytes"
|
||||||
//usage: "\n -s Quiet"
|
//usage: "\n -s Quiet"
|
||||||
|
|
||||||
|
/* BB_AUDIT SUSv3 (virtually) compliant -- uses nicer GNU format for -l. */
|
||||||
|
/* http://www.opengroup.org/onlinepubs/007904975/utilities/cmp.html */
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
|
|
||||||
static const char fmt_eof[] ALIGN1 = "cmp: EOF on %s\n";
|
static const char fmt_eof[] ALIGN1 = "cmp: EOF on %s\n";
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The following code uses an algorithm due to Harold Stone,
|
* The following code uses an algorithm due to Harold Stone,
|
||||||
* which finds a pair of longest identical subsequences in
|
* which finds a pair of longest identical subsequences in
|
||||||
@ -75,7 +74,6 @@
|
|||||||
* 3*(number of k-candidates installed), typically about
|
* 3*(number of k-candidates installed), typically about
|
||||||
* 6n words for files of length n.
|
* 6n words for files of length n.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config DIFF
|
//config:config DIFF
|
||||||
//config: bool "diff (13 kb)"
|
//config: bool "diff (13 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -97,10 +95,10 @@
|
|||||||
//config: This option enables support for directory and subdirectory
|
//config: This option enables support for directory and subdirectory
|
||||||
//config: comparison.
|
//config: comparison.
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_DIFF) += diff.o
|
|
||||||
|
|
||||||
//applet:IF_DIFF(APPLET(diff, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_DIFF(APPLET(diff, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_DIFF) += diff.o
|
||||||
|
|
||||||
//usage:#define diff_trivial_usage
|
//usage:#define diff_trivial_usage
|
||||||
//usage: "[-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2"
|
//usage: "[-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2"
|
||||||
//usage:#define diff_full_usage "\n\n"
|
//usage:#define diff_full_usage "\n\n"
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
* -F fuzz (number, default 2)
|
* -F fuzz (number, default 2)
|
||||||
* [file] which file to patch
|
* [file] which file to patch
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config PATCH
|
//config:config PATCH
|
||||||
//config: bool "patch (9.1 kb)"
|
//config: bool "patch (9.1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Code overview.
|
/* Code overview.
|
||||||
*
|
*
|
||||||
* Files are laid out to avoid unnecessary function declarations. So for
|
* Files are laid out to avoid unnecessary function declarations. So for
|
||||||
@ -29,7 +28,6 @@
|
|||||||
*
|
*
|
||||||
* sed_main() is where external code calls into this, with a command line.
|
* sed_main() is where external code calls into this, with a command line.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Supported features and commands in this version of sed:
|
/* Supported features and commands in this version of sed:
|
||||||
*
|
*
|
||||||
* - comments ('#')
|
* - comments ('#')
|
||||||
@ -55,7 +53,6 @@
|
|||||||
* http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html
|
* http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html
|
||||||
* http://sed.sourceforge.net/sedfaq3.html
|
* http://sed.sourceforge.net/sedfaq3.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config SED
|
//config:config SED
|
||||||
//config: bool "sed (12 kb)"
|
//config: bool "sed (12 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -63,10 +60,10 @@
|
|||||||
//config: sed is used to perform text transformations on a file
|
//config: sed is used to perform text transformations on a file
|
||||||
//config: or input from a pipeline.
|
//config: or input from a pipeline.
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_SED) += sed.o
|
|
||||||
|
|
||||||
//applet:IF_SED(APPLET(sed, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_SED(APPLET(sed, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_SED) += sed.o
|
||||||
|
|
||||||
//usage:#define sed_trivial_usage
|
//usage:#define sed_trivial_usage
|
||||||
//usage: "[-i[SFX]] [-nrE] [-f FILE]... [-e CMD]... [FILE]...\n"
|
//usage: "[-i[SFX]] [-nrE] [-f FILE]... [-e CMD]... [FILE]...\n"
|
||||||
//usage: "or: sed [-i[SFX]] [-nrE] CMD [FILE]..."
|
//usage: "or: sed [-i[SFX]] [-nrE] CMD [FILE]..."
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Things To Do:
|
* Things To Do:
|
||||||
* EXINIT
|
* EXINIT
|
||||||
@ -19,7 +18,6 @@
|
|||||||
* ":r !cmd" and "!cmd" to filter text through an external command
|
* ":r !cmd" and "!cmd" to filter text through an external command
|
||||||
* An "ex" line oriented mode- maybe using "cmdedit"
|
* An "ex" line oriented mode- maybe using "cmdedit"
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config VI
|
//config:config VI
|
||||||
//config: bool "vi (22 kb)"
|
//config: bool "vi (22 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* findutils-4.1.20:
|
/* findutils-4.1.20:
|
||||||
*
|
*
|
||||||
* # find file.txt -exec 'echo {}' '{} {}' ';'
|
* # find file.txt -exec 'echo {}' '{} {}' ';'
|
||||||
@ -44,7 +43,6 @@
|
|||||||
* # find t z t z '(' -name '*t*' -o -name '*z*' ')' -o -print
|
* # find t z t z '(' -name '*t*' -o -name '*z*' ')' -o -print
|
||||||
* (no output)
|
* (no output)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Testing script
|
/* Testing script
|
||||||
* ./busybox find "$@" | tee /tmp/bb_find
|
* ./busybox find "$@" | tee /tmp/bb_find
|
||||||
* echo ==================
|
* echo ==================
|
||||||
@ -52,7 +50,6 @@
|
|||||||
* echo ==================
|
* echo ==================
|
||||||
* diff -u /tmp/std_find /tmp/bb_find && echo Identical
|
* diff -u /tmp/std_find /tmp/bb_find && echo Identical
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config FIND
|
//config:config FIND
|
||||||
//config: bool "find (14 kb)"
|
//config: bool "find (14 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
*
|
*
|
||||||
* (C) 2006 Jac Goudsmit added -o option
|
* (C) 2006 Jac Goudsmit added -o option
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config GREP
|
//config:config GREP
|
||||||
//config: bool "grep (8.5 kb)"
|
//config: bool "grep (8.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -2,11 +2,6 @@
|
|||||||
/*
|
/*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//applet:IF_BOOTCHARTD(APPLET(bootchartd, BB_DIR_SBIN, BB_SUID_DROP))
|
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_BOOTCHARTD) += bootchartd.o
|
|
||||||
|
|
||||||
//config:config BOOTCHARTD
|
//config:config BOOTCHARTD
|
||||||
//config: bool "bootchartd (10 kb)"
|
//config: bool "bootchartd (10 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -46,6 +41,10 @@
|
|||||||
//config: Enable reading and parsing of $PWD/bootchartd.conf
|
//config: Enable reading and parsing of $PWD/bootchartd.conf
|
||||||
//config: and /etc/bootchartd.conf files.
|
//config: and /etc/bootchartd.conf files.
|
||||||
|
|
||||||
|
//applet:IF_BOOTCHARTD(APPLET(bootchartd, BB_DIR_SBIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_BOOTCHARTD) += bootchartd.o
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include "common_bufsiz.h"
|
#include "common_bufsiz.h"
|
||||||
/* After libbb.h, since it needs sys/types.h on some systems */
|
/* After libbb.h, since it needs sys/types.h on some systems */
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config HALT
|
//config:config HALT
|
||||||
//config: bool "halt (3.7 kb)"
|
//config: bool "halt (3.7 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config INIT
|
//config:config INIT
|
||||||
//config: bool "init (9.3 kb)"
|
//config: bool "init (9.3 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config FEATURE_RTMINMAX
|
//config:config FEATURE_RTMINMAX
|
||||||
//config: bool "Support RTMIN[+n] and RTMAX[-n] signal names"
|
//config: bool "Support RTMIN[+n] and RTMAX[-n] signal names"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* Copyright (C) 2007 by Tito Ragusa <farmatito@tiscali.it>
|
* Copyright (C) 2007 by Tito Ragusa <farmatito@tiscali.it>
|
||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
//config:config ADDGROUP
|
//config:config ADDGROUP
|
||||||
//config: bool "addgroup (8.2 kb)"
|
//config: bool "addgroup (8.2 kb)"
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
* Copyright (C) 2009 Bernhard Reutner-Fischer
|
* Copyright (C) 2009 Bernhard Reutner-Fischer
|
||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
//config:config BEEP
|
//config:config BEEP
|
||||||
//config: bool "beep (3 kb)"
|
//config: bool "beep (3 kb)"
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* TODO:
|
* TODO:
|
||||||
* - Add more regular expression support - search modifiers, certain matches, etc.
|
* - Add more regular expression support - search modifiers, certain matches, etc.
|
||||||
@ -20,7 +19,6 @@
|
|||||||
* - the inp file pointer is used so that keyboard input works after
|
* - the inp file pointer is used so that keyboard input works after
|
||||||
* redirected input has been read from stdin
|
* redirected input has been read from stdin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config LESS
|
//config:config LESS
|
||||||
//config: bool "less (15 kb)"
|
//config: bool "less (15 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
*
|
*
|
||||||
* TODO: add support for large (>4GB) MTD devices
|
* TODO: add support for large (>4GB) MTD devices
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config NANDWRITE
|
//config:config NANDWRITE
|
||||||
//config: bool "nandwrite (5.9 kb)"
|
//config: bool "nandwrite (5.9 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
* Copyright (C) 2006 Bernhard Reutner-Fischer
|
* Copyright (C) 2006 Bernhard Reutner-Fischer
|
||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
//config:config RAIDAUTORUN
|
//config:config RAIDAUTORUN
|
||||||
//config: bool "raidautorun (1.4 kb)"
|
//config: bool "raidautorun (1.4 kb)"
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/*
|
/*
|
||||||
* rfkill implementation for busybox
|
* rfkill implementation for busybox
|
||||||
*
|
*
|
||||||
* Copyright (C) 2010 Malek Degachi <malek-degachi@laposte.net>
|
* Copyright (C) 2010 Malek Degachi <malek-degachi@laposte.net>
|
||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config RFKILL
|
//config:config RFKILL
|
||||||
//config: bool "rfkill (5.3 kb)"
|
//config: bool "rfkill (5.3 kb)"
|
||||||
//config: default n # doesn't build on Ubuntu 9.04
|
//config: default n # doesn't build on Ubuntu 9.04
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config SETSERIAL
|
//config:config SETSERIAL
|
||||||
//config: bool "setserial (6.6 kb)"
|
//config: bool "setserial (6.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config UBIATTACH
|
//config:config UBIATTACH
|
||||||
//config: bool "ubiattach (4.7 kb)"
|
//config: bool "ubiattach (4.7 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config HOSTNAME
|
//config:config HOSTNAME
|
||||||
//config: bool "hostname (5.6 kb)"
|
//config: bool "hostname (5.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config IFUP
|
//config:config IFUP
|
||||||
//config: bool "ifup (17 kb)"
|
//config: bool "ifup (17 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config NAMEIF
|
//config:config NAMEIF
|
||||||
//config: bool "nameif (6.6 kb)"
|
//config: bool "nameif (6.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -3,20 +3,20 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
#include "libbb.h"
|
|
||||||
#include <netinet/tcp.h>
|
|
||||||
#include <linux/fs.h>
|
|
||||||
|
|
||||||
//applet:IF_NBDCLIENT(APPLET_NOEXEC(nbd-client, nbdclient, BB_DIR_USR_SBIN, BB_SUID_DROP, nbdclient))
|
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_NBDCLIENT) += nbd-client.o
|
|
||||||
|
|
||||||
//config:config NBDCLIENT
|
//config:config NBDCLIENT
|
||||||
//config: bool "nbd-client (4.6 kb)"
|
//config: bool "nbd-client (4.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Network block device client
|
//config: Network block device client
|
||||||
|
|
||||||
|
//applet:IF_NBDCLIENT(APPLET_NOEXEC(nbd-client, nbdclient, BB_DIR_USR_SBIN, BB_SUID_DROP, nbdclient))
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_NBDCLIENT) += nbd-client.o
|
||||||
|
|
||||||
|
#include "libbb.h"
|
||||||
|
#include <netinet/tcp.h>
|
||||||
|
#include <linux/fs.h>
|
||||||
|
|
||||||
#define NBD_SET_SOCK _IO(0xab, 0)
|
#define NBD_SET_SOCK _IO(0xab, 0)
|
||||||
#define NBD_SET_BLKSIZE _IO(0xab, 1)
|
#define NBD_SET_BLKSIZE _IO(0xab, 1)
|
||||||
#define NBD_SET_SIZE _IO(0xab, 2)
|
#define NBD_SET_SIZE _IO(0xab, 2)
|
||||||
|
@ -24,28 +24,6 @@
|
|||||||
* This version is an adaptation of ping.c from busybox.
|
* This version is an adaptation of ping.c from busybox.
|
||||||
* The code was modified by Bart Visscher <magick@linux-fan.com>
|
* The code was modified by Bart Visscher <magick@linux-fan.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <net/if.h>
|
|
||||||
#include <netinet/ip_icmp.h>
|
|
||||||
#include "libbb.h"
|
|
||||||
#include "common_bufsiz.h"
|
|
||||||
|
|
||||||
#ifdef __BIONIC__
|
|
||||||
/* should be in netinet/ip_icmp.h */
|
|
||||||
# define ICMP_DEST_UNREACH 3 /* Destination Unreachable */
|
|
||||||
# define ICMP_SOURCE_QUENCH 4 /* Source Quench */
|
|
||||||
# define ICMP_REDIRECT 5 /* Redirect (change route) */
|
|
||||||
# define ICMP_ECHO 8 /* Echo Request */
|
|
||||||
# define ICMP_TIME_EXCEEDED 11 /* Time Exceeded */
|
|
||||||
# define ICMP_PARAMETERPROB 12 /* Parameter Problem */
|
|
||||||
# define ICMP_TIMESTAMP 13 /* Timestamp Request */
|
|
||||||
# define ICMP_TIMESTAMPREPLY 14 /* Timestamp Reply */
|
|
||||||
# define ICMP_INFO_REQUEST 15 /* Information Request */
|
|
||||||
# define ICMP_INFO_REPLY 16 /* Information Reply */
|
|
||||||
# define ICMP_ADDRESS 17 /* Address Mask Request */
|
|
||||||
# define ICMP_ADDRESSREPLY 18 /* Address Mask Reply */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//config:config PING
|
//config:config PING
|
||||||
//config: bool "ping (9.5 kb)"
|
//config: bool "ping (9.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -136,6 +114,27 @@
|
|||||||
//usage: "1 packets transmitted, 1 packets received, 0% packet loss\n"
|
//usage: "1 packets transmitted, 1 packets received, 0% packet loss\n"
|
||||||
//usage: "round-trip min/avg/max = 20.1/20.1/20.1 ms\n"
|
//usage: "round-trip min/avg/max = 20.1/20.1/20.1 ms\n"
|
||||||
|
|
||||||
|
#include <net/if.h>
|
||||||
|
#include <netinet/ip_icmp.h>
|
||||||
|
#include "libbb.h"
|
||||||
|
#include "common_bufsiz.h"
|
||||||
|
|
||||||
|
#ifdef __BIONIC__
|
||||||
|
/* should be in netinet/ip_icmp.h */
|
||||||
|
# define ICMP_DEST_UNREACH 3 /* Destination Unreachable */
|
||||||
|
# define ICMP_SOURCE_QUENCH 4 /* Source Quench */
|
||||||
|
# define ICMP_REDIRECT 5 /* Redirect (change route) */
|
||||||
|
# define ICMP_ECHO 8 /* Echo Request */
|
||||||
|
# define ICMP_TIME_EXCEEDED 11 /* Time Exceeded */
|
||||||
|
# define ICMP_PARAMETERPROB 12 /* Parameter Problem */
|
||||||
|
# define ICMP_TIMESTAMP 13 /* Timestamp Request */
|
||||||
|
# define ICMP_TIMESTAMPREPLY 14 /* Timestamp Reply */
|
||||||
|
# define ICMP_INFO_REQUEST 15 /* Information Request */
|
||||||
|
# define ICMP_INFO_REPLY 16 /* Information Reply */
|
||||||
|
# define ICMP_ADDRESS 17 /* Address Mask Request */
|
||||||
|
# define ICMP_ADDRESSREPLY 18 /* Address Mask Reply */
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ENABLE_PING6
|
#if ENABLE_PING6
|
||||||
# include <netinet/icmp6.h>
|
# include <netinet/icmp6.h>
|
||||||
/* I see RENUMBERED constants in bits/in.h - !!?
|
/* I see RENUMBERED constants in bits/in.h - !!?
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config UDHCPC6
|
//config:config UDHCPC6
|
||||||
//config: bool "udhcpc6"
|
//config: bool "udhcpc6"
|
||||||
//config: default n # not yet ready
|
//config: default n # not yet ready
|
||||||
|
@ -6,9 +6,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* BB_AUDIT SUSv3 N/A */
|
|
||||||
|
|
||||||
//config:config VCONFIG
|
//config:config VCONFIG
|
||||||
//config: bool "vconfig (2.5 kb)"
|
//config: bool "vconfig (2.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -34,6 +31,8 @@
|
|||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
|
||||||
|
/* BB_AUDIT SUSv3 N/A */
|
||||||
|
|
||||||
/* Stuff from linux/if_vlan.h, kernel version 2.4.23 */
|
/* Stuff from linux/if_vlan.h, kernel version 2.4.23 */
|
||||||
enum vlan_ioctl_cmds {
|
enum vlan_ioctl_cmds {
|
||||||
ADD_VLAN_CMD,
|
ADD_VLAN_CMD,
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
* Copyright (C) 2010 Bradley M. Kuhn <bkuhn@ebb.org>
|
* Copyright (C) 2010 Bradley M. Kuhn <bkuhn@ebb.org>
|
||||||
* Kuhn's copyrights are licensed GPLv2-or-later. File as a whole remains GPLv2.
|
* Kuhn's copyrights are licensed GPLv2-or-later. File as a whole remains GPLv2.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config WGET
|
//config:config WGET
|
||||||
//config: bool "wget (35 kb)"
|
//config: bool "wget (35 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
* Add ipv6 support
|
* Add ipv6 support
|
||||||
* Add proxy support
|
* Add proxy support
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config WHOIS
|
//config:config WHOIS
|
||||||
//config: bool "whois (6.6 kb)"
|
//config: bool "whois (6.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config IOSTAT
|
//config:config IOSTAT
|
||||||
//config: bool "iostat (7.4 kb)"
|
//config: bool "iostat (7.4 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config LSOF
|
//config:config LSOF
|
||||||
//config: bool "lsof (3.6 kb)"
|
//config: bool "lsof (3.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -6,18 +6,17 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//applet:IF_MPSTAT(APPLET(mpstat, BB_DIR_BIN, BB_SUID_DROP))
|
|
||||||
/* shouldn't be noexec: "mpstat INTERVAL" runs indefinitely */
|
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_MPSTAT) += mpstat.o
|
|
||||||
|
|
||||||
//config:config MPSTAT
|
//config:config MPSTAT
|
||||||
//config: bool "mpstat (10 kb)"
|
//config: bool "mpstat (10 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Per-processor statistics
|
//config: Per-processor statistics
|
||||||
|
|
||||||
|
//applet:IF_MPSTAT(APPLET(mpstat, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
/* shouldn't be noexec: "mpstat INTERVAL" runs indefinitely */
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_MPSTAT) += mpstat.o
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include <sys/utsname.h> /* struct utsname */
|
#include <sys/utsname.h> /* struct utsname */
|
||||||
|
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
*
|
*
|
||||||
* Contact me: vda.linux@googlemail.com
|
* Contact me: vda.linux@googlemail.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config NMETER
|
//config:config NMETER
|
||||||
//config: bool "nmeter (10 kb)"
|
//config: bool "nmeter (10 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* Licensed under GPLv2 or later, see the LICENSE file in this source tree
|
* Licensed under GPLv2 or later, see the LICENSE file in this source tree
|
||||||
* for details.
|
* for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config PMAP
|
//config:config PMAP
|
||||||
//config: bool "pmap (6 kb)"
|
//config: bool "pmap (6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -15,6 +14,7 @@
|
|||||||
//config: Display processes' memory mappings.
|
//config: Display processes' memory mappings.
|
||||||
|
|
||||||
//applet:IF_PMAP(APPLET(pmap, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_PMAP(APPLET(pmap, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_PMAP) += pmap.o
|
//kbuild:lib-$(CONFIG_PMAP) += pmap.o
|
||||||
|
|
||||||
//usage:#define pmap_trivial_usage
|
//usage:#define pmap_trivial_usage
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config PWDX
|
//config:config PWDX
|
||||||
//config: bool "pwdx (3.5 kb)"
|
//config: bool "pwdx (3.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -7,11 +7,6 @@
|
|||||||
the GNU General Public License version 2 or later, incorporated
|
the GNU General Public License version 2 or later, incorporated
|
||||||
herein by reference.
|
herein by reference.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//applet:IF_SMEMCAP(APPLET(smemcap, BB_DIR_USR_BIN, BB_SUID_DROP))
|
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_SMEMCAP) += smemcap.o
|
|
||||||
|
|
||||||
//config:config SMEMCAP
|
//config:config SMEMCAP
|
||||||
//config: bool "smemcap (2.5 kb)"
|
//config: bool "smemcap (2.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -19,6 +14,10 @@
|
|||||||
//config: smemcap is a tool for capturing process data for smem,
|
//config: smemcap is a tool for capturing process data for smem,
|
||||||
//config: a memory usage statistic tool.
|
//config: a memory usage statistic tool.
|
||||||
|
|
||||||
|
//applet:IF_SMEMCAP(APPLET(smemcap, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_SMEMCAP) += smemcap.o
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include "bb_archive.h"
|
#include "bb_archive.h"
|
||||||
|
|
||||||
|
@ -7,10 +7,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* BB_AUDIT SUSv3 N/A */
|
|
||||||
/* BB_AUDIT GNU defects -- only option -n is supported. */
|
|
||||||
|
|
||||||
//config:config WATCH
|
//config:config WATCH
|
||||||
//config: bool "watch (4.1 kb)"
|
//config: bool "watch (4.1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -35,6 +31,9 @@
|
|||||||
//usage: "Mon Dec 17 10:31:42 GMT 2000\n"
|
//usage: "Mon Dec 17 10:31:42 GMT 2000\n"
|
||||||
//usage: "Mon Dec 17 10:31:44 GMT 2000"
|
//usage: "Mon Dec 17 10:31:44 GMT 2000"
|
||||||
|
|
||||||
|
/* BB_AUDIT SUSv3 N/A */
|
||||||
|
/* BB_AUDIT GNU defects -- only option -n is supported. */
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
|
|
||||||
#define ESC "\033"
|
#define ESC "\033"
|
||||||
|
@ -123,7 +123,6 @@ log message, you can use a pattern like this instead
|
|||||||
|
|
||||||
-*: *: pid *
|
-*: *: pid *
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config SVLOGD
|
//config:config SVLOGD
|
||||||
//config: bool "svlogd (15 kb)"
|
//config: bool "svlogd (15 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -4,12 +4,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
#include "libbb.h"
|
|
||||||
|
|
||||||
//applet:IF_CTTYHACK(APPLET_NOEXEC(cttyhack, cttyhack, BB_DIR_BIN, BB_SUID_DROP, cttyhack))
|
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_CTTYHACK) += cttyhack.o
|
|
||||||
|
|
||||||
//config:config CTTYHACK
|
//config:config CTTYHACK
|
||||||
//config: bool "cttyhack (2.5 kb)"
|
//config: bool "cttyhack (2.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -54,6 +48,10 @@
|
|||||||
//config:
|
//config:
|
||||||
//config: # getty 115200 $(cttyhack)
|
//config: # getty 115200 $(cttyhack)
|
||||||
|
|
||||||
|
//applet:IF_CTTYHACK(APPLET_NOEXEC(cttyhack, cttyhack, BB_DIR_BIN, BB_SUID_DROP, cttyhack))
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_CTTYHACK) += cttyhack.o
|
||||||
|
|
||||||
//usage:#define cttyhack_trivial_usage
|
//usage:#define cttyhack_trivial_usage
|
||||||
//usage: "[PROG ARGS]"
|
//usage: "[PROG ARGS]"
|
||||||
//usage:#define cttyhack_full_usage "\n\n"
|
//usage:#define cttyhack_full_usage "\n\n"
|
||||||
@ -65,6 +63,8 @@
|
|||||||
//usage: "\nStarting interactive shell from boot shell script:"
|
//usage: "\nStarting interactive shell from boot shell script:"
|
||||||
//usage: "\n setsid cttyhack sh"
|
//usage: "\n setsid cttyhack sh"
|
||||||
|
|
||||||
|
#include "libbb.h"
|
||||||
|
|
||||||
#if !defined(__linux__) && !defined(TIOCGSERIAL) && !ENABLE_WERROR
|
#if !defined(__linux__) && !defined(TIOCGSERIAL) && !ENABLE_WERROR
|
||||||
# warning cttyhack will not be able to detect a controlling tty on this system
|
# warning cttyhack will not be able to detect a controlling tty on this system
|
||||||
#endif
|
#endif
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config FALLOCATE
|
//config:config FALLOCATE
|
||||||
//config: bool "fallocate (5 kb)"
|
//config: bool "fallocate (5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config FSFREEZE
|
//config:config FSFREEZE
|
||||||
//config: bool "fsfreeze (3.6 kb)"
|
//config: bool "fsfreeze (3.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config FSTRIM
|
//config:config FSTRIM
|
||||||
//config: bool "fstrim (5.5 kb)"
|
//config: bool "fstrim (5.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config MDEV
|
//config:config MDEV
|
||||||
//config: bool "mdev (16 kb)"
|
//config: bool "mdev (16 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config MESG
|
//config:config MESG
|
||||||
//config: bool "mesg (1.2 kb)"
|
//config: bool "mesg (1.2 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config NSENTER
|
//config:config NSENTER
|
||||||
//config: bool "nsenter (8.6 kb)"
|
//config: bool "nsenter (8.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
* Grant Erickson <gerickson@nuovations.com>
|
* Grant Erickson <gerickson@nuovations.com>
|
||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
//config:config RDEV
|
//config:config RDEV
|
||||||
//config: bool "rdev (1.4 kb)"
|
//config: bool "rdev (1.4 kb)"
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config TASKSET
|
//config:config TASKSET
|
||||||
//config: bool "taskset (4.1 kb)"
|
//config: bool "taskset (4.1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -23,6 +22,7 @@
|
|||||||
//config: in this case. Otherwise, it is limited to sizeof(long).
|
//config: in this case. Otherwise, it is limited to sizeof(long).
|
||||||
|
|
||||||
//applet:IF_TASKSET(APPLET_NOEXEC(taskset, taskset, BB_DIR_USR_BIN, BB_SUID_DROP, taskset))
|
//applet:IF_TASKSET(APPLET_NOEXEC(taskset, taskset, BB_DIR_USR_BIN, BB_SUID_DROP, taskset))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_TASKSET) += taskset.o
|
//kbuild:lib-$(CONFIG_TASKSET) += taskset.o
|
||||||
|
|
||||||
//usage:#define taskset_trivial_usage
|
//usage:#define taskset_trivial_usage
|
||||||
|
@ -7,14 +7,13 @@
|
|||||||
* Based on code fragments from bcache-tools by Kent Overstreet:
|
* Based on code fragments from bcache-tools by Kent Overstreet:
|
||||||
* http://evilpiepirate.org/git/bcache-tools.git
|
* http://evilpiepirate.org/git/bcache-tools.git
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_BCACHE) += bcache.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_BCACHE
|
//config:config FEATURE_VOLUMEID_BCACHE
|
||||||
//config: bool "bcache filesystem"
|
//config: bool "bcache filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_BCACHE) += bcache.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
#define SB_LABEL_SIZE 32
|
#define SB_LABEL_SIZE 32
|
||||||
|
@ -18,14 +18,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_BTRFS) += btrfs.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_BTRFS
|
//config:config FEATURE_VOLUMEID_BTRFS
|
||||||
//config: bool "btrfs filesystem"
|
//config: bool "btrfs filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_BTRFS) += btrfs.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
#define BTRFS_UUID_SIZE 16
|
#define BTRFS_UUID_SIZE 16
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_CRAMFS) += cramfs.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_CRAMFS
|
//config:config FEATURE_VOLUMEID_CRAMFS
|
||||||
//config: bool "cramfs filesystem"
|
//config: bool "cramfs filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_CRAMFS) += cramfs.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct cramfs_super {
|
struct cramfs_super {
|
||||||
|
@ -17,9 +17,6 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_EXFAT) += exfat.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_EXFAT
|
//config:config FEATURE_VOLUMEID_EXFAT
|
||||||
//config: bool "exFAT filesystem"
|
//config: bool "exFAT filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -29,6 +26,8 @@
|
|||||||
//config: for flash drives. It has many features from NTFS, but with less
|
//config: for flash drives. It has many features from NTFS, but with less
|
||||||
//config: overhead. exFAT is used on most SDXC cards for consumer electronics.
|
//config: overhead. exFAT is used on most SDXC cards for consumer electronics.
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_EXFAT) += exfat.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
#define EXFAT_SB_OFFSET 0
|
#define EXFAT_SB_OFFSET 0
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_EXT) += ext.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_EXT
|
//config:config FEATURE_VOLUMEID_EXT
|
||||||
//config: bool "Ext filesystem"
|
//config: bool "Ext filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_EXT) += ext.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
#include "bb_e2fs_defs.h"
|
#include "bb_e2fs_defs.h"
|
||||||
|
|
||||||
|
@ -5,9 +5,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_F2FS) += f2fs.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_F2FS
|
//config:config FEATURE_VOLUMEID_F2FS
|
||||||
//config: bool "f2fs filesystem"
|
//config: bool "f2fs filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -18,6 +15,8 @@
|
|||||||
//config: known issues of the older log structured file systems, such as high
|
//config: known issues of the older log structured file systems, such as high
|
||||||
//config: cleaning overhead.
|
//config: cleaning overhead.
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_F2FS) += f2fs.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
#define F2FS_MAGIC 0xF2F52010 // F2FS Magic Number
|
#define F2FS_MAGIC 0xF2F52010 // F2FS Magic Number
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_FAT) += fat.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_FAT
|
//config:config FEATURE_VOLUMEID_FAT
|
||||||
//config: bool "fat filesystem"
|
//config: bool "fat filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_FAT) += fat.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
/* linux/msdos_fs.h says: */
|
/* linux/msdos_fs.h says: */
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_HFS) += hfs.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_HFS
|
//config:config FEATURE_VOLUMEID_HFS
|
||||||
//config: bool "hfs filesystem"
|
//config: bool "hfs filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_HFS) += hfs.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct hfs_finder_info{
|
struct hfs_finder_info{
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_ISO9660) += iso9660.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_ISO9660
|
//config:config FEATURE_VOLUMEID_ISO9660
|
||||||
//config: bool "iso9660 filesystem"
|
//config: bool "iso9660 filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_ISO9660) += iso9660.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
#define ISO_SUPERBLOCK_OFFSET 0x8000
|
#define ISO_SUPERBLOCK_OFFSET 0x8000
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_JFS) += jfs.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_JFS
|
//config:config FEATURE_VOLUMEID_JFS
|
||||||
//config: bool "jfs filesystem"
|
//config: bool "jfs filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_JFS) += jfs.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct jfs_super_block {
|
struct jfs_super_block {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_LINUXRAID) += linux_raid.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_LINUXRAID
|
//config:config FEATURE_VOLUMEID_LINUXRAID
|
||||||
//config: bool "linuxraid"
|
//config: bool "linuxraid"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_LINUXRAID) += linux_raid.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct mdp_super_block {
|
struct mdp_super_block {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_LINUXSWAP) += linux_swap.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_LINUXSWAP
|
//config:config FEATURE_VOLUMEID_LINUXSWAP
|
||||||
//config: bool "linux swap filesystem"
|
//config: bool "linux swap filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_LINUXSWAP) += linux_swap.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct swap_header_v1_2 {
|
struct swap_header_v1_2 {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_LUKS) += luks.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_LUKS
|
//config:config FEATURE_VOLUMEID_LUKS
|
||||||
//config: bool "luks filesystem"
|
//config: bool "luks filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_LUKS) += luks.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
#define LUKS_MAGIC_L 6
|
#define LUKS_MAGIC_L 6
|
||||||
|
@ -18,9 +18,6 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_NILFS) += nilfs.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_NILFS
|
//config:config FEATURE_VOLUMEID_NILFS
|
||||||
//config: bool "nilfs filesystem"
|
//config: bool "nilfs filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -37,6 +34,8 @@
|
|||||||
//config: filesystem for Linux desktop environment, or as a basis of advanced
|
//config: filesystem for Linux desktop environment, or as a basis of advanced
|
||||||
//config: storage appliances.
|
//config: storage appliances.
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_NILFS) += nilfs.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
#define NILFS_UUID_SIZE 16
|
#define NILFS_UUID_SIZE 16
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_NTFS) += ntfs.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_NTFS
|
//config:config FEATURE_VOLUMEID_NTFS
|
||||||
//config: bool "ntfs filesystem"
|
//config: bool "ntfs filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_NTFS) += ntfs.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct ntfs_super_block {
|
struct ntfs_super_block {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_OCFS2) += ocfs2.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_OCFS2
|
//config:config FEATURE_VOLUMEID_OCFS2
|
||||||
//config: bool "ocfs2 filesystem"
|
//config: bool "ocfs2 filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_OCFS2) += ocfs2.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
/* All these values are taken from ocfs2-tools's ocfs2_fs.h */
|
/* All these values are taken from ocfs2-tools's ocfs2_fs.h */
|
||||||
|
@ -18,14 +18,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_REISERFS) += reiserfs.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_REISERFS
|
//config:config FEATURE_VOLUMEID_REISERFS
|
||||||
//config: bool "Reiser filesystem"
|
//config: bool "Reiser filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_REISERFS) += reiserfs.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct reiserfs_super_block {
|
struct reiserfs_super_block {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_ROMFS) += romfs.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_ROMFS
|
//config:config FEATURE_VOLUMEID_ROMFS
|
||||||
//config: bool "romfs filesystem"
|
//config: bool "romfs filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_ROMFS) += romfs.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct romfs_super {
|
struct romfs_super {
|
||||||
|
@ -5,9 +5,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_SQUASHFS) += squashfs.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_SQUASHFS
|
//config:config FEATURE_VOLUMEID_SQUASHFS
|
||||||
//config: bool "SquashFS filesystem"
|
//config: bool "SquashFS filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -18,6 +15,8 @@
|
|||||||
//config: device/memory systems (e.g. embedded systems) where low overhead is
|
//config: device/memory systems (e.g. embedded systems) where low overhead is
|
||||||
//config: needed.
|
//config: needed.
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_SQUASHFS) += squashfs.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct squashfs_superblock {
|
struct squashfs_superblock {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_SYSV) += sysv.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_SYSV
|
//config:config FEATURE_VOLUMEID_SYSV
|
||||||
//config: bool "sysv filesystem"
|
//config: bool "sysv filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_SYSV) += sysv.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
#define SYSV_NICINOD 100
|
#define SYSV_NICINOD 100
|
||||||
|
@ -5,9 +5,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2, see file LICENSE in this source tree.
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_UBIFS) += ubifs.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_UBIFS
|
//config:config FEATURE_VOLUMEID_UBIFS
|
||||||
//config: bool "UBIFS filesystem"
|
//config: bool "UBIFS filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -16,6 +13,8 @@
|
|||||||
//config: UBIFS (Unsorted Block Image File System) is a file
|
//config: UBIFS (Unsorted Block Image File System) is a file
|
||||||
//config: system for use with raw flash memory media.
|
//config: system for use with raw flash memory media.
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_UBIFS) += ubifs.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
#define UBIFS_NODE_MAGIC 0x06101831
|
#define UBIFS_NODE_MAGIC 0x06101831
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_UDF) += udf.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_UDF
|
//config:config FEATURE_VOLUMEID_UDF
|
||||||
//config: bool "udf filesystem"
|
//config: bool "udf filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_UDF) += udf.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct volume_descriptor {
|
struct volume_descriptor {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_HIGHPOINTRAID) += highpoint.o
|
|
||||||
|
|
||||||
//config:### config FEATURE_VOLUMEID_HIGHPOINTRAID
|
//config:### config FEATURE_VOLUMEID_HIGHPOINTRAID
|
||||||
//config:### bool "highpoint raid"
|
//config:### bool "highpoint raid"
|
||||||
//config:### default y
|
//config:### default y
|
||||||
//config:### depends on VOLUMEID
|
//config:### depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_HIGHPOINTRAID) += highpoint.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct hpt37x_meta {
|
struct hpt37x_meta {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_HPFS) += hpfs.o
|
|
||||||
|
|
||||||
//config:### config FEATURE_VOLUMEID_HPFS
|
//config:### config FEATURE_VOLUMEID_HPFS
|
||||||
//config:### bool "hpfs filesystem"
|
//config:### bool "hpfs filesystem"
|
||||||
//config:### default y
|
//config:### default y
|
||||||
//config:### depends on VOLUMEID
|
//config:### depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_HPFS) += hpfs.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct hpfs_super {
|
struct hpfs_super {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_ISWRAID) += isw_raid.o
|
|
||||||
|
|
||||||
//config:### config FEATURE_VOLUMEID_ISWRAID
|
//config:### config FEATURE_VOLUMEID_ISWRAID
|
||||||
//config:### bool "intel raid"
|
//config:### bool "intel raid"
|
||||||
//config:### default y
|
//config:### default y
|
||||||
//config:### depends on VOLUMEID
|
//config:### depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_ISWRAID) += isw_raid.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct isw_meta {
|
struct isw_meta {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_LSIRAID) += lsi_raid.o
|
|
||||||
|
|
||||||
//config:### config FEATURE_VOLUMEID_LSIRAID
|
//config:### config FEATURE_VOLUMEID_LSIRAID
|
||||||
//config:### bool "lsi raid"
|
//config:### bool "lsi raid"
|
||||||
//config:### default y
|
//config:### default y
|
||||||
//config:### depends on VOLUMEID
|
//config:### depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_LSIRAID) += lsi_raid.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct lsi_meta {
|
struct lsi_meta {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_LVM) += lvm.o
|
|
||||||
|
|
||||||
//config:### config FEATURE_VOLUMEID_LVM
|
//config:### config FEATURE_VOLUMEID_LVM
|
||||||
//config:### bool "lvm"
|
//config:### bool "lvm"
|
||||||
//config:### default y
|
//config:### default y
|
||||||
//config:### depends on VOLUMEID
|
//config:### depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_LVM) += lvm.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct lvm1_super_block {
|
struct lvm1_super_block {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_MAC) += mac.o
|
|
||||||
|
|
||||||
//config:### config FEATURE_VOLUMEID_MAC
|
//config:### config FEATURE_VOLUMEID_MAC
|
||||||
//config:### bool "mac filesystem"
|
//config:### bool "mac filesystem"
|
||||||
//config:### default y
|
//config:### default y
|
||||||
//config:### depends on VOLUMEID
|
//config:### depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_MAC) += mac.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct mac_driver_desc {
|
struct mac_driver_desc {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_MSDOS) += msdos.o
|
|
||||||
|
|
||||||
//config:### config FEATURE_VOLUMEID_MSDOS
|
//config:### config FEATURE_VOLUMEID_MSDOS
|
||||||
//config:### bool "msdos filesystem"
|
//config:### bool "msdos filesystem"
|
||||||
//config:### default y
|
//config:### default y
|
||||||
//config:### depends on VOLUMEID
|
//config:### depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_MSDOS) += msdos.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct msdos_partition_entry {
|
struct msdos_partition_entry {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_NVIDIARAID) += nvidia_raid.o
|
|
||||||
|
|
||||||
//config:### config FEATURE_VOLUMEID_NVIDIARAID
|
//config:### config FEATURE_VOLUMEID_NVIDIARAID
|
||||||
//config:### bool "nvidia raid"
|
//config:### bool "nvidia raid"
|
||||||
//config:### default y
|
//config:### default y
|
||||||
//config:### depends on VOLUMEID
|
//config:### depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_NVIDIARAID) += nvidia_raid.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct nvidia_meta {
|
struct nvidia_meta {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_PROMISERAID) += promise_raid.o
|
|
||||||
|
|
||||||
//config:### config FEATURE_VOLUMEID_PROMISERAID
|
//config:### config FEATURE_VOLUMEID_PROMISERAID
|
||||||
//config:### bool "promise raid"
|
//config:### bool "promise raid"
|
||||||
//config:### default y
|
//config:### default y
|
||||||
//config:### depends on VOLUMEID
|
//config:### depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_PROMISERAID) += promise_raid.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct promise_meta {
|
struct promise_meta {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_SILICONRAID) += silicon_raid.o
|
|
||||||
|
|
||||||
//config:### config FEATURE_VOLUMEID_SILICONRAID
|
//config:### config FEATURE_VOLUMEID_SILICONRAID
|
||||||
//config:### bool "silicon raid"
|
//config:### bool "silicon raid"
|
||||||
//config:### default y
|
//config:### default y
|
||||||
//config:### depends on VOLUMEID
|
//config:### depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_SILICONRAID) += silicon_raid.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct silicon_meta {
|
struct silicon_meta {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_UFS) += ufs.o
|
|
||||||
|
|
||||||
//config:### config FEATURE_VOLUMEID_UFS
|
//config:### config FEATURE_VOLUMEID_UFS
|
||||||
//config:### bool "ufs filesystem"
|
//config:### bool "ufs filesystem"
|
||||||
//config:### default y
|
//config:### default y
|
||||||
//config:### depends on VOLUMEID
|
//config:### depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_UFS) += ufs.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct ufs_super_block {
|
struct ufs_super_block {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_VIARAID) += via_raid.o
|
|
||||||
|
|
||||||
//config:### config FEATURE_VOLUMEID_VIARAID
|
//config:### config FEATURE_VOLUMEID_VIARAID
|
||||||
//config:### bool "via raid"
|
//config:### bool "via raid"
|
||||||
//config:### default y
|
//config:### default y
|
||||||
//config:### depends on VOLUMEID
|
//config:### depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_VIARAID) += via_raid.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct via_meta {
|
struct via_meta {
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_XFS) += xfs.o
|
|
||||||
|
|
||||||
//config:config FEATURE_VOLUMEID_XFS
|
//config:config FEATURE_VOLUMEID_XFS
|
||||||
//config: bool "xfs filesystem"
|
//config: bool "xfs filesystem"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on VOLUMEID
|
//config: depends on VOLUMEID
|
||||||
|
|
||||||
|
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_XFS) += xfs.o
|
||||||
|
|
||||||
#include "volume_id_internal.h"
|
#include "volume_id_internal.h"
|
||||||
|
|
||||||
struct xfs_super_block {
|
struct xfs_super_block {
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//config:config WALL
|
//config:config WALL
|
||||||
//config: bool "wall (2.5 kb)"
|
//config: bool "wall (2.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
|
Loading…
Reference in New Issue
Block a user