History log of /external/e2fsprogs/misc/fsck.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9a23fa8334f6774af4b9876871924b3581fe3da7 11-Aug-2016 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next
713edbd08252a02e70638222ced86c838c320a57 11-Aug-2016 Andreas Dilger <andreas.dilger@intel.com> fsck: fix strange logic

llvm warns about the confusingly written comparison:

!strncmp(argv[i+1], "-", 1) == 0) {
misc/fsck.c:1178 col 9: warning: logical not is only applied to
the left hand side of comparison [-Wlogical-not-parentheses]
misc/fsck.c:1178 col 9: note: add parentheses after the '!' to
evaluate the comparison first
misc/fsck.c:1178 col 9: note: add parentheses around left hand
side expression to silence this warning

It makes sense to simplify this to a character comparison rather
than using strncmp() to check only one character.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
99ceb8ec1acd7f38da289966b9984b3ffa1914a9 13-Jul-2015 Theodore Ts'o <tytso@mit.edu> Move the check_plausibility() function from misc to lib/support

The check_plausibility() function is now used all over the place, so
we should move the plausible.c file to lib/support and remove the
special case handling for that file that had been in the build system.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
f404167dda29a59d2be2882328aeb074b9899669 17-Dec-2013 Theodore Ts'o <tytso@mit.edu> Clean up sparse warnings

Mostly by adding static and removing excess extern qualifiers. Also
convert a few remaining non-ANSI function declarations to ANSI.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
d47e2af76351090588ee2be3d85a2c31eb383223 06-Apr-2012 Theodore Ts'o <tytso@mit.edu> fsck: don't include sys/signal.h for portability reasons

It isn't necessary to include sys/signal.h, and it's not available on
all systems.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
3fcd8fe8acb269598390b35bbf6e4247d10bc64e 09-Oct-2011 Theodore Ts'o <tytso@mit.edu> Fix more spelling errors found by translators and add pluralization

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
d1154eb460efe588eaed3d439c1caaca149fa362 18-Sep-2011 Theodore Ts'o <tytso@mit.edu> Shorten compile commands run by the build system

The DEFS line in MCONFIG had gotten so long that it exceeded 4k, and
this was starting to cause some tools heartburn. It also made "make
V=1" almost useless, since trying to following the individual commands
run by make was lost in the noise of all of the defines.

So fix this by putting the configure-generated defines in lib/config.h
and the directory pathnames to lib/dirpaths.h.

In addition, clean up some vestigal defines in configure.in and in the
Makefiles to further shorten the cc command lines.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
80f4b3ae490cc86c9eb0d5bac535b48676166a08 16-Sep-2011 Eric Sandeen <sandeen@redhat.com> fsck: fix -C option parsing

The i++; statement is unreachable; fix same as commit
f1c2eaac535bd9172a35ce39b6d8f392321f274d in util-linux

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
45e338f5332a54295893dba2e32cc093d1316f60 23-Feb-2009 Jim Meyering <jim@meyering.net> remove useless if-before-free tests

In case you're wondering about whether this change is safe from a
portability standpoint, fear not. This has been beaten to death
in other forums. Here are a few threads:

http://thread.gmane.org/gmane.comp.version-control.git/74187
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/12712
http://thread.gmane.org/gmane.emacs.devel/98144
http://thread.gmane.org/gmane.comp.lib.glibc.alpha/13092

There has been debate about whether it's a good idea from a
performance standpoint, too, but imho you'll have a hard time
finding an instance where this sort of change induces a
measurable performance penalty. If you do, please let me know.

Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
efc6f628e15de95bcd13e4f0ee223cb42115d520 28-Aug-2008 Theodore Ts'o <tytso@mit.edu> Remove trailing whitespace for the entire source tree

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
ebabf2ad6d19af5c674b624bafe619dedbc94403 13-Jul-2008 Theodore Ts'o <tytso@mit.edu> Define _XOPEN_SOURCE to 600 consistently for Solaris C99 support

Solaris's header files are very picky about which C compiler can be
used for SUSv3 conformance. Use of C99 is not compatible with SUSv2
(_XOPEN_SOURCE=500), and C89 is not compatible with SUSv3
(_XOPEN_SOURCE=600). Since we need some SUSv3 functions, consistently
use SUSv3 so that e2fsprogs will build on Solaris using c99.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
a70f10dbc493c4eae488cadd8512e873220037d9 30-Mar-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint'
bf209ab7950ca2a06c5837f47756f6e0ae326e85 26-Mar-2008 Theodore Ts'o <tytso@mit.edu> fsck: Treat "ext4" and "ext4dev" as ext* filesystems

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
a16834335d745d631d6ee20eef0bdbe24e4b152d 26-Mar-2008 Theodore Ts'o <tytso@mit.edu> fsck: Make -Cn work correctly where n != 0

Previously, fsck was only passing in -Cn to the first e2fsck process
to start up, and enabling the progress information by sending a
SIGUSR1 signal. This didn't work if the progress information was
intended to go to file descriptor, since the information was never
passed to e2fsck.

So we now pass the progress fd in as a negative number if the progress
information is intended to be initially suppressed.

Addresses-Launchpad-Bug: #203323
Addresses-Sourceforge-Bug: #1926023

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
ab7862049a3311c5ab3d22dde07823560d13afe0 26-Mar-2008 Theodore Ts'o <tytso@mit.edu> fsck: Fix -C handling so that subsequent progress bars are enabled

The exiting fsck instance wasn't marked as DONE, so the safety checks
thought a progress bar was still in progress, and so we didn't enable
another filesystem's checking.

Addresses-Debian-Bug: #432865
Addresses-Launchpad-Bug: #203323
Addresses-Sourceforge-Bug: #1926023

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
2d328bb76d2d63bdfdba923b54c28bd686bd8fec 18-Mar-2008 Theodore Ts'o <tytso@mit.edu> Fix miscellaneous gcc -Wall warnings

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
15472658599eb29c522107377a9797c6322b93c3 27-Feb-2008 Theodore Ts'o <tytso@mit.edu> fsck: Don't complain about an old-style fstab if the fstab is empty

Addresses-Debian-Bug: 468176

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
fe263da9236f533e779a7e2f89af8d4b03075959 16-Feb-2008 Theodore Ts'o <tytso@mit.edu> Make fsck ignore mounted filesystems if given the -M option

Adapted from the SuSE patch, but fixes a number of very serious
problems with the patch in SLES:

1) This changeset uses -M instead of -m; most lowercase options are
reserved for use by the filesystem-specific fsck programs. All new
fsck options must be upper case.

2) This changeset will skip the root filesystem in "fsck -AM", which
the SLES patch will not do.

3) Loading /proc/mounts into the fs_info can cause -t opts matching to
malfuction. So this changeset uses a simplified version of the
ismounted.c function from the ext2fs library.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
5221837e62641958f237e7fb5dee999cbfc850c9 16-Dec-2007 Theodore Ts'o <tytso@mit.edu> fsck: '#' is only a comment character at the beginning of an fstab line

Fuse and ssh fstab lines such as:

wdfs#https://dav.hoster.com/foo/bar /mnt/hoster fuse user,noauto 0 0

will cause fsck to issue warnings about invalid fstab lines, because
fsck was previously treating '#' as a comment when it appeared
anywhere in an fstab line, not just at the beginning of the line.

Addresses-Gentoo-bug: #195405
Addresses-Sourceforge-bug: #1826147

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
ed773a263829493e4e4bf612dbec2380cf09349f 20-Sep-2007 Theodore Ts'o <tytso@mit.edu> fsck: Ignore /etc/fstab entries for bind mounts

If a user specifies a bind mount with a non-zero fsck pass number, for
example:

/foo /bar ext3 bind,defaults 1 3

print a warning and ignore the fstab entry.

Addresses-Red-Hat-Bugzilla: #151533

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/misc/fsck.c
12f8ff440cbea083797a3f62fe8c8ab0e03f2e6b 28-Mar-2007 Brian Behlendorf <behlendorf1@llnl.gov> [COVERITY] Fix memory leak in fsck on error paths

The memory allocated by inst is not reclaimed. There also was a
call to exit that coverity did not catch the resource leak. This
might not really be a big issue since the memory will be freed when
fsck exits, but it should be done anyway imho.

Coverity ID: 32: Resource Leak

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
/external/e2fsprogs/misc/fsck.c
322d9d48523a555eab82824fded8b058cf1ba58b 13-Jan-2005 Matthias Andree <matthias.andree@gmx.de> fsck.c:
Include <signal.h> to avoid compiler trouble.
/external/e2fsprogs/misc/fsck.c
22dcccdd1aa295db6fa2696d63c60902aabbbfff 05-Jan-2005 Theodore Ts'o <tytso@mit.edu> fsck.c (PRS): Apply Fedora's e2fsprogs-1.35-progress.patch from
e2fsprogs-1.35-11.2. Fixed multiple command-line parsing
bugs so that backwards compatibility is maintained, and so
that certain command-line options wouldn't be ignored.
/external/e2fsprogs/misc/fsck.c
c88bce8df0ecf511b0c63de6292f215d562860a2 22-Dec-2004 Theodore Ts'o <tytso@mit.edu> In fsck, check return from malloc of fsck_path, and print an error message
if it fails.
/external/e2fsprogs/misc/fsck.c
993aa11dc8f20122b58332cb49085e190ab3a9e0 22-Feb-2004 Theodore Ts'o <tytso@mit.edu> fsck.c (execute): Use '&&' instead of '&'. (It didn't cause a
problem because we got lucky, but let's do things right.
Fix from Thomas Woerner at Red Hat.)
/external/e2fsprogs/misc/fsck.c
544349270e4c74a6feb971123884a8cf5052a7ee 07-Dec-2003 Theodore Ts'o <tytso@mit.edu> Fix gcc -Wall nitpicks
/external/e2fsprogs/misc/fsck.c
5e38fed9c5e5c0741ff00fc7001b44a075bfb64c 22-Jul-2003 Theodore Ts'o <tytso@mit.edu> fsck.c (wait_many): Rename wait_all() to wait_many(), and have
new semantics: WAIT_ALL vs. WAIT_ATLEAST_ONE. This fixes
a bug where when fsck is waiting for another partition on
the same spindle, it spins wasting a lot of CPU.
/external/e2fsprogs/misc/fsck.c
2ecaaf655755898b9ce931ec5ac5daba25905886 16-Apr-2003 Theodore Ts'o <tytso@mit.edu> Put stdout and stderr into non-buffered mode to
avoid cosmetic problems when running fsck under logsave.
/external/e2fsprogs/misc/fsck.c
ee828a9d1e6f3eef29d6dc5b0008a79fe867eac0 07-Apr-2003 Theodore Ts'o <tytso@mit.edu> fsck.c (parse_fstab_line, interpret_type, fsck_device, ignore,
main): Don't evaluate the filesystem type when loading the
fstab file, since that might cause fsck to hang trying to
read from a floppy disk. (Addresses Debian bug #187812)
Add tmpfs and devpts to filesystems that should be
ignored, and add jfs, reseirfs, and xfs as filesystems
types where we should complain if we can't find the fsck
program for that filesystem type.
/external/e2fsprogs/misc/fsck.c
e71d87317ac095fa08079f0cc9040da16952eb93 14-Mar-2003 Theodore Ts'o <tytso@mit.edu> Add Apple/Darwin patches.
/external/e2fsprogs/misc/fsck.c
ed1b33e8fb310641684d68a177c940b58f2f529d 02-Mar-2003 Theodore Ts'o <tytso@mit.edu> Minor bug fixes in the blkid library.

Convert mke2fs, fsck, and tune2fs to use the blkid library.
/external/e2fsprogs/misc/fsck.c
76ea3a2c7fc1b6ff03d566af66c971dbf867be45 23-Jan-2003 Theodore Ts'o <tytso@mit.edu> fsck.c (parse_fstab_line, parse_escape): Add support for
backslash escaping in /etc/fstab. (i.e., so that \040
will work.)
/external/e2fsprogs/misc/fsck.c
1d4c7945ff3213bd928b8722a7f057535836db24 28-Oct-2002 Theodore Ts'o <tytso@mit.edu> fsck.c (main): Fix bug reported by Gregory Mutt. Multiple
filesystems explicitly specified on the command line were
not being checked in parallel, due to a logic bug
introduced in to support the FSCK_MAX_INST environment
variable.
/external/e2fsprogs/misc/fsck.c
3e69906495d5898849a6154b0311b5d4a84a27ae 14-Oct-2002 Theodore Ts'o <tytso@mit.edu> Fix gcc -Wall nits.

Fix format bug if NLS is in use.

Add extra so that the info directory looks OK on OpenWall.
/external/e2fsprogs/misc/fsck.c
84bd550148aad62bd004d7398bf50a32a742e5cc 24-Sep-2002 Theodore Ts'o <tytso@mit.edu> fsck.c: If the bone-headed user enters the filename twice, the
-R option which skips the root filesystem will skip all of
them. (Addresses Debian bug #159423). Note! This is not
a precedent for dealing intelligently with any other kind
of doubled entry in /etc/fstab!
/external/e2fsprogs/misc/fsck.c
a14113545168390de8974ee2683124b710977fb6 17-Aug-2002 Theodore Ts'o <tytso@mit.edu> fsck.c (main): If no filesystems are specified on the command
line, default to -As. (Addresses Debian Bug #153102)

badblocks.8.in: Clarify why it's bad to do a non-destructive
test on a r/o mounted filesystem. (Addresses Debian Bug
#131350)
/external/e2fsprogs/misc/fsck.c
4cae04529eda0e482ceaa86b48e532f9c8d35f24 21-Jul-2002 Theodore Ts'o <tytso@mit.edu> Add SIGINT and SIGTERM handling to fsck and e2fsck. For e2fsck,
make sure we gracefully clean up and only exit at safe points.
For fsck, we pass the SIGINT/SIGTERM signal to the child processes,
so they can do their own cleanup.
/external/e2fsprogs/misc/fsck.c
14308a5398984842e808faa3ff2dd6a1c52d90bd 05-Mar-2002 Theodore Ts'o <tytso@mit.edu> Newer libintl needs LC_CTYPE to be set in addition to LC_MESSAGES.
/external/e2fsprogs/misc/fsck.c
5599c2fa871d455464d92336d40b80ea1c8560f5 03-Feb-2002 Theodore Ts'o <tytso@mit.edu> Changed fsck to support filesystems types in /etc/fstab of the form
"ext3,ext2", etc.

Added support for only searching for a specified list of filesystems.
Also add support for identifying reiserfs filesystems.
/external/e2fsprogs/misc/fsck.c
a1069118d438851e69c3dd6e38211fc4adfc7048 29-Jan-2002 Theodore Ts'o <tytso@mit.edu> fsck.c: Allow the number of outstanding processes fs-specific
fsck programs to be capped via the FSCK_MAX_INST
envrionment variable.

fsck.8.in: Document all of the environment variables used by fsck.
/external/e2fsprogs/misc/fsck.c
4ea7bd04390935e1f8b473c8b857e518df2e226b 17-Dec-2001 Theodore Ts'o <tytso@mit.edu> Fix various gcc -Wall nits. Fixed a bug in mke2fs where a bogus
error message could be printed on an malloc() failure, and e2image
was optimized to avoid needless system calls by using the stashed
inode functions.
/external/e2fsprogs/misc/fsck.c
6430bd67cef317daebdef7812e87f0e2846b31a7 06-Nov-2001 Theodore Ts'o <tytso@mit.edu> fsck.c (interpret_type): If the "auto" type is specified, make
sure interpet_device() is called so that device
specifications which use LABEL= or UUID= are translated
into a real device name.
/external/e2fsprogs/misc/fsck.c
0f8973fb092a40fd0a11b7ec95c09128c9fb8f0c 27-Aug-2001 Theodore Ts'o <tytso@mit.edu> Remove EXT2FS_VERSION from the version display, since it
only confuses people.

Make fsck's version display be consistent with the other e2fsprogs
programs.
/external/e2fsprogs/misc/fsck.c
2d15576dfe8ffd8521a6f4211cef3d2a663dc379 17-Aug-2001 Andreas Dilger <adilger@clusterfs.com> get_device_by_label.[ch], fsck.c, util.c: New interpret_spec()
function in get_device_by_label.c to allow the use of
UUID= or LABEL= when creating filesystems which use external
journal dev (e.g. mke2fs -J device=LABEL=<journal_label>).

tune2fs.c: Use superblock s_journal_uuid to locate an external
journal device instead of s_journal_dev when removing it.
Allow opening journal devices to set the label and UUID
in the ext2 superblock.

mke2fs.c, tune2fs.c: Free journal_device after use, as it is
malloc'd in interpret spec.
/external/e2fsprogs/misc/fsck.c
685c13f6d759490c82044cc071fd8110847fd1dd 16-Aug-2001 Theodore Ts'o <tytso@mit.edu> fsck.c (main): Print a warning message if there are no devices to
be checked. (Addresses Debian bug #107458.)
/external/e2fsprogs/misc/fsck.c
88f8af61a48bafe35fdbfcb0d19f4a83f0ce3d66 16-Aug-2001 Theodore Ts'o <tytso@mit.edu> fsck.c (check_all): Don't bother to interpret a device where the
pass number is zero. (Addresses Debian bug #106696).
/external/e2fsprogs/misc/fsck.c
da376f5a13af0648159c575cf50bf78df34056f9 20-Jul-2001 Theodore Ts'o <tytso@mit.edu> fstype.c (identify_fs): New file which looks at the superblock
of the filesystem to determines its type.

fsck.c (fsck_device, ignore, interpret_type): Call identify_fs
if the type specified in /etc/fstab is "auto".
/external/e2fsprogs/misc/fsck.c
28cf9041b8f793f2116893306fe55ed151f8ad91 13-Jun-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (device_already_active): Fixed bug which can cause fsck to core
dump if there are a mix of devices with standard and non-standard
names.
/external/e2fsprogs/misc/fsck.c
c7a24e461e024706aab0c698a0638f2ab2ed639f 24-May-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (compile_fs_type): Fix I18N compilation bug: use N_() instead
of _() to initialize static variables.
/external/e2fsprogs/misc/fsck.c
10a32f1e03b198ae408e1af6a412f993678be33d 21-May-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.8.in, fsck.c:
fsck.8.in, fsck.c (compile_fs_type, fs_type, ignore): Fix handling of
-t option to be more intuitive. Also add support for the Mandrake -t
loop hack. See man page for description of new -t semantics.
/external/e2fsprogs/misc/fsck.c
9164b862ff73810e045c7499a15f87ca1b578cfb 21-May-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (device_already_active): Fix bug in device_already_active which
could cause infinite loops if we don't know the base_device of the
filesystem.
/external/e2fsprogs/misc/fsck.c
07025aea9b4879e7771f94c8e1e6551023d4bf4f 21-May-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c: Make sure all exit status codes returned by fsck are
consistent with the error codes documented in the fsck man page.
/external/e2fsprogs/misc/fsck.c
6930372eff810d0daf39febbb1129d8cce815d13 12-May-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (PRS): fsck -? now prints the usage message.
ChangeLog, jfs.h:
jfs.h (JFS_DEBUG): Don't define JFS_DEBUG for non-kernel builds; if
necessasry it can be set with configure --enable-jfs-debug
/external/e2fsprogs/misc/fsck.c
45d7086f4e04feed8ceaa2349fe6875423209862 01-May-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (device_already_active): If we're not able to determine the
base device, we should assume that the device is already active in
order to force serialization.
/external/e2fsprogs/misc/fsck.c
8820c79f75c37a3bc85cea7f56e7277025e157ef 06-Jan-2001 Theodore Ts'o <tytso@mit.edu> Many files:
get_device_by_label.h (get_volume_label_by_spec): Add function prototype.
get_device_by_label.c: Use string_copy() instead of strdup() for
portability's sake. Fix a few other gcc -Wall complaints.
fsck.h, fsck.c (string_copy): Export string_copy() extern.
badblocks.c: Fix various gcc -Wall complaints, including an incorrect
reference to sync in flush_bufs().
ChangeLog, configure, configure.in:
configure.in: Add checks for the header files sys/mkdev.h and
sys/sysmacros.h.
/external/e2fsprogs/misc/fsck.c
d4cf2fcda2aee14d1e312d8e145dd54f480ffeae 31-Dec-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (check_all): Call interpet_device to resolve LABEL= and UUID=
right away so that the device_already_active() logic can do the right
thing. Also cleaned up the the root filesystem logic checking code;
fixed up a logic bug with the parallel_root option.
/external/e2fsprogs/misc/fsck.c
b9fd8c1fdbe0b118e29494366c9aac0545c8e1fe 29-Dec-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, base_device.c, fsck.c:
base_device.c (base_device): Add support for DAC960 device names.
fsck.c (device_already_active): Handle the case where base_device
doesn't know how to interpret the device name, instead of core
dumping.
/external/e2fsprogs/misc/fsck.c
793e27df7312d5b217c172387f71fd581ed30c82 03-Dec-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, Makefile.in, base_device.c, base_device.tst, fsck.c, fsck.h:
fsck.c (device_already_active): Change to use new version of
base_device() which now returns dynamically allocated memory.
base_device.c (base_device): New version moved from fsck.c which now
understands ugly devfs names. (Debian bug #65181)
base_device.tst: Test case for base_device.c
/external/e2fsprogs/misc/fsck.c
e9f9dd8e93712ba1ea4a1382c360b107883fc056 02-Dec-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (wait_one): When we let a new fsck take control of the console
to display the progress bar, set FLAG_PROGRESS to so that fsck knows
not to start new processes during an fsck pass with the progress
bar. (Should fix debian bug #65267)
/external/e2fsprogs/misc/fsck.c
438196669574f87493b153b2dee93f5eeba1844e 25-Oct-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, llseek.c:
llseek.c: Add #ifdef's for IA64 (it's a 64-bit platform, so we don't
need to use llseek).
ChangeLog, fsck.c:
fsck.c (device_already_active): Add a special case check for MD
devices, so we don't try to check them in parallel with other devices.
/external/e2fsprogs/misc/fsck.c
3f1e9a5db6f05fc60d7557ed40d07e3e7359821b 12-Sep-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c: Add base device definitions for hd[e-h], for those systems
with four IDE interfaces.
/external/e2fsprogs/misc/fsck.c
19c689196bcd90510070b50cd08d0e962fe8311c 07-Jul-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (execute, wait_one): Treat fsck.ext3 the same as fsck.ext2
(because they are the same) for the purposes of the progress bar
display logic.
ChangeLog, ls.c:
ls.c (list_super): Display the journal information fields in the
superblock if the filesystem has a journal.
/external/e2fsprogs/misc/fsck.c
5b1519bf528182fff35b8786455182ec018c454e 06-Jul-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (lookup, load_fs_info, check_all): Use lazy evaluation for
calling interpret_device(), since this requires root privileges if the
partitions need to be scanned. Otherwise, it's not possible to do
non-proot fsck's for removeable devices such as floppies if there are
any LABEL= or UUID= entries in /etc/fstab.
/external/e2fsprogs/misc/fsck.c
c96e511a0c020a309d4fd3f8cac9ebc1a52c2ff4 08-May-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (interpret_device): Add better error messages if a UUID= or
LABEL= specification is given.
/external/e2fsprogs/misc/fsck.c
d9c56d3ca0bee11e3446ff7e12e3124d28e298a7 08-Feb-2000 Theodore Ts'o <tytso@mit.edu> Many files:
badblocks.c, chattr.c, dumpe2fs.c, e2label.c, findsuper.c, fsck.c,
get_device_by_label.c, lsattr.c, mke2fs.c, mklost+found.c,
nls-enable.h, partinfo.c, tune2fs.c, uuidgen.c: Add
Internationalization support as suggested by Marco d'Itri
<md@linux.it>.
/external/e2fsprogs/misc/fsck.c
b4ee1fb28e9aeea982cbbdef873604224ce45445 02-Feb-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c, mke2fs.c, partinfo.c:
fsck.c (interpret_device): If there was an attempt to interpret a
device specification of the type "UUID=" or "LABEL=", and it fails,
check to see if /proc/partitions is readable. If not, print a warning
message about /proc perhaps not being mounted, and exit.
mke2fs.c (check_plausibility): Remove unneeded #include of linux/fs.h.
Add #define of MAJOR if necessary.
partinfo.c: Remove unneeded #include of linux/fs.h
/external/e2fsprogs/misc/fsck.c
3cb7784f307db3f32b008bacbe87fe385f8543a7 18-Jan-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, Makefile.in, fsck.c:
Really fix the bug where "fsck -As" will actually allow interactive
fsck's. (For those people who like to do interactive fsck's in the
/etc/rc scripts!?!)
/external/e2fsprogs/misc/fsck.c
6a35ffa0ed7ca24436bdab1807b5ae9d1845946a 04-Nov-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (main): Move setting of the interactive flag to before the call
to check_all(), so that people who try to use fsck -As can do so
interactively.
/external/e2fsprogs/misc/fsck.c
3bc036691a1679fa82bee17ed4c3e18d7165c4d1 26-Oct-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (PRS, device_already_active): Add debugging hook; if the
environment variable FSCK_FORCE_ALL_PARALLEL is set, then force all
fsck runs to happen in parallel.
/external/e2fsprogs/misc/fsck.c
b5135717e72626334f929ca2ddf75cecbb1f9c99 26-Oct-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (wait_one): Fix gcc warnings; add #include for ctype.h, add
const to char * variables, and use NOARGS to declare functions that
take no arguments. Also fix a memory leak in execute() where we
weren't freeing argv[] after forking the child process.
/external/e2fsprogs/misc/fsck.c
ad6783df0c9d06e5c298167de34aec8e6e25e6c2 26-Oct-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (execute): Fix really stupid bug in the linked list management
which caused fsck in parallel mode to go into an infinite loop.
ChangeLog, mke2fs.c:
mke2fs.c (show_stats): Capitalized Hurd to make the GNU types happy.
ChangeLog, configure.in:
configure.in: Capitalized Hurd to make the GNU folks happy.
/external/e2fsprogs/misc/fsck.c
7f4bb6c6e832b38b8e52b4bcc143f99a4059dcec 20-Oct-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c, fsck.h:
fsck.c (wait_one): If the fsck process just started, wait a second
before sending a SIGUSR1, to give it a chance to set the signal
handler; otherwise, fsck will die on an unhandled SIGUSR1.
/external/e2fsprogs/misc/fsck.c
50787ea22edd8b4662203daf3569411d9dcf4287 19-Jul-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.8.in, fsck.c, fsck.h, mke2fs.8.in, mke2fs.c:
* mke2fs.c (PRS, set_fs_defaults): Add new option -T which allows the
user to specify the how the filesystem is to be used. Mke2fs now
chooses the filesystem parameters automatically based on the size of
the filesystem and the intended use of the filesystem. Add new option
-n which simply goes through the calculations to determine the
parameters of the filesystem the system would make.
* fsck.c, fsck.h: Add support for new option -C. This option will
automatically manage e2fsck processes so that they will print
completion/progress bars. If multiple filesystems are being checked,
arrange to make sure that only one e2fsck process is displaying a
progress bar at a time.
/external/e2fsprogs/misc/fsck.c
2d8defde38006fd4c92862db089ca2a1f0acda63 03-Jul-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, Makefile.in, fsck.c, get_device_by_label.c, get_device_by_label.h:
fsck.c: Added support for LABEL= and UUID= specifications for the
filesystem's device, to match what recent mount programs can support.
Also, close stdin when doing fsck -A or when checking more than one
filesystem at a time, so that e2fsck doesn't try to ask interactive
questions if the filesystem appears to be mounted.
get_device_by_label.c: New file added to support LABEL=foo and
UUID=bar type specifications.
/external/e2fsprogs/misc/fsck.c
5d45d80375943be8917302a502f3f28d2df8d16d 16-Mar-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, Makefile.in, fsck.c, mke2fs.c, uuidgen.1.in, uuidgen.c:
uuidgen.c, uuidgen.1.in: Created command-line utility to generate
UUIDs.
fsck.c (fsck_device, execute): Don't dereference a null pointer when
checking a filesystem not in /etc/fstab.
/external/e2fsprogs/misc/fsck.c
7d5633cf6ee1be74777cf4b1adfa9738ff33f2b7 09-Feb-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c, mke2fs.c:
fsck.c (fsck_device): Print an error message if the user passes in a
device or directory name which isn't found in /etc/fstab. Allow the
location of /etc/fstab to be overridden by the FSTAB_FILE environment
variable.
mke2fs.c (write_inode_tables): Add kludge code so that when the
MKE2FS_SYNC environment variable is set, mke2fs will sync every
MKE2FS_SYNC block groups, while it is writing out the inode tables.
This is to work around a VM bug in the 2.0 kernel. I've heard a
report that a RAID user was able to trigger it even using a 2.2
kernel.
/external/e2fsprogs/misc/fsck.c
ee9229993a0bb078c17738e91d7aa7864be5a17b 16-Jan-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (execute, wait_one): Modified routines so that they accurately
create an fsck_instance even when the noexecute flag is set. This
allows for accurate debugging of the fsck pass structure.
(check_all): When the verbose flag is given twice, print debugging
information about when fsck is waiting for jobs to finish.
/external/e2fsprogs/misc/fsck.c
665f7107c595ff5bace48d360d506e3d968b9991 08-Jan-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, inode.c:
inode.c (ext2fs_read_inode, ext2fs_write_inode): Check to see if the
inode number is zero; if it's zero, return EXT2_ET_BAD_INODE_NUM.
ChangeLog, fsck.c:
fsck.c (load_fs_info): If the pass number field is missing, it needs
to be treated as zero.
libext2fs.texinfo, README:
Update for 1.14 release.
/external/e2fsprogs/misc/fsck.c
93ab9d784e8945b256f4e9c76af9644f1cd7ba0e 02-Jan-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, mke2fs.c:
mke2fs.c: Add definition of SCSI_BLK_MAJOR if not defined, for
compatibility with Linux 1.2.13 header files.
ChangeLog, fsck.c:
fsck.c (load_fs_info, parse_fstab_line): Ignore fstab lines are
commented out. Also allow blank lines in the /etc/fstab file.
(execute): In verbose mode, print the mountpount of the filesystem
which we are checking (user request).
/external/e2fsprogs/misc/fsck.c
5a679c8fb15540f86fc2eae3117412adc6ecbb33 03-Dec-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, pass3.c, problem.c:
pass3.c (get_lost_and_found): If the filesystem is not opened
read-only, then force /lost+found to be created if it is not present.
problem.c: Allow PR_3_NO_LF_DIR to be handled during a preen operation.
ChangeLog, Makefile.in:
Makefile.in: Updated dependencies.
ChangeLog, fsck.c:
fsck.c (load_fs_info): Parse /etc/fstab ourselves, instead of relying
on getmntent(). This has the advantage of allowing us to properly
handle missing pass numbers correctly.
ChangeLog, configure.in:
configure.in: Add paths.h to header files for which we search.
/external/e2fsprogs/misc/fsck.c
818180cdfcff84b9048ecdc5dc86323f0fefba24 27-Jun-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, debugfs.8.in, debugfs.c:
Add a -V option which displays the current version.
ChangeLog, unix.c:
unix.c (e2fsck_update_progress): Remove unused variables.
ChangeLog, inode.c:
inode.c (get_next_blockgroup): Fix bug where if get_next_blockgroup()
is called early because of a missing inode table in a block group, the
current_inode counter wasn't incremented correctly.
ChangeLog, tst_uuid.c:
tst_uuid.c (main): Fixed bogus declaration of the main's argv parameter.
ChangeLog, test_icount.c:
test_icount.c (main): Fix main() declaration so that it returns int,
not void.
Many files:
fsck.c (ignore): Remove unused variable cp.
chattr.c (fatal_error):
tune2fs.c (usage):
lsattr.c (usage):
dumpe2fs.c (usage):
badblocks.c (usage): Remove volatile from declaration.
fsck.c: Change use of strdup to be string_copy, since we don't trust
what glibc is doing with strdup. (Whatever it is, it isn't pretty.)
/external/e2fsprogs/misc/fsck.c
4bf5fbfe055d5e9bce54a7bc2ad7b959041dcf12 15-May-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
Remove check for filesystem with the noauto option.
/external/e2fsprogs/misc/fsck.c
519149fb458b0fa69c10fecd83fae42e838cf01d 25-Oct-1997 Theodore Ts'o <tytso@mit.edu> Many files:
fsck.c:
chattr.c: Remove #include of getopt.h, since it's not needed.
tune2fs.c (main):
lsattr.c (main):
badblocks.c (main):
dumpe2fs.c (main):
mke2fs.c (PRS): Make the variable which getopt returns into be
an int, so that it won't lose on platforms where char is
unsigned.
ChangeLog, unix.c:
Make the variable which getopt returns into be an int, so that it
won't lose on platforms where char is unsigned.
/external/e2fsprogs/misc/fsck.c
19c78dc07fce2d6f39b5e541562afc3ca1ea38ff 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs-1.07
/external/e2fsprogs/misc/fsck.c
7f88b04341d88c5df0360d930832c38040303b61 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checkin of e2fsprogs 1.03.
/external/e2fsprogs/misc/fsck.c
74becf3c0a065f8d64e07ce4d31f9fe53be91d62 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checkin of e2fsprogs 1.02.
/external/e2fsprogs/misc/fsck.c
297f47a13edce54d08517182e714083a0a7f196c 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 1.01.
/external/e2fsprogs/misc/fsck.c
a418d3ad819323f871005d253f7f9ac378e78ba5 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 0.5c
/external/e2fsprogs/misc/fsck.c
f3db3566b5e1342e49dffc5ec3f418a838584194 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checkin of e2fsprogs 0.5b
/external/e2fsprogs/misc/fsck.c
3839e65723771b85975f4263102dd3ceec4523c0 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checkin of e2fsprogs 0.5b
/external/e2fsprogs/misc/fsck.c