
depmod | 115
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
setb block [n]
Mark n blocks as allocated, beginning from block. Default is 1
block.
seti file
Mark in use the inode corresponding to file.
set_super_value [-l] field value
Set superblock field to value. Use -l to print a list of valid
fields.
show_super_stats [-h]
List the contents of the superblock and block group descrip-
tors. Use -h to list only the superblock contents.
stat file
Dump the contents of the inode corresponding to file.
testb block [n]
Print whether each of n blocks is in use, beginning with block.
By default, just check the specified block.
testi file
Test whether the inode corresponding to file is marked as
allocated.
unlink file
Remove a link.
write source_file file
Create a file in the filesystem named file, and copy the
contents of source_file into the destination file.
depmod
depmod [options] modules
System administration command. Create a dependency file for the
modules given on the command line. This dependency file can be
used by modprobe to automatically load the relevant modules. The
normal use of depmod is to include the line /sbin/depmod -a in
one of the files in /etc/rc.d so that the correct module dependencies
will be available after booting the system.
Options
-a, --all
Create dependencies for all modules listed in /etc/modules.conf.
-b dir,