OSDN Git Service
Theodore Ts'o [Fri, 18 Apr 2003 11:32:00 +0000 (07:32 -0400)]
Makefile.in (uuidgen): Avoid linking lsattr and chattr against
libext2fs, and avoid linking blkid against any of the ext2
libraries.
Theodore Ts'o [Fri, 18 Apr 2003 11:22:01 +0000 (07:22 -0400)]
configure.in: Remove CYGWIN definition; we will use the
automatically defined __CYGWIN__ instead.
Theodore Ts'o [Fri, 18 Apr 2003 03:37:28 +0000 (23:37 -0400)]
Update after "make depend".
Theodore Ts'o [Fri, 18 Apr 2003 02:06:46 +0000 (22:06 -0400)]
Add Cygwin/Windows version of ext2fs_get_device_size()
Theodore Ts'o [Fri, 18 Apr 2003 01:58:27 +0000 (21:58 -0400)]
Fsck does not need to linked against the ext2 libraries anymore.
Theodore Ts'o [Fri, 18 Apr 2003 01:55:38 +0000 (21:55 -0400)]
e2fsck/rehash.c (name_cmp): Sort the deleted inodes to the end
of the list, for portability to systems that whose qsort
does not perform a stable sort.
Theodore Ts'o [Wed, 16 Apr 2003 20:13:58 +0000 (16:13 -0400)]
Put stdout and stderr into non-buffered mode to
avoid cosmetic problems when running fsck under logsave.
Theodore Ts'o [Wed, 16 Apr 2003 19:29:39 +0000 (15:29 -0400)]
Avoid printing the version banner for mke2fs if
the -q option is specified. (Addresses Debian bug #172716)
Theodore Ts'o [Wed, 16 Apr 2003 19:20:13 +0000 (15:20 -0400)]
Use setvbuf instead of setbuf to force stdout and
stderr to be non-buffered when the stdout/stderr are a pipe.
This fixes a cosmetic problem when using e2fsck under logsave.
Theodore Ts'o [Wed, 16 Apr 2003 18:05:06 +0000 (14:05 -0400)]
* Add support for the -a and -s options to logsave.
* Change e2fsck to bracket its progress bar output with ctrl-A and ctrl-B
characters, so that logsave -s can omit writing the progress bar output
to the log file.
Theodore Ts'o [Wed, 16 Apr 2003 04:59:59 +0000 (00:59 -0400)]
ADD TAG: E2FSPROGS-1_33-WIP-0414
Theodore Ts'o [Wed, 16 Apr 2003 04:59:59 +0000 (00:59 -0400)]
Update for 1.33-WIP April 14, 2003 release.
Theodore Ts'o [Tue, 15 Apr 2003 00:40:49 +0000 (20:40 -0400)]
Remove the debian-special legal permission notes.
Theodore Ts'o [Mon, 14 Apr 2003 22:05:12 +0000 (18:05 -0400)]
Add logsave, a new program which saves the output of a command
in a log file, even if the containing directory hasn't been
mounted yet (in which case the it saves the output in
memory until it can write out the logfile).
Theodore Ts'o [Sun, 13 Apr 2003 04:44:19 +0000 (00:44 -0400)]
Add portability enhancements for Cygwin32 environment.
Theodore Ts'o [Sat, 12 Apr 2003 06:53:49 +0000 (02:53 -0400)]
Update to standards 3.5.9.
Add dc to the build-depends line.
Remove ancient e2fslibsg conflicts line.
Theodore Ts'o [Sat, 12 Apr 2003 02:10:50 +0000 (22:10 -0400)]
Mke2fs can be given a minimum block size by passing in a negative
number to the -b option.
Theodore Ts'o [Fri, 11 Apr 2003 18:00:53 +0000 (14:00 -0400)]
mke2fs.8.in: Document the -g option. (Addresses Debian bug #188318)
Theodore Ts'o [Fri, 11 Apr 2003 17:46:57 +0000 (13:46 -0400)]
Fix bug where mke2fs was incorrectly checking
the argument to the -g option, if the default block size
is used. (Addresses Debian bug #188319)
Theodore Ts'o [Fri, 11 Apr 2003 17:32:31 +0000 (13:32 -0400)]
tune2fs.8.in, mke2fs.8.in: Document the dir_index filesystem
feature which can be used with the -O option.
Theodore Ts'o [Fri, 11 Apr 2003 17:26:21 +0000 (13:26 -0400)]
Remove EXT2_FEATURE_RO_COMPAT_BTREE_DIR mention of since it's not
actually used, and may confuse people who are looking for
EXT2_FEATURE_COMPAT_DIR_INDEX, which is in use.
Theodore Ts'o [Fri, 11 Apr 2003 16:56:27 +0000 (12:56 -0400)]
Use the SS_READLINE_PATH environment variable to control the search
for a suitable readine library. As a default, try using libreadline,
libedit, and libeditline.
Theodore Ts'o [Thu, 10 Apr 2003 04:18:56 +0000 (00:18 -0400)]
Add libblkid1-udeb package for the Debian Installer.
Theodore Ts'o [Thu, 10 Apr 2003 04:01:19 +0000 (00:01 -0400)]
Various Debian fixups:
Update debian changelog. Move packages from devel to libdevel.
We now supply the /usr/include/com_err.h include file.h
Theodore Ts'o [Mon, 7 Apr 2003 03:08:47 +0000 (23:08 -0400)]
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.
Theodore Ts'o [Sun, 6 Apr 2003 03:50:44 +0000 (22:50 -0500)]
E2fsck now updates the global free block and
inode counters from the block group specific counters
quietly. This is needed for an experimental patch which
eliminates locking the entire filesystem when allocating
blocks or inodes; if the filesystem is not unmounted
cleanly, the global counts may not be accurate.
Theodore Ts'o [Fri, 4 Apr 2003 01:09:19 +0000 (20:09 -0500)]
Import bug fixes from EVMS 2.0 tree.
Fixed possible hangs caused by bugs in calling waitpid, and not
setting the pipe to non-blocking mode. Also fixed a file descriptor
leak. Made sure all functions call log entry/exit functions.
Theodore Ts'o [Thu, 3 Apr 2003 16:37:46 +0000 (11:37 -0500)]
badblocks.c (bb_output): Flush output to the badblocks
output file as bad blocks are discovered.
Theodore Ts'o [Thu, 3 Apr 2003 13:25:15 +0000 (08:25 -0500)]
gen_uuid.c (get_random_bytes): Always xor in a stream of bytes
from the system PRNG (i.e., random/srandom, seeded from
the time, pid, and uid) in case /dev/random isn't doing
the right thing on a particular system. It doesn't hurt,
and it can help, in the case of a buggy /dev/random.
Theodore Ts'o [Thu, 3 Apr 2003 05:04:28 +0000 (00:04 -0500)]
Fix XFS superblock definition. Add support to
extract UUID and labels for JFS and romfs. (Thanks to
Janos Farkas <chexum@acomp.hu>.)
Theodore Ts'o [Mon, 31 Mar 2003 04:53:53 +0000 (23:53 -0500)]
ADD TAG: E2FSPROGS-1_33-WIP-0330
Theodore Ts'o [Mon, 31 Mar 2003 04:53:53 +0000 (23:53 -0500)]
Remove gen-tarball when doing "make clean"
Theodore Ts'o [Mon, 31 Mar 2003 04:45:02 +0000 (23:45 -0500)]
Update for e2fsprogs 1.33-WIP-0330 release
Theodore Ts'o [Mon, 31 Mar 2003 04:29:18 +0000 (23:29 -0500)]
Update dependencies of ss/Makefile
Theodore Ts'o [Mon, 31 Mar 2003 04:08:32 +0000 (23:08 -0500)]
getsize.c: #include stat.h for the Apple Darwin port
Theodore Ts'o [Mon, 31 Mar 2003 03:26:13 +0000 (22:26 -0500)]
Change compile_et to generate header files that use <et/com_err.h>
instead of <com_err.h>, so the current version of the header file
is used.
Add a --build-tree option to compile_et to make sure that it uses
the et_?.awk files from the build tree.
Remove legacy support for varargs.h, K&R C, and pre-POSIX signal
support. Also fixed gcc -Wall nits.
Theodore Ts'o [Wed, 26 Mar 2003 06:06:07 +0000 (01:06 -0500)]
ADD TAG: E2FSPROGS-1_33-WIP-0325
Theodore Ts'o [Wed, 26 Mar 2003 06:06:07 +0000 (01:06 -0500)]
Update for 1.33-WIP-0325 release.
I'm now the Debian maintainer!
Theodore Ts'o [Wed, 26 Mar 2003 05:58:06 +0000 (00:58 -0500)]
tr.po: Update from nilgun@superonline.com.
Theodore Ts'o [Wed, 26 Mar 2003 04:08:29 +0000 (23:08 -0500)]
f_h_badnode, f_h_badroot, f_h_reindex: Updated expect script to
remove the optimizing directories message.
Theodore Ts'o [Wed, 26 Mar 2003 04:02:34 +0000 (23:02 -0500)]
Fixed chattr man page to clarify description of the 't' (no tail)
attribute.
Theodore Ts'o [Sun, 23 Mar 2003 06:37:53 +0000 (01:37 -0500)]
Move tarball generation functions to util/gen-tarball
Theodore Ts'o [Thu, 20 Mar 2003 00:46:02 +0000 (19:46 -0500)]
com_err.h, error_table.h: Move definition of the error_table
structure from the internal error_table.h to com_err.h,
since it now needs to be public.
et_c.awk, et_h.awk: Import changes from krb5's et library so
that the error_table structure is defined and available
publically.
error_message.c: Import krb5 and heimdall com_err extensions to
the et library.
Theodore Ts'o [Mon, 17 Mar 2003 23:13:57 +0000 (18:13 -0500)]
cache.c: Initialize blkid_debug_mask to zero since some
operating systems can't deal with variables in the common
section in shared libraries.
Theodore Ts'o [Mon, 17 Mar 2003 18:53:38 +0000 (13:53 -0500)]
ls.c (list_super2): Display the superblock fields even if the
journal or the dir index feature is not enabled.
Theodore Ts'o [Mon, 17 Mar 2003 15:01:22 +0000 (10:01 -0500)]
Fix the Apple Darwin port.
Theodore Ts'o [Mon, 17 Mar 2003 01:49:43 +0000 (20:49 -0500)]
ADD TAG: E2FSPROGS-1_33-WIP-0316
Theodore Ts'o [Mon, 17 Mar 2003 01:49:43 +0000 (20:49 -0500)]
Fix stupid typo in Debian changelog file (for 1.33-WIP-0316 release).
Theodore Ts'o [Mon, 17 Mar 2003 01:42:01 +0000 (20:42 -0500)]
Update version number in debian changelog.
Theodore Ts'o [Mon, 17 Mar 2003 01:41:04 +0000 (20:41 -0500)]
Update version numbers and release notes for 1.33-WIP (16-Mar-2003)
release.
Theodore Ts'o [Mon, 17 Mar 2003 01:40:36 +0000 (20:40 -0500)]
Update some changes from RedHat's e2fsprogs.spec file.
Add blkid library files to the rpm file.
Theodore Ts'o [Mon, 17 Mar 2003 01:21:16 +0000 (20:21 -0500)]
Update dependency information in Makefiles
Theodore Ts'o [Mon, 17 Mar 2003 00:58:25 +0000 (19:58 -0500)]
Update debian files to support the blkid library, and to fix a number
of Lintian warnings.
Added mk_cmds man page.
Theodore Ts'o [Sun, 16 Mar 2003 11:27:22 +0000 (06:27 -0500)]
Update the generated configure file.
Theodore Ts'o [Sun, 16 Mar 2003 11:26:25 +0000 (06:26 -0500)]
Add to the ss (subsystem) library the ability to dynamically link
to the readline library if it is present in the system.
Theodore Ts'o [Sun, 16 Mar 2003 07:58:01 +0000 (02:58 -0500)]
Update and clarify copyright statement.
Theodore Ts'o [Sun, 16 Mar 2003 01:24:16 +0000 (20:24 -0500)]
Update config.guess and config.sub with newer versions from the FSF.
Theodore Ts'o [Sat, 15 Mar 2003 18:30:07 +0000 (13:30 -0500)]
rehash.c (e2fsck_rehash_dir): If user specified the -n option,
skip trying to write out directory.
(e2fsck_rehash_directories): Fix the percentage
calculation in the progress bar.
Theodore Ts'o [Sat, 15 Mar 2003 18:03:51 +0000 (13:03 -0500)]
Update from debian's 1.32-2 package.
Theodore Ts'o [Sat, 15 Mar 2003 09:28:17 +0000 (04:28 -0500)]
ADD TAG: E2FSPROGS-1_33-WIP-0314
Theodore Ts'o [Sat, 15 Mar 2003 09:28:17 +0000 (04:28 -0500)]
Update for 1.33-WIP (14-Mar-2003) release.
Theodore Ts'o [Sat, 15 Mar 2003 09:04:11 +0000 (04:04 -0500)]
f_dup_de: Added test case provided from Debian bug report #176814
Theodore Ts'o [Sat, 15 Mar 2003 09:03:43 +0000 (04:03 -0500)]
Don't display progress bar when rebuilding directories unless
explicitly requested by the user.
Theodore Ts'o [Sat, 15 Mar 2003 03:19:10 +0000 (22:19 -0500)]
e2fsck/pass2.c (check_dir_block): Check for duplicate filenames within
a single directory block (because this is the easy case;
we don't currently check for duplicates that span
directory blocks, for now. Eventually for htree
directories we can do this by searching for all directory
blocks that have a hash overflow, and then searching the
adjacent blocks to find all other potential duplicates.)
Theodore Ts'o [Fri, 14 Mar 2003 07:42:42 +0000 (02:42 -0500)]
Add dependency to allow parallel makes to work correctly.
Theodore Ts'o [Fri, 14 Mar 2003 07:25:36 +0000 (02:25 -0500)]
Update generated configure file.
Theodore Ts'o [Fri, 14 Mar 2003 07:13:48 +0000 (02:13 -0500)]
Add Apple/Darwin patches.
Theodore Ts'o [Fri, 14 Mar 2003 06:43:56 +0000 (01:43 -0500)]
Change e2fsck to detect and offer to delete or rename duplicate
filenames in directories when rebuilding directories using
"e2fsck -fD /dev/XXX"
Theodore Ts'o [Fri, 14 Mar 2003 05:59:42 +0000 (00:59 -0500)]
badblocks.c (ext2fs_u32_list_count), ext2fs.h: Add new function
which returns the number of entries in the list.
Theodore Ts'o [Fri, 14 Mar 2003 05:38:45 +0000 (00:38 -0500)]
e2image.c (write_raw_image_file): Include blocks from slow
symbolic links in the raw image file.
Theodore Ts'o [Mon, 10 Mar 2003 19:32:09 +0000 (14:32 -0500)]
fileio.c (ext2fs_file_lseek): Fix bug added when adding 64-bit
support; avoid null dereference when ret_pos is NULL.
Theodore Ts'o [Fri, 7 Mar 2003 06:09:57 +0000 (01:09 -0500)]
ADD TAG: E2FSPROGS-1_33-WIP-0306
Theodore Ts'o [Fri, 7 Mar 2003 06:09:57 +0000 (01:09 -0500)]
Update release notes, version file, for 1.33-WIP release.
Theodore Ts'o [Thu, 6 Mar 2003 17:58:33 +0000 (12:58 -0500)]
tune2fs.c (parse_tune2fs_options, parse_e2label_options): Allow
the device name to be specified using LABEL=xxx or
UUID=xxx, since we're including the blkid library anyway.
(Addresses Debian bugs #166048, #179671)
Theodore Ts'o [Thu, 6 Mar 2003 17:58:03 +0000 (12:58 -0500)]
Fix bug; if a partition has no known type, don't derference a null
pointer and crash.
Theodore Ts'o [Thu, 6 Mar 2003 17:39:55 +0000 (12:39 -0500)]
Minor man page fixes (Addresses Debian bugs #173612, #175233,
#175113, and #170497)
Theodore Ts'o [Thu, 6 Mar 2003 17:22:52 +0000 (12:22 -0500)]
Bug fix; we were incorrectly moving the block and inode bitmaps
for sparse superblock filesystems. (Address Debian bug #174766)
Theodore Ts'o [Thu, 6 Mar 2003 16:09:18 +0000 (11:09 -0500)]
Fix up lots of portability problems that caused e2fsprogs not to build successfully
under Solaris.
Theodore Ts'o [Sun, 2 Mar 2003 07:07:14 +0000 (02:07 -0500)]
Changes to create a subset distribution which consists only of the
et, ss, uuid, and blkid libraries. The configure script and top-level
makefile were changed to support working with a subset distribution.
Theodore Ts'o [Sun, 2 Mar 2003 03:57:31 +0000 (22:57 -0500)]
tag.c (blkid_set_tag): Fix bug; don't return an error when
deleting a tag by setting the value to NULL. This
caused a failed device verification to loop forever in
blkid_verify_devname().
Theodore Ts'o [Sun, 2 Mar 2003 01:01:27 +0000 (20:01 -0500)]
Update libblkid documentation.
Fix tst_resolve to use latest blkid API's.
Theodore Ts'o [Sun, 2 Mar 2003 00:47:44 +0000 (19:47 -0500)]
Update debugfs and e2fsck to use the blkid library.
Theodore Ts'o [Sun, 2 Mar 2003 00:29:01 +0000 (19:29 -0500)]
Minor bug fixes in the blkid library.
Convert mke2fs, fsck, and tune2fs to use the blkid library.
Theodore Ts'o [Fri, 28 Feb 2003 00:33:36 +0000 (19:33 -0500)]
resolve.c (blkid_get_tag_value): Rename function (used to be
blkid_get_tagname_devname)
Theodore Ts'o [Sat, 22 Feb 2003 22:15:20 +0000 (17:15 -0500)]
Internal changes to the blkid library:
1) Only one tag with a particular name can be attached to a device
at a time. This significantly simplifies the library, and was needed
to allow the cache file to be re-read and changes integrated into the
in-core version of the data structure in a simpler fashion than earlier
versions of the library.
2) To accomodate this, the ext2/ext3 filesystems are now always tagged
as "ext2" type filesystems. Ext3 filesystems are tagged with a
SEC_TYPE tag with the value ext3.
3) The new blkid_read_cache() function checks the mod time of the
cache file, and if the file has been changed since the last time the
cache file was read into memory, it is re-read. This function is now
called before probing all of the devices in the system or searching
all devices in the cache for a specific tag value.
4) After probing all devices, blkid_flush_cache() is called to write
out the cache file. This assures that all of the hard work involved
in doing a blkid_probe_all() is saved to disk.
Theodore Ts'o [Sat, 22 Feb 2003 18:19:53 +0000 (13:19 -0500)]
Add dynamic debugging capabilities to the blkid library,
controlled by the environment variable BLKID_DEBUG. The debugging
code is enabled by a new configuration option, --enable-blkid-debug.
Theodore Ts'o [Sun, 16 Feb 2003 05:47:07 +0000 (00:47 -0500)]
Rename blkid_get_devname() to blkid_get_dev(), and blkid_get_token()
to blkid_get_devname().
Theodore Ts'o [Fri, 14 Feb 2003 06:40:23 +0000 (01:40 -0500)]
Remove bid_id from the blkid device structure, as it is not used
for anything.
Theodore Ts'o [Fri, 14 Feb 2003 06:31:45 +0000 (01:31 -0500)]
Add a priority label to the device structure, so we can give
preference to EVMS and LVM devices when searching for a device
matching a particular LABEL or UUID in the blkid library.
Theodore Ts'o [Thu, 13 Feb 2003 04:51:21 +0000 (23:51 -0500)]
Wholesale changes to blkid library to simplify the implementation
and shrink its size. Change library version to be 1.0.
Theodore Ts'o [Thu, 30 Jan 2003 02:04:52 +0000 (21:04 -0500)]
Fixed up minor documentation issues (man page for badblocks and usage
message for e2fsck).
Theodore Ts'o [Mon, 27 Jan 2003 06:09:24 +0000 (01:09 -0500)]
Roto-till and clean up libblkid API.
read.c (parse_tag): Do not return that blkid_tag when parsing
the blkid.tag file.
resolve.c (blkid_get_token, blkid_get_tagname_devname): Fold in
code from removed functions
tag.c (blkid_create_tag): Don't return the newly tag strcture
any more, as it's not needed.
(blkid_find_tag_cache, blkid_get_tag_cache,
blkid_token_to_tag, blkid_find_tv_tags): Remove these
functions, as they are either only used once or have
interfaces that should be deprecated.
(blkid_find_tag_dev, blkid_find_head_cache): Replace use
of blkid_tag with one or two const char * type/value
arguments.
(blkid_find_dev_with_tag): Fold in code from removed functions
probe.h, probe.c: Use a more sophisticated set of byte-swapping
routines which are more compact and efficient. Drop
calculation of bid_free, since it's unnecessary. Avoid
save.c (blkid_save_cache): Set the permissions on the blkid
cache file to 644.
Theodore Ts'o [Sun, 26 Jan 2003 06:54:39 +0000 (01:54 -0500)]
Separate public and private interfaces into separate header files.
Start separating internal implementation details from the
publically exported interface of the blkid library.
Theodore Ts'o [Sat, 25 Jan 2003 23:44:33 +0000 (18:44 -0500)]
devname.c: Add support for EVMS to the blkid library.
Theodore Ts'o [Sat, 25 Jan 2003 05:26:48 +0000 (00:26 -0500)]
Fix gcc -Wall nits.
Theodore Ts'o [Sat, 25 Jan 2003 04:11:29 +0000 (23:11 -0500)]
save.c (blkid_save_cache): Use mkstemp() instead mktemp().
Theodore Ts'o [Thu, 23 Jan 2003 21:45:16 +0000 (16:45 -0500)]
Integrate new blkid library.
Theodore Ts'o [Thu, 23 Jan 2003 00:55:59 +0000 (19:55 -0500)]
fsck.c (parse_fstab_line, parse_escape): Add support for
backslash escaping in /etc/fstab. (i.e., so that \040
will work.)
Theodore Ts'o [Wed, 22 Jan 2003 23:30:01 +0000 (18:30 -0500)]
unix_io.c (unix_write_blk): Fix up GCC -Wall nits.
Theodore Ts'o [Wed, 22 Jan 2003 23:28:15 +0000 (18:28 -0500)]
pass1.c (check_blocks): Use the EXT2_I_SIZE macro.