Commit Graph

1531 Commits (9845cf5dbd4d06ebc1fe0db99078d7a0be641e0a)

Author SHA1 Message Date
Theodore Ts'o 9845cf5dbd Clean up the header file #include's for lib/blkid/getsize.c
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-17 19:07:03 -04:00
Theodore Ts'o 03cb57e2fb Update config.guess and config.sub from the FSF. 2004-09-17 18:15:58 -04:00
Theodore Ts'o 488f3c2dad On non-linux systems, use lseek64() if it is present in
ext2fs_llseek() and blkid_llseek().  (Addresses Debian bug #269044)
2004-09-17 17:47:12 -04:00
Theodore Ts'o 45e18ad77a tune2fs.8.in: Mention that e2fsck -D might be useful after
setting the dir_index filesystem feature.  (Addresses
	Debian Bug #268148)
2004-09-17 17:31:16 -04:00
Theodore Ts'o 06191693d4 resize2fs.c (check_and_change_inodes): Fix debugging printf to
mask off the high 256 bits of dirent->name_len (which is
	where the file type information is stored).  (Addresses
	Debian Bug #271605)
2004-09-17 17:10:17 -04:00
Theodore Ts'o 1ad54a940c Add ability for debugfs to use a separate source of data blocks when
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-07-28 21:11:48 -04:00
Theodore Ts'o 8c6b648388 e2image.c, e2image.8.in: Add new option -I which allows the
administrator to install an metadata stored in an e2image
	file to a filesystem.  Obviously, this can be very
	dangerous!
2004-07-28 21:07:53 -04:00
Theodore Ts'o 8421fb67f2 pass1.c (process_block): Change the limit of directory size from
32 MB to 2GB.
2004-07-26 20:11:49 -04:00
Theodore Ts'o 94f6ab3fd1 Makefile.in (mke2fs.static): Add the blkid library to so
mke2fs.static builds correctly.
2004-06-25 00:55:12 -04:00
Theodore Ts'o 919994abc0 setflags.c, fsetflags.c: On linux systems, undefine HAVE_CHFLAGS
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-06-25 00:52:08 -04:00
Theodore Ts'o 37a1ee9b99 uuid.h (UUID_DEFINE): Make the UUID defined as a static
variable, with __attribute__ ((unused)) if we are using GCC.
2004-05-27 20:24:52 -04:00
Theodore Ts'o a63d126783 closefs.c (ext2fs_flush): Make sure the master superblock is
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-26 21:29:14 -04:00
Theodore Ts'o a002e7e200 Implement the ability for the test_io mechanism to abort after n reads
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-26 21:04:07 -04:00
Theodore Ts'o 93effaa456 Fixed potential ordering constraint problem in e2fsck's journal
recovery code by implementing the sync_blockdev function.  Thanks to
Junfeng Yang from the Stanford Metacompilation group for pointing this
out.
2004-05-26 20:58:45 -04:00
Theodore Ts'o 1b510f57f4 read.c (blkid_read_cache): Add missing fclose() which was
causing a memory and file descriptor leak.  Thanks to
	magnus.fromreide at teligent.se.
2004-05-15 17:27:43 -04:00
Theodore Ts'o aa5c0a4562 Remove .cvsignore files; they were out of date, and causes lintian
to flame about their presence in the source tarball.
2004-05-05 09:02:36 -04:00
Theodore Ts'o 723fa2c24d Cset exclude: tytso@think.thunk.org|ChangeSet|20040504235846|06000
Revert change to add dependency on awk; it isn't needed since awk is
a virtual package which is "de facto essential" by virtual of the fact
that essential packages such as base-files depends on it.
2004-05-05 08:58:41 -04:00
Theodore Ts'o 31c4736088 Update debian/changelog for 1.35-6 release. 2004-05-05 01:00:41 -04:00
Theodore Ts'o a9998585d5 Use rpmbuild if it is installed instead of rpm 2004-05-04 22:19:07 -04:00
Theodore Ts'o 36569f87db e2fsprogs.spec.in: Fix up e2fsprogs.spec file so it should work
on a RH 9.0 system.  Based off of changes proposed by
	Andreas Dilger.
2004-05-04 22:17:27 -04:00
Theodore Ts'o 6d4934974f Update and clean up uuid man pages, including renaming libuuid.3 to
uuid.3

Eliminate empty lines at end of uuid.h
2004-05-04 22:05:05 -04:00
Theodore Ts'o d1492994a5 gen_uuid.c (uuid_generate_time): Mask off the timestamp to avoid
a Y8.8888K problem.
2004-05-04 20:51:02 -04:00
Theodore Ts'o 66fbee8cbb unix.c (check_if_skip): If the checkinterval is zero, then
disregard it when calculating when the next check will
	take place by e2fsck.
2004-05-04 20:38:17 -04:00
Theodore Ts'o de69291f14 Add dependency on awk in the debian e2fsprogs package. Addresses
Debian bug #245670)
2004-05-04 19:58:46 -04:00
Theodore Ts'o e363240dc2 configure.in, configure: Enable the fsck wrapper for the Debian
FreeBSD kernel / GNU userspace port.  (Addresses Debian
	Bug #246738)
2004-05-04 19:39:54 -04:00
Theodore Ts'o 2eb9e7033b Fix typo in de.po file from previous fix 2004-05-04 19:07:18 -04:00
Theodore Ts'o d2d386d22a config.guess, config.sub: Update to newer version from the FSF
(2004-01-05)
2004-05-04 18:42:53 -04:00
Theodore Ts'o afaf1816de Since woody's sysvinit package is before the initscripts were
broken out we need an explict Conflict: sysvinit (<< 2.85-4)
header. (Closes: #243829)
2004-05-04 16:29:49 -04:00
Theodore Ts'o f9e6df4e6f Minor updates to German translation (Addresses Debian Bug #244105) 2004-05-04 16:19:13 -04:00
Theodore Ts'o 1008a42552 Fix numberous problems in Debian's initrd scripts:
* In the mkinitrd script, make sure the directories exist before
  trying to copy in the needed shared libraries.  (Closes: #244058, #246480)

* In the mkinitrd script, use LD_ASSUME_KERNEL=2.4 if necessary.  
  (Closes: #245931)

* In the mkinitrd script copy in /usr/bin/awk instead of /usr/bin/mawk.  
  (Closes: #245670)

* In the initrd script, fail quietly if /mnt/etc/fstab does not exist.
  (Closes: #246917)
2004-05-04 09:15:34 -04:00
Theodore Ts'o 764c66bf3c Fix typo in the Debian copyright file, to consistently and correctly
indicate that the blkid library is distributed under the LGPL.
2004-04-26 18:25:39 -04:00
Theodore Ts'o 7ce0806406 probe.c (blkid_verify_devname): If the time is earlier than the
last modified time of the device, then force a reverify;
	it means the system time may not be trustworthy.
2004-04-19 21:42:18 -04:00
Theodore Ts'o e02bb6d6ab Fix obvious spelling mistake in mke2fs man page. 2004-04-12 20:36:35 -04:00
Matthias Andree f932ed925c Add missing #include <time.h>, fixing a compiler warning. 2004-04-12 20:16:04 +02:00
Theodore Ts'o ebfd60f185 Clarified that the lib/uuid directory is under a BSD-style and
referred the reader to lib/uuid/COPYING, a new file.
2004-04-12 13:19:21 -04:00
Theodore Ts'o 197588f3b2 debian/changelog
Update changelog for 1.35-5 release

debian/control
    Update standards version compliance to 3.6.1
2004-04-12 13:10:47 -04:00
Theodore Ts'o d06863f0e5 Remove TUNE2FS_SKIP_MOUNT_CHECK environment variable support; it is
not needed in the initrd script, and wasn't completely supported 
anyway.
2004-04-12 12:37:55 -04:00
Theodore Ts'o 22c616d09c In the initrd script, use /dev/null instead of /dev2/null, and support
converting the root filesystem from ext3 to ext2 and back.
2004-04-12 12:10:50 -04:00
Theodore Ts'o 7a3a386b9e In the blkid library, if the BLKID_FILE environment
variable is set, use it to find the blkid.tab file if the
calling application did not supply a filename.
2004-04-12 07:26:23 -04:00
Theodore Ts'o c07f9f2639 In e2fsck, when trying to determine if the system is running on
battery, be more flexible about the name of the ACPI device that
corresponds to the AC adapter.  (Addresses Debian bug #242136)
2004-04-12 00:16:44 -04:00
Theodore Ts'o 698e922af5 Added new French translation (po file) 2004-04-11 17:17:35 -04:00
Theodore Ts'o 0f72ab6461 util.c (open_pager): Use DEBUGFS_PAGER in preference to PAGER
(Addresses Debian Bug #239547)
2004-04-11 17:06:58 -04:00
Theodore Ts'o ccdd1d6d99 tune2fs.8.in: Fixed spelling error (Addresses Debian Bug #242995) 2004-04-11 17:02:44 -04:00
Theodore Ts'o 481d1396c2 mke2fs.8.in: Clarify man page's description of the '-O' option.
(Addresses Debian Bug #241940)
2004-04-11 16:47:25 -04:00
Theodore Ts'o e2de6b9e69 Fix the Debian initrd scripts so that they actually work correctly.
(Addresses Debian Bug #241183)
2004-04-11 16:25:56 -04:00
Theodore Ts'o 2eb3b20e80 tune2fs.c (main): If the environment variable
TUNE2FS_SKIP_MOUNT_CHECK is set, do not try 
	to check if the filesystem is mounted.
(update_feature_set): If the compatibility bitmasks were
	not modified, don't set the superblock dirty bit.
2004-04-07 09:27:36 -04:00
Theodore Ts'o 031617e809 ADD TAG: APPLE_UUID_SNAP_1 2004-04-03 13:55:37 -05:00
Theodore Ts'o cd668fdd11 ext2ed.h: Use the ext2_fs.h header file from libext2fs, instead
from the kernel header files.
2004-04-03 13:55:37 -05:00
Theodore Ts'o dd60705665 Refine the build process to avoid re-running subst all the time on
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-03 13:53:46 -05:00
Theodore Ts'o 9dd97ae37d Change licensing of libuuid man pages from GPL to 3-clause BSD-style,
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-03 11:24:10 -05:00