summaryrefslogtreecommitdiffstats
path: root/rules/util-linux-ng.in
blob: 8e89370f68115c2f03e072a238eec75d2387a4f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
## SECTION=shell_and_console
menuconfig UTIL_LINUX_NG

	tristate
	prompt "util-linux                    "
	select GCCLIBS_GCC_S
	select UTIL_LINUX_NG_LIBBLKID
	select UTIL_LINUX_NG_LIBUUID		if UTIL_LINUX_NG_MKSWAP_UUID
	select NCURSES				if UTIL_LINUX_NG_USES_NCURSES

if UTIL_LINUX_NG

config UTIL_LINUX_NG_LIBBLKID
	bool

config UTIL_LINUX_NG_LIBUUID
	bool

config UTIL_LINUX_NG_LIBMOUNT
	bool

config UTIL_LINUX_NG_LIBSMARTCOLS
	bool

config UTIL_LINUX_NG_LIBFDISK
	select UTIL_LINUX_NG_LIBUUID
	bool

config UTIL_LINUX_NG_USES_NCURSES
	bool

config UTIL_LINUX_NG_PARTX_TOOLS
	select UTIL_LINUX_NG_LIBBLKID
	select UTIL_LINUX_NG_LIBSMARTCOLS
	bool

config UTIL_LINUX_NG_SCHEDUTILS
	bool

config UTIL_LINUX_NG_AGETTY
	bool
	prompt "agetty"
	help
	  A small getty.

config UTIL_LINUX_NG_COLUMN
	bool
	select UTIL_LINUX_NG_LIBSMARTCOLS
	prompt "column"
	help
	  Columnate lists.

config UTIL_LINUX_NG_LINE
	bool
	prompt "line"
	help
	  The line utility.

config UTIL_LINUX_NG_ADDPART
	bool
	select UTIL_LINUX_NG_PARTX_TOOLS
	prompt "addpart"
	help
	  The addpart utility.

config UTIL_LINUX_NG_DELPART
	bool
	select UTIL_LINUX_NG_PARTX_TOOLS
	prompt "delpart"
	help
	  The delpart utility.

config UTIL_LINUX_NG_PARTX
	bool
	select UTIL_LINUX_NG_PARTX_TOOLS
	prompt "partx"
	help
	  The partx utility.

config UTIL_LINUX_NG_DMESG
	bool
	depends on !BUSYBOX_DMESG || ALLYES
	prompt "dmesg"
	help
	  The dmesg utility.

comment "BusyBox' dmesg is selected!"
	depends on BUSYBOX_DMESG

config UTIL_LINUX_NG_NSENTER
	bool
	prompt "nsenter"
	help
	  The nsenter utility

config UTIL_LINUX_NG_MOUNTPOINT
	bool
	select UTIL_LINUX_NG_LIBMOUNT
	depends on !BUSYBOX_MOUNTPOINT || ALLYES
	prompt "mountpoint"
	help
	  The mountpoint utility.

comment "BusyBox' mountpoint is selected!"
	depends on BUSYBOX_MOUNTPOINT

config UTIL_LINUX_NG_FDISK
	bool
	prompt "fdisk"
	select UTIL_LINUX_NG_LIBFDISK
	select UTIL_LINUX_NG_LIBSMARTCOLS
	depends on !BUSYBOX_FDISK || ALLYES
	help
	  fdisk - Partition table manipulator for Linux

comment "BusyBox' fdisk is selected!"
	depends on BUSYBOX_FDISK

config UTIL_LINUX_NG_SFDISK
	bool
	prompt "sfdisk"
	select UTIL_LINUX_NG_LIBFDISK
	select UTIL_LINUX_NG_LIBSMARTCOLS
	help
	  sfdisk - Partition table manipulator for Linux,
	  scriptable for unattended partitioning

config UTIL_LINUX_NG_CFDISK
	bool
	select UTIL_LINUX_NG_LIBFDISK
	select UTIL_LINUX_NG_LIBSMARTCOLS
	select UTIL_LINUX_NG_USES_NCURSES
	prompt "cfdisk"
	help
	  cfdisk is a curses based program for partitioning any hard disk drive.

config UTIL_LINUX_NG_MKSWAP
	bool
	prompt "mkswap"
	depends on !BUSYBOX_MKSWAP || ALLYES
	help
	  mkswap sets up a Linux swap area on a device or in a file.

config UTIL_LINUX_NG_MKSWAP_UUID
	bool
	prompt "enable uuid support for mkswap"
	depends on UTIL_LINUX_NG_MKSWAP
	help
	  enable uuid support for mkswap

comment "BusyBox' mkswap is selected!"
	depends on BUSYBOX_MKSWAP

config UTIL_LINUX_NG_SWAPON
	bool
	prompt "swapon"
	select UTIL_LINUX_NG_LIBBLKID
	select UTIL_LINUX_NG_LIBMOUNT
	select UTIL_LINUX_NG_LIBSMARTCOLS
	depends on !BUSYBOX_SWAPON || ALLYES
	help
	  Swapon is used to specify devices on which paging and swapping are to take place.

comment "BusyBox' swapon is selected!"
	depends on BUSYBOX_SWAPON

config UTIL_LINUX_NG_LOSETUP
	bool
	prompt "losetup"
	select UTIL_LINUX_NG_LIBSMARTCOLS
	depends on !BUSYBOX_LOSETUP || ALLYES
	help
	  losetup is used to associate or detach a loop device with a regular
	  file or block device, and to query the status of a loop device.

comment "BusyBox' losetup is selected!"
	depends on BUSYBOX_LOSETUP

config UTIL_LINUX_NG_MOUNT
	bool
	prompt "mount"
	select UTIL_LINUX_NG_LIBMOUNT
	depends on !BUSYBOX_MOUNT || ALLYES
	help
	  The mount command serves to attach the file system
	  found on some device to the big file tree.

comment "BusyBox' mount is selected!"
	depends on BUSYBOX_MOUNT

config UTIL_LINUX_NG_UMOUNT
	bool
	prompt "umount"
	select UTIL_LINUX_NG_MOUNT
	depends on !BUSYBOX_MOUNT || ALLYES
	depends on !BUSYBOX_UMOUNT || ALLYES
	help
	  The mount(8) command serves to attach the file system
	  found on some device to the big file tree.
	  Conversely, the umount(8) command will detach it again.

comment "BusyBox' umount is selected!"
	depends on BUSYBOX_UMOUNT

config UTIL_LINUX_NG_FSCK
	bool
	prompt "fsck"
	select UTIL_LINUX_NG_LIBMOUNT
	depends on !BUSYBOX_FSCK || ALLYES
	help
	  fsck  is  used  to  check and optionally repair one or
	  more Linux file systems. fsck is simply a front-end for
	  the various file system checkers (fsck.fstype) available
	  under Linux.

comment "BusyBox' fsck is selected!"
	depends on BUSYBOX_FSCK

config UTIL_LINUX_NG_FSFREEZE
	bool
	prompt "fsfreeze"
	depends on !BUSYBOX_FSFREEZE || ALLYES
	help
	  fsfreeze suspends or resumes access to a filesystem.

comment "BusyBox' fsfreeze is selected!"
	depends on BUSYBOX_FSFREEZE

config UTIL_LINUX_NG_FSTRIM
	bool
	prompt "fstrim"
	depends on !BUSYBOX_FSTRIM || ALLYES
	help
	  fstrim is used on a mounted filesystem to discard (or "trim")
	  blocks which are not in use by the filesystem. This is useful
	  for solid-state drives (SSDs) and thinly-provisioned storage.

comment "BusyBox' fstrim is selected!"
	depends on BUSYBOX_FSTRIM

config UTIL_LINUX_NG_IPCS
	bool
	prompt "ipcs"
	depends on !BUSYBOX_IPCS || ALLYES
	help
	  ipcs provides information on the ipc facilities
	  for which the calling process has read access.

comment "BusyBox' ipcs is selected!"
	depends on BUSYBOX_IPCS

config UTIL_LINUX_NG_IPCRM
	bool
	prompt "ipcrm"
	depends on !BUSYBOX_IPCRM || ALLYES
	help
	  ipcrm removes ipc facilities for which the calling process has
	  read access.

comment "BusyBox' ipcrm is selected!"
	depends on BUSYBOX_IPCRM

config UTIL_LINUX_NG_READPROFILE
	bool
	prompt "readprofile"
	depends on !BUSYBOX_READPROFILE || ALLYES
	help
	  The readprofile command uses the /proc/profile information
	  to print ascii data on standard output.  The output is
	  organized in three columns: the first is the number of
	  clock ticks, the second is the name of the C function
	  in the kernel where those many ticks occurred, and the
	  third is the normalized  `load' of the procedure, calculated
	  as a ratio between the number of ticks and the length of the
	  procedure. The output is filled with blanks to ease readability.

comment "BusyBox' readprofile is selected!"
	depends on BUSYBOX_READPROFILE

config UTIL_LINUX_NG_SETTERM
	bool
	select UTIL_LINUX_NG_USES_NCURSES
	prompt "setterm"
	help
	  setterm - set terminal attributes like terminal name, cursor
	  blinking and beeper sound

config UTIL_LINUX_NG_CHRT
	bool
	prompt "chrt"
	select UTIL_LINUX_NG_SCHEDUTILS
	depends on !BUSYBOX_CHRT || ALLYES
	help
	  chrt manipulates the real-time attributes of a process.

comment "BusyBox' chrt is selected!"
	depends on BUSYBOX_CHRT

config UTIL_LINUX_NG_HWCLOCK
        bool
        prompt "hwclock"
        depends on !BUSYBOX_HWCLOCK || ALLYES
        help
	  hwclock - The hwclock utility is used to read and set the hardware
	  clock on a system.  This is primarily used to set the current time
	  on shutdown in the hardware clock, so the hardware will keep the
	  correct time when Linux is _not_ running.

comment "BusyBox' hwclock is selected!"
        depends on BUSYBOX_HWCLOCK

config UTIL_LINUX_NG_IONICE
	bool
	prompt "ionice"
	select UTIL_LINUX_NG_SCHEDUTILS
	help
	  ionice gets/sets the program io scheduling class and priority.

config UTIL_LINUX_NG_TASKSET
	bool
	prompt "taskset"
	select UTIL_LINUX_NG_SCHEDUTILS
	depends on !BUSYBOX_TASKSET || ALLYES
	help
	  taskset retrieves or sets a process's CPU affinity.

comment "BusyBox' taskset is selected!"
	depends on BUSYBOX_TASKSET

config UTIL_LINUX_NG_MCOOKIE
	bool
	prompt "mcookie"
	help
	  mcookie generates a 128-bit random hexadecimal number for
	  use with the X authority system.

config UTIL_LINUX_NG_LDATTACH
	bool
	prompt "ldattach"
	help
	  attach a line discipline to a serial line

config UTIL_LINUX_NG_UUIDD
	bool
	select UTIL_LINUX_NG_LIBUUID
	prompt "uuidd"
	help
	  The  uuidd  daemon  is  used by the UUID library to generate
	  universally unique identifiers (UUIDs), especially time-based UUIDs,
	  in a secure and guaranteed- unique fashion, even in the face of large
	  numbers of threads running on different CPUs trying to grab UUIDs.

config UTIL_LINUX_NG_UUIDGEN
	bool
	select UTIL_LINUX_NG_LIBUUID
	prompt "uuidgen"
	help
	  uuidgen is a command-line utility to create a new UUID value.

config UTIL_LINUX_NG_BLKID
	bool
	select UTIL_LINUX_NG_LIBBLKID
	depends on !BUSYBOX_BLKID || ALLYES
	prompt "blkid"
	help
	  The  blkid  program is the command-line interface to working with libblkid
	  library.  It can determine the type of content (e.g. filesystem, swap)
	  a block device holds, and also attributes (tokens, NAME=value pairs) from
	  the content meta‐data (e.g. LABEL or UUID fields).

comment "BusyBox' blkid is selected!"
	depends on BUSYBOX_BLKID

config UTIL_LINUX_NG_LSBLK
	bool
	select UTIL_LINUX_NG_LIBBLKID
	select UTIL_LINUX_NG_LIBMOUNT
	select UTIL_LINUX_NG_LIBSMARTCOLS
	prompt "lsblk"
	help
	  The lsblk command lists information about all available or the
	  specified block devices.

config UTIL_LINUX_NG_FINDFS
	bool
	select UTIL_LINUX_NG_LIBBLKID
	depends on !BUSYBOX_FINDFS || ALLYES
	prompt "findfs"
	help
	  findfs will search the disks in the system looking for a filesystem
	  which has a label matching label or a UUID equal to uuid.

comment "BusyBox' findfs is selected!"
	depends on BUSYBOX_FINDFS

config UTIL_LINUX_NG_WIPEFS
	bool
	select UTIL_LINUX_NG_LIBBLKID
	prompt "wipefs"
	help
	  The wipefs program can erase filesystem, raid or partition-table
	  signatures.

config UTIL_LINUX_NG_ZRAMCTL
	bool
	prompt "zramctl"
	help
	  The zramctl program is a tool to set up and control zram devices.

config UTIL_LINUX_NG_LSMEM
	bool
	prompt "lsmem"
	help
	  The lsmem command lists the ranges of available memory and
          it's online status.

config UTIL_LINUX_NG_CHMEM
	bool
	prompt "chmem"
	help
	  The chmem command sets a particular size or range of
          memory online or offline.

config UTIL_LINUX_NG_MKFS
	bool
	prompt "mkfs"
	help
	  The mkfs command is a generic wrapper for fs specific
          mkfs.* commands.

config UTIL_LINUX_NG_LSCPU
	bool
	select UTIL_LINUX_NG_LIBSMARTCOLS
	prompt "lscpu"
	help
	  lscpu shows information about the CPU architecture

endif