summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2005-01-06Add imap_err.et to the lib/et regression test suite.Theodore Ts'o3-0/+258
2005-01-06Fix resize inode handling on big endian systems, by adding new routinesTheodore Ts'o6-85/+107
that read/write indirect blocks, byte swapping them if necessary.
2005-01-05Adjust blkid library so that it returns vfat in preference to msdos so Theodore Ts'o4-25/+75
that mount will try to use the vfat filesystem. (Addresses Debian bug #287455) Similarly, the blkid library will now return an ext3 type for ext 2/3 filesystems that have the journal capability set. We allow files to be probed by the blkid library, to make it easier to test the library. However, we also added safety checks to avoid saving relative pathnames to blkid.tab, and probe_one() will only check block device files.
2005-01-05dupfs.c (ext2fs_dup_handle): Make sure the new filesystem handleTheodore Ts'o2-1/+16
has its own copy of the orig_super data structure. (This is a better way of fixing a double-free problem in resize2fs which Fedora attempted to fix in e2fsprogs-1.35-double_free.patch. Addresses Red Hat Bugzilla #132707.)
2005-01-05Add new function in e2p for parsing the number of blocks on the command lineTheodore Ts'o4-4/+76
for mke2fs and resize2fs, and use this function so that filesystem size inputs to e2fsprogs command line programs are parsed consistently.
2004-12-23Avoid some potential inode cache coherency problem caused by using the Theodore Ts'o2-0/+4
byte-swapping options to e2fsck. This was the cause of some hard to reproduce problems that had been reported in the past, and which the resize_inode changes tickled in a much more repeatable fashion.
2004-12-23ext2fs.h (BMAP_SET), bmap.c (ext2fs_bmap): Add support for newTheodore Ts'o4-15/+58
flag, BMAP_SET, which allows the caller to set a particular logical->physical block mapping.
2004-12-23Dumpe2fs will print the s_reserved_gdt_blocks field if it is non-zero.Theodore Ts'o2-0/+8
(Change to libe2p's list_super2() function.)
2004-12-23Clean up resize inode routines in ext2fs library. We no longer printTheodore Ts'o4-3/+30
any debugging statements from within library code (always a bad idea), and ext2fs_create_resize_inode() will return a proper error code if the resize inode is corrupt, instead of returning -1.
2004-12-22swapfs.c (ext2fs_swap_super): Byteswap the reserved_gdt_blocksTheodore Ts'o2-0/+6
superblocks field.
2004-12-15sparse.c (ext2fs_list_backups, ext2fs_bg_has_super),Theodore Ts'o5-12/+77
res_gdt.c (list_backups), closefs.c (ext2fs_bg_has_super), ext2fs.h: Move ext2fs_list_backups() to res_gdt.c, and ext2fs_bg_has_super() back to closefs.c. There's no reason for the new file, since list_backups() isn't being used by any other functions, and can be made static, and all users of the ext2fs filesystem will have to call ext2fs_close() anyway.
2004-12-15Supplied changelog for resize inode patch.Theodore Ts'o1-0/+30
2004-12-15Add support for on-line resizing ala the resize inode. This patchTheodore Ts'o8-42/+342
is taken from Fedora Core 3's e2fsprogs 1.35-11.2.src.rpm's e2fsprogs-resize.patch.
2004-12-15Add install-strip and install-shlibs-strip targetsTheodore Ts'o18-70/+149
Use Linux-kernel-style makefile output for "make install" Update intl/Makefile.in to version from gettext 0.14.1
2004-12-14Use MKINSTALLDIRS macro so that the Makefiles can find the scriptTheodore Ts'o15-104/+132
correctly. Update Makefile dependencies. Update "make depend" production so that it filters out comments inserted by newer gcc compilers. Remove sync from e2fsck's "make all" target.
2004-11-30Avoid using uint and uchar types when probing for ocfs2 filesystems Theodore Ts'o3-22/+25
in the blkid library, to allow compilation using dietlibc.
2004-11-30Add support for passing options to the io layer using the URL syntax. For Theodore Ts'o9-24/+202
example, /tmp/test.img?offset=1024. Multiple options can separated using the & character, although at the moment the only option implemented is the offset option in the unix_io layer.
2004-11-30Use Linux-kernel-style makefile output to make it easier to Theodore Ts'o19-106/+198
see errors/warnings.
2004-11-29Add definition for the extents filesystem feature and inode flag.Theodore Ts'o4-1/+17
Change the maximum allowable blocksize to be 65536. This allows e2fsck to check filesystems with a pagesize of 65536, and mke2fs to accept -b 65536. Of course such a filesystem will not currently work on a Linux/x86 system, at least not as of this writing!
2004-11-19Remove support for EVMS 1.x plugin library.Theodore Ts'o11-7491/+0
2004-11-19Remove the a.out DLL support, since it's been obsolete and unmaintainedTheodore Ts'o37-1280/+0
for a long time now.
2004-11-19probe.c (probe_ocfs): Fix bug where the wrong size for "ocfs1"Theodore Ts'o2-1/+7
was being passed to blkid_set_tag(). Thanks to Andrea Dilger for pointing this out.
2004-10-08getsize.c (ext2fs_get_device_size): Add support for WindowsTheodore Ts'o2-0/+24
9x/NT under Cygwin. Thanks to Sam Robb (samrobb@users.sourceforge.net) for pointing this and the suggested code patch.
2004-09-17Add support for ocfs2 detection to the blkid library, Theodore Ts'o3-4/+39
courtesy of manish.singh@oracle.com
2004-09-17gen_uuid.c (get_node_id): glibc always defines AF_LINK, so onlyTheodore Ts'o2-3/+9
try to use struct sockaddr_dl if HAVE_NET_IF_DL_H is defined. (Addresses Debian Bug #256669)
2004-09-17Remove XSI:isms for greater portability. (Addresses Theodore Ts'o6-5/+20
Debian Bug #255589)
2004-09-17Clean up the header file #include's for lib/blkid/getsize.cTheodore Ts'o4-14/+26
and lib/ext2fs/getsize.c In lib/blkid/getsize.c, include <sys/disk.h> if present since this is where the DIOCGMEDIASIZE ioctl is defined on FreeBSD. (Addresses Debian Bug #264630)
2004-09-17On non-linux systems, use lseek64() if it is present in Theodore Ts'o4-0/+18
ext2fs_llseek() and blkid_llseek(). (Addresses Debian bug #269044)
2004-07-28Add ability for debugfs to use a separate source of data blocks whenTheodore Ts'o9-7/+81
reading from an e2image file. (New -d option) Add new functions ext2fs_get_data_io, ext2fs_set_data_io, ext2fs_rewrite_to_io to libext2fs library.
2004-06-25setflags.c, fsetflags.c: On linux systems, undefine HAVE_CHFLAGSTheodore Ts'o3-0/+26
to deal with lame glibc's that define this function without actually implementing it. Can you say "attractive nuisance", boys and girls? I knew you could! (Thanks to Pavel Troller for reporting this braindamage.)
2004-05-27uuid.h (UUID_DEFINE): Make the UUID defined as a staticTheodore Ts'o2-1/+11
variable, with __attribute__ ((unused)) if we are using GCC.
2004-05-26closefs.c (ext2fs_flush): Make sure the master superblock isTheodore Ts'o2-22/+31
written last, and only after other I/O has been flushed to disk. Thanks to Junfeng Yang from the Stanford Metacompilation group for pointing a potential ordering constraint problem if we don't write things out in the right order.
2004-05-26Implement the ability for the test_io mechanism to abort after n readsTheodore Ts'o2-10/+52
or writes to a particular block. The block is specified by TEST_IO_BLOCK environment variable, and the read/write count by the TEST_IO_READ_ABORT and TEST_IO_WRITE_ABORT environment variables. The block data is now only dumped if the 0x10 bit is set in TEST_IO_FLAGS.
2004-05-15read.c (blkid_read_cache): Add missing fclose() which wasTheodore Ts'o2-0/+8
causing a memory and file descriptor leak. Thanks to magnus.fromreide at teligent.se.
2004-05-05Remove .cvsignore files; they were out of date, and causes lintianTheodore Ts'o5-24/+0
to flame about their presence in the source tarball.
2004-05-04Update and clean up uuid man pages, including renaming libuuid.3 toTheodore Ts'o12-85/+77
uuid.3 Eliminate empty lines at end of uuid.h
2004-05-04gen_uuid.c (uuid_generate_time): Mask off the timestamp to avoidTheodore Ts'o2-1/+6
a Y8.8888K problem.
2004-04-19probe.c (blkid_verify_devname): If the time is earlier than theTheodore Ts'o2-4/+13
last modified time of the device, then force a reverify; it means the system time may not be trustworthy.
2004-04-12Clarified that the lib/uuid directory is under a BSD-style and Theodore Ts'o1-0/+25
referred the reader to lib/uuid/COPYING, a new file.
2004-04-12In the blkid library, if the BLKID_FILE environmentTheodore Ts'o2-1/+11
variable is set, use it to find the blkid.tab file if the calling application did not supply a filename.
2004-04-03Refine the build process to avoid re-running subst all the time on Theodore Ts'o4-10/+24
some generated files, by having subst update the modtime on these files even when the generated file hasn't changed. We do this with generated files that do not have any downstream dependencies.
2004-04-03Change licensing of libuuid man pages from GPL to 3-clause BSD-style,Theodore Ts'o10-18/+239
with permission from Andreas Dilger (the original author of the man pages), email dated Mon, 29 Mar 2004 23:11:53 -0700, Message-ID 20040330061153.GD1177@schnapps.adilger.int.
2004-04-03Change the use of the term "internal format" to "binary representation"Theodore Ts'o3-6/+7
in the uuid_parse and uuid_unparse man pages.
2004-04-03Use C99 stdint.h types instead of custom types in the uuid library.Theodore Ts'o12-40/+57
2004-03-30gen_uuid.c (get_node_id): Clean up AF_LINK #ifdef's for Darwin.Theodore Ts'o2-4/+8
2004-03-30unix_io.c, pass1.c:Matthias Andree1-2/+2
int -> unsigned for 1 bit wide bitfields - we cannot have a value and a sign in 1 bit. Fixes some of the Intel C++ 8.0 warnings (-w1 level).
2004-03-30GNU/KFreeBSD portability fixes. (Addresses Debian Bug #239934)Matthias Andree2-13/+15
2004-03-22Add the uuid_unparse_upper and uuid_unparse_lower functions to theTheodore Ts'o4-6/+49
uuid library.
2004-03-21Don't close the file descriptor when determining the size. Theodore Ts'o2-2/+7
This bug was introduced in the previous getsize changes, and was screwing up the blkid library probe functions. (Addresses Debian Bug #239191)
2004-03-20Change the license on the UUID library to be 3-clause BSD-styleTheodore Ts'o16-51/+330