regularize format of source file headers, no code changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2017-09-18 16:28:43 +02:00
parent b63afead44
commit 0c4dbd481a
96 changed files with 158 additions and 246 deletions

View File

@ -16,7 +16,6 @@
* between different systems
* http://www.unix-systems.org/single_unix_specification_v2/xcu/ar.html
*/
//config:config AR
//config: bool "ar (9.5 kb)"
//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.
//applet:IF_AR(APPLET(ar, BB_DIR_USR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_AR) += ar.o
//usage:#define ar_trivial_usage

View File

@ -4,9 +4,6 @@
*
* 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_GUNZIP) += bbunzip.o
//kbuild:lib-$(CONFIG_BZCAT) += bbunzip.o
@ -21,6 +18,9 @@
/* gzip_main() too: */
//kbuild:lib-$(CONFIG_GZIP) += bbunzip.o
#include "libbb.h"
#include "bb_archive.h"
/* Note: must be kept in sync with archival/lzop.c */
enum {
OPT_STDOUT = 1 << 0,

View File

@ -6,7 +6,6 @@
* See README and LICENSE files in bz/ directory for more information
* about bzip2 library code.
*/
//config:config BZIP2
//config: bool "bzip2 (18 kb)"
//config: default y
@ -30,6 +29,7 @@
//config: enabled.
//applet:IF_BZIP2(APPLET(bzip2, BB_DIR_USR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_BZIP2) += bzip2.o
//usage:#define bzip2_trivial_usage

View File

@ -10,10 +10,6 @@
* Doesn't check CRC's
* Only supports new ASCII and CRC formats
*/
#include "libbb.h"
#include "common_bufsiz.h"
#include "bb_archive.h"
//config:config CPIO
//config: bool "cpio (14 kb)"
//config: default y
@ -44,6 +40,7 @@
//config: Passthrough mode. Rarely used.
//applet:IF_CPIO(APPLET(cpio, BB_DIR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_CPIO) += cpio.o
//usage:#define cpio_trivial_usage
@ -142,6 +139,10 @@
-u, --unconditional Replace all files unconditionally
*/
#include "libbb.h"
#include "common_bufsiz.h"
#include "bb_archive.h"
enum {
OPT_EXTRACT = (1 << 0),
OPT_TEST = (1 << 1),

View File

@ -25,7 +25,6 @@
* bugs that need to be fixed
* - (unknown, please let me know when you find any)
*/
//config:config DPKG
//config: bool "dpkg (44 kb)"
//config: default y
@ -38,6 +37,7 @@
//config: you should use the official dpkg if possible.
//applet:IF_DPKG(APPLET(dpkg, BB_DIR_USR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_DPKG) += dpkg.o
//usage:#define dpkg_trivial_usage

View File

@ -4,7 +4,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config DPKG_DEB
//config: bool "dpkg_deb"
//config: default y

View File

@ -36,7 +36,6 @@ a: 85.1% -- replaced with a.gz
gzip: bogus: No such file or directory
aa: 85.1% -- replaced with aa.gz
*/
//config:config GZIP
//config: bool "gzip (19 kb)"
//config: default y
@ -81,6 +80,7 @@ aa: 85.1% -- replaced with aa.gz
//config: enabled.
//applet:IF_GZIP(APPLET(gzip, BB_DIR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_GZIP) += gzip.o
//usage:#define gzip_trivial_usage

View File

@ -24,7 +24,6 @@
"Minimalized" for busybox by Alain Knaff
*/
//config:config LZOP
//config: bool "lzop (13 kb)"
//config: default y
@ -56,6 +55,7 @@
// 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_LZOPCAT(APPLET_ODDNAME(lzopcat, lzop, BB_DIR_USR_BIN, BB_SUID_DROP, lzopcat))
//kbuild:lib-$(CONFIG_LZOP) += lzop.o
//kbuild:lib-$(CONFIG_UNLZOP) += lzop.o
//kbuild:lib-$(CONFIG_LZOPCAT) += lzop.o

View File

@ -22,7 +22,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config TAR
//config: bool "tar (40 kb)"
//config: default y
@ -113,6 +112,7 @@
//config: when extracting files from tar archives.
//applet:IF_TAR(APPLET(tar, BB_DIR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_TAR) += tar.o
#include <fnmatch.h>

View File

@ -5,7 +5,6 @@
* Copyright (C) Arne Bernin <arne@matrix.loopback.org>
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*
*/
//config:config DUMPKMAP
//config: bool "dumpkmap (1.3 kb)"

View File

@ -7,8 +7,6 @@
*
* 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: bool "reset (275 bytes)"
//config: default y
@ -25,6 +23,8 @@
//usage:#define reset_full_usage "\n\n"
//usage: "Reset the screen"
/* "Standard" version of this tool is in ncurses package */
#include "libbb.h"
#define ESC "\033"

View File

@ -48,7 +48,6 @@
//applet:IF_PRINTF(APPLET_NOFORK(printf, printf, BB_DIR_USR_BIN, BB_SUID_DROP, printf))
//kbuild:lib-$(CONFIG_PRINTF) += printf.o
//kbuild:lib-$(CONFIG_ASH_PRINTF) += printf.o
//kbuild:lib-$(CONFIG_HUSH_PRINTF) += printf.o

View File

@ -6,16 +6,16 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config SHUF
//config: bool "shuf (5.4 kb)"
//config: default y
//config: help
//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))
//kbuild:lib-$(CONFIG_SHUF) += shuf.o
//usage:#define shuf_trivial_usage
//usage: "[-e|-i L-H] [-n NUM] [-o FILE] [-z] [FILE|ARG...]"
//usage:#define shuf_full_usage "\n\n"

View File

@ -6,7 +6,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config AWK
//config: bool "awk (22 kb)"
//config: default y

View File

@ -6,10 +6,6 @@
*
* 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: bool "cmp (5.4 kb)"
//config: default y
@ -17,10 +13,10 @@
//config: cmp is used to compare two files and returns the result
//config: to standard output.
//kbuild:lib-$(CONFIG_CMP) += cmp.o
//applet:IF_CMP(APPLET(cmp, BB_DIR_USR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_CMP) += cmp.o
//usage:#define cmp_trivial_usage
//usage: "[-l] [-s] FILE1 [FILE2" IF_DESKTOP(" [SKIP1 [SKIP2]]") "]"
//usage:#define cmp_full_usage "\n\n"
@ -29,6 +25,9 @@
//usage: "\n for all differing bytes"
//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"
static const char fmt_eof[] ALIGN1 = "cmp: EOF on %s\n";

View File

@ -12,7 +12,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
/*
* The following code uses an algorithm due to Harold Stone,
* which finds a pair of longest identical subsequences in
@ -75,7 +74,6 @@
* 3*(number of k-candidates installed), typically about
* 6n words for files of length n.
*/
//config:config DIFF
//config: bool "diff (13 kb)"
//config: default y
@ -97,10 +95,10 @@
//config: This option enables support for directory and subdirectory
//config: comparison.
//kbuild:lib-$(CONFIG_DIFF) += diff.o
//applet:IF_DIFF(APPLET(diff, BB_DIR_USR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_DIFF) += diff.o
//usage:#define diff_trivial_usage
//usage: "[-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2"
//usage:#define diff_full_usage "\n\n"

View File

@ -21,7 +21,6 @@
* -F fuzz (number, default 2)
* [file] which file to patch
*/
//config:config PATCH
//config: bool "patch (9.1 kb)"
//config: default y

View File

@ -12,7 +12,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
/* Code overview.
*
* 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.
*/
/* Supported features and commands in this version of sed:
*
* - comments ('#')
@ -55,7 +53,6 @@
* http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html
* http://sed.sourceforge.net/sedfaq3.html
*/
//config:config SED
//config: bool "sed (12 kb)"
//config: default y
@ -63,10 +60,10 @@
//config: sed is used to perform text transformations on a file
//config: or input from a pipeline.
//kbuild:lib-$(CONFIG_SED) += sed.o
//applet:IF_SED(APPLET(sed, BB_DIR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_SED) += sed.o
//usage:#define sed_trivial_usage
//usage: "[-i[SFX]] [-nrE] [-f FILE]... [-e CMD]... [FILE]...\n"
//usage: "or: sed [-i[SFX]] [-nrE] CMD [FILE]..."

View File

@ -5,7 +5,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
/*
* Things To Do:
* EXINIT
@ -19,7 +18,6 @@
* ":r !cmd" and "!cmd" to filter text through an external command
* An "ex" line oriented mode- maybe using "cmdedit"
*/
//config:config VI
//config: bool "vi (22 kb)"
//config: default y

View File

@ -9,7 +9,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
/* findutils-4.1.20:
*
* # find file.txt -exec 'echo {}' '{} {}' ';'
@ -44,7 +43,6 @@
* # find t z t z '(' -name '*t*' -o -name '*z*' ')' -o -print
* (no output)
*/
/* Testing script
* ./busybox find "$@" | tee /tmp/bb_find
* echo ==================
@ -52,7 +50,6 @@
* echo ==================
* diff -u /tmp/std_find /tmp/bb_find && echo Identical
*/
//config:config FIND
//config: bool "find (14 kb)"
//config: default y

View File

@ -17,7 +17,6 @@
*
* (C) 2006 Jac Goudsmit added -o option
*/
//config:config GREP
//config: bool "grep (8.5 kb)"
//config: default y

View File

@ -2,11 +2,6 @@
/*
* 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: bool "bootchartd (10 kb)"
//config: default y
@ -46,6 +41,10 @@
//config: Enable reading and parsing of $PWD/bootchartd.conf
//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 "common_bufsiz.h"
/* After libbb.h, since it needs sys/types.h on some systems */

View File

@ -6,7 +6,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config HALT
//config: bool "halt (3.7 kb)"
//config: default y

View File

@ -8,7 +8,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config INIT
//config: bool "init (9.3 kb)"
//config: default y

View File

@ -6,7 +6,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config FEATURE_RTMINMAX
//config: bool "Support RTMIN[+n] and RTMAX[-n] signal names"
//config: default y

View File

@ -7,7 +7,6 @@
* Copyright (C) 2007 by Tito Ragusa <farmatito@tiscali.it>
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*
*/
//config:config ADDGROUP
//config: bool "addgroup (8.2 kb)"

View File

@ -5,7 +5,6 @@
* Copyright (C) 2009 Bernhard Reutner-Fischer
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*
*/
//config:config BEEP
//config: bool "beep (3 kb)"

View File

@ -6,7 +6,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
/*
* TODO:
* - 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
* redirected input has been read from stdin
*/
//config:config LESS
//config: bool "less (15 kb)"
//config: default y

View File

@ -7,7 +7,6 @@
*
* TODO: add support for large (>4GB) MTD devices
*/
//config:config NANDWRITE
//config: bool "nandwrite (5.9 kb)"
//config: default y

View File

@ -5,7 +5,6 @@
* Copyright (C) 2006 Bernhard Reutner-Fischer
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*
*/
//config:config RAIDAUTORUN
//config: bool "raidautorun (1.4 kb)"

View File

@ -1,12 +1,11 @@
/* vi: set sw=4 ts=4: */
/*
* rfkill implementation for busybox
*
* Copyright (C) 2010 Malek Degachi <malek-degachi@laposte.net>
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
* rfkill implementation for busybox
*
* Copyright (C) 2010 Malek Degachi <malek-degachi@laposte.net>
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config RFKILL
//config: bool "rfkill (5.3 kb)"
//config: default n # doesn't build on Ubuntu 9.04

View File

@ -7,7 +7,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config SETSERIAL
//config: bool "setserial (6.6 kb)"
//config: default y

View File

@ -2,7 +2,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config UBIATTACH
//config: bool "ubiattach (4.7 kb)"
//config: default y

View File

@ -9,7 +9,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config HOSTNAME
//config: bool "hostname (5.6 kb)"
//config: default y

View File

@ -16,7 +16,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config IFUP
//config: bool "ifup (17 kb)"
//config: default y

View File

@ -9,7 +9,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config NAMEIF
//config: bool "nameif (6.6 kb)"
//config: default y

View File

@ -3,20 +3,20 @@
*
* 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: bool "nbd-client (4.6 kb)"
//config: default y
//config: help
//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_BLKSIZE _IO(0xab, 1)
#define NBD_SET_SIZE _IO(0xab, 2)

View File

@ -24,28 +24,6 @@
* This version is an adaptation of ping.c from busybox.
* 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: bool "ping (9.5 kb)"
//config: default y
@ -136,6 +114,27 @@
//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"
#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
# include <netinet/icmp6.h>
/* I see RENUMBERED constants in bits/in.h - !!?

View File

@ -8,7 +8,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config UDHCPC6
//config: bool "udhcpc6"
//config: default n # not yet ready

View File

@ -6,9 +6,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
/* BB_AUDIT SUSv3 N/A */
//config:config VCONFIG
//config: bool "vconfig (2.5 kb)"
//config: default y
@ -34,6 +31,8 @@
#include "libbb.h"
#include <net/if.h>
/* BB_AUDIT SUSv3 N/A */
/* Stuff from linux/if_vlan.h, kernel version 2.4.23 */
enum vlan_ioctl_cmds {
ADD_VLAN_CMD,

View File

@ -8,7 +8,6 @@
* Copyright (C) 2010 Bradley M. Kuhn <bkuhn@ebb.org>
* Kuhn's copyrights are licensed GPLv2-or-later. File as a whole remains GPLv2.
*/
//config:config WGET
//config: bool "wget (35 kb)"
//config: default y

View File

@ -9,7 +9,6 @@
* Add ipv6 support
* Add proxy support
*/
//config:config WHOIS
//config: bool "whois (6.6 kb)"
//config: default y

View File

@ -6,7 +6,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config IOSTAT
//config: bool "iostat (7.4 kb)"
//config: default y

View File

@ -6,7 +6,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config LSOF
//config: bool "lsof (3.6 kb)"
//config: default y

View File

@ -6,18 +6,17 @@
*
* 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: bool "mpstat (10 kb)"
//config: default y
//config: help
//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 <sys/utsname.h> /* struct utsname */

View File

@ -5,7 +5,6 @@
*
* Contact me: vda.linux@googlemail.com
*/
//config:config NMETER
//config: bool "nmeter (10 kb)"
//config: default y

View File

@ -7,7 +7,6 @@
* Licensed under GPLv2 or later, see the LICENSE file in this source tree
* for details.
*/
//config:config PMAP
//config: bool "pmap (6 kb)"
//config: default y
@ -15,6 +14,7 @@
//config: Display processes' memory mappings.
//applet:IF_PMAP(APPLET(pmap, BB_DIR_USR_BIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_PMAP) += pmap.o
//usage:#define pmap_trivial_usage

View File

@ -7,7 +7,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config PWDX
//config: bool "pwdx (3.5 kb)"
//config: default y

View File

@ -7,11 +7,6 @@
the GNU General Public License version 2 or later, incorporated
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: bool "smemcap (2.5 kb)"
//config: default y
@ -19,6 +14,10 @@
//config: smemcap is a tool for capturing process data for smem,
//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 "bb_archive.h"

View File

@ -7,10 +7,6 @@
*
* 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: bool "watch (4.1 kb)"
//config: default y
@ -35,6 +31,9 @@
//usage: "Mon Dec 17 10:31:42 GMT 2000\n"
//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"
#define ESC "\033"

View File

@ -123,7 +123,6 @@ log message, you can use a pattern like this instead
-*: *: pid *
*/
//config:config SVLOGD
//config: bool "svlogd (15 kb)"
//config: default y

View File

@ -4,12 +4,6 @@
*
* 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: bool "cttyhack (2.5 kb)"
//config: default y
@ -54,6 +48,10 @@
//config:
//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: "[PROG ARGS]"
//usage:#define cttyhack_full_usage "\n\n"
@ -65,6 +63,8 @@
//usage: "\nStarting interactive shell from boot shell script:"
//usage: "\n setsid cttyhack sh"
#include "libbb.h"
#if !defined(__linux__) && !defined(TIOCGSERIAL) && !ENABLE_WERROR
# warning cttyhack will not be able to detect a controlling tty on this system
#endif

View File

@ -4,7 +4,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config FALLOCATE
//config: bool "fallocate (5 kb)"
//config: default y

View File

@ -4,7 +4,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config FSFREEZE
//config: bool "fsfreeze (3.6 kb)"
//config: default y

View File

@ -7,7 +7,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config FSTRIM
//config: bool "fstrim (5.5 kb)"
//config: default y

View File

@ -7,7 +7,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//config:config MDEV
//config: bool "mdev (16 kb)"
//config: default y

View File

@ -6,7 +6,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config MESG
//config: bool "mesg (1.2 kb)"
//config: default y

View File

@ -6,7 +6,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config NSENTER
//config: bool "nsenter (8.6 kb)"
//config: default y

View File

@ -6,7 +6,6 @@
* Grant Erickson <gerickson@nuovations.com>
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*
*/
//config:config RDEV
//config: bool "rdev (1.4 kb)"

View File

@ -5,7 +5,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config TASKSET
//config: bool "taskset (4.1 kb)"
//config: default y
@ -23,6 +22,7 @@
//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))
//kbuild:lib-$(CONFIG_TASKSET) += taskset.o
//usage:#define taskset_trivial_usage

View File

@ -7,14 +7,13 @@
* Based on code fragments from bcache-tools by Kent Overstreet:
* http://evilpiepirate.org/git/bcache-tools.git
*/
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_BCACHE) += bcache.o
//config:config FEATURE_VOLUMEID_BCACHE
//config: bool "bcache filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_BCACHE) += bcache.o
#include "volume_id_internal.h"
#define SB_LABEL_SIZE 32

View File

@ -18,14 +18,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "btrfs filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_BTRFS) += btrfs.o
#include "volume_id_internal.h"
#define BTRFS_UUID_SIZE 16

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "cramfs filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_CRAMFS) += cramfs.o
#include "volume_id_internal.h"
struct cramfs_super {

View File

@ -17,9 +17,6 @@
* License along with this library; if not, write to the Free Software
* 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: bool "exFAT filesystem"
//config: default y
@ -29,6 +26,8 @@
//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.
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_EXFAT) += exfat.o
#include "volume_id_internal.h"
#define EXFAT_SB_OFFSET 0

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "Ext filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_EXT) += ext.o
#include "volume_id_internal.h"
#include "bb_e2fs_defs.h"

View File

@ -5,9 +5,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_F2FS) += f2fs.o
//config:config FEATURE_VOLUMEID_F2FS
//config: bool "f2fs filesystem"
//config: default y
@ -18,6 +15,8 @@
//config: known issues of the older log structured file systems, such as high
//config: cleaning overhead.
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_F2FS) += f2fs.o
#include "volume_id_internal.h"
#define F2FS_MAGIC 0xF2F52010 // F2FS Magic Number

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "fat filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_FAT) += fat.o
#include "volume_id_internal.h"
/* linux/msdos_fs.h says: */

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "hfs filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_HFS) += hfs.o
#include "volume_id_internal.h"
struct hfs_finder_info{

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "iso9660 filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_ISO9660) += iso9660.o
#include "volume_id_internal.h"
#define ISO_SUPERBLOCK_OFFSET 0x8000

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "jfs filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_JFS) += jfs.o
#include "volume_id_internal.h"
struct jfs_super_block {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "linuxraid"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_LINUXRAID) += linux_raid.o
#include "volume_id_internal.h"
struct mdp_super_block {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "linux swap filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_LINUXSWAP) += linux_swap.o
#include "volume_id_internal.h"
struct swap_header_v1_2 {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "luks filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_LUKS) += luks.o
#include "volume_id_internal.h"
#define LUKS_MAGIC_L 6

View File

@ -18,9 +18,6 @@
* License along with this library; if not, write to the Free Software
* 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: bool "nilfs filesystem"
//config: default y
@ -37,6 +34,8 @@
//config: filesystem for Linux desktop environment, or as a basis of advanced
//config: storage appliances.
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_NILFS) += nilfs.o
#include "volume_id_internal.h"
#define NILFS_UUID_SIZE 16

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "ntfs filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_NTFS) += ntfs.o
#include "volume_id_internal.h"
struct ntfs_super_block {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "ocfs2 filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_OCFS2) += ocfs2.o
#include "volume_id_internal.h"
/* All these values are taken from ocfs2-tools's ocfs2_fs.h */

View File

@ -18,14 +18,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "Reiser filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_REISERFS) += reiserfs.o
#include "volume_id_internal.h"
struct reiserfs_super_block {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "romfs filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_ROMFS) += romfs.o
#include "volume_id_internal.h"
struct romfs_super {

View File

@ -5,9 +5,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_SQUASHFS) += squashfs.o
//config:config FEATURE_VOLUMEID_SQUASHFS
//config: bool "SquashFS filesystem"
//config: default y
@ -18,6 +15,8 @@
//config: device/memory systems (e.g. embedded systems) where low overhead is
//config: needed.
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_SQUASHFS) += squashfs.o
#include "volume_id_internal.h"
struct squashfs_superblock {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "sysv filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_SYSV) += sysv.o
#include "volume_id_internal.h"
#define SYSV_NICINOD 100

View File

@ -5,9 +5,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_UBIFS) += ubifs.o
//config:config FEATURE_VOLUMEID_UBIFS
//config: bool "UBIFS filesystem"
//config: default y
@ -16,6 +13,8 @@
//config: UBIFS (Unsorted Block Image File System) is a file
//config: system for use with raw flash memory media.
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_UBIFS) += ubifs.o
#include "volume_id_internal.h"
#define UBIFS_NODE_MAGIC 0x06101831

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "udf filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_UDF) += udf.o
#include "volume_id_internal.h"
struct volume_descriptor {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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:### bool "highpoint raid"
//config:### default y
//config:### depends on VOLUMEID
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_HIGHPOINTRAID) += highpoint.o
#include "volume_id_internal.h"
struct hpt37x_meta {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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:### bool "hpfs filesystem"
//config:### default y
//config:### depends on VOLUMEID
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_HPFS) += hpfs.o
#include "volume_id_internal.h"
struct hpfs_super {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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:### bool "intel raid"
//config:### default y
//config:### depends on VOLUMEID
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_ISWRAID) += isw_raid.o
#include "volume_id_internal.h"
struct isw_meta {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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:### bool "lsi raid"
//config:### default y
//config:### depends on VOLUMEID
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_LSIRAID) += lsi_raid.o
#include "volume_id_internal.h"
struct lsi_meta {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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:### bool "lvm"
//config:### default y
//config:### depends on VOLUMEID
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_LVM) += lvm.o
#include "volume_id_internal.h"
struct lvm1_super_block {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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:### bool "mac filesystem"
//config:### default y
//config:### depends on VOLUMEID
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_MAC) += mac.o
#include "volume_id_internal.h"
struct mac_driver_desc {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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:### bool "msdos filesystem"
//config:### default y
//config:### depends on VOLUMEID
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_MSDOS) += msdos.o
#include "volume_id_internal.h"
struct msdos_partition_entry {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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:### bool "nvidia raid"
//config:### default y
//config:### depends on VOLUMEID
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_NVIDIARAID) += nvidia_raid.o
#include "volume_id_internal.h"
struct nvidia_meta {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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:### bool "promise raid"
//config:### default y
//config:### depends on VOLUMEID
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_PROMISERAID) += promise_raid.o
#include "volume_id_internal.h"
struct promise_meta {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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:### bool "silicon raid"
//config:### default y
//config:### depends on VOLUMEID
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_SILICONRAID) += silicon_raid.o
#include "volume_id_internal.h"
struct silicon_meta {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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:### bool "ufs filesystem"
//config:### default y
//config:### depends on VOLUMEID
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_UFS) += ufs.o
#include "volume_id_internal.h"
struct ufs_super_block {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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:### bool "via raid"
//config:### default y
//config:### depends on VOLUMEID
//kbuild:### lib-$(CONFIG_FEATURE_VOLUMEID_VIARAID) += via_raid.o
#include "volume_id_internal.h"
struct via_meta {

View File

@ -17,14 +17,13 @@
* License along with this library; if not, write to the Free Software
* 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: bool "xfs filesystem"
//config: default y
//config: depends on VOLUMEID
//kbuild:lib-$(CONFIG_FEATURE_VOLUMEID_XFS) += xfs.o
#include "volume_id_internal.h"
struct xfs_super_block {

View File

@ -5,7 +5,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config WALL
//config: bool "wall (2.5 kb)"
//config: default y