Commit Graph

1575 Commits (a06bd026c7f366c080db0a38ffbf1fe38abb0999)

Author SHA1 Message Date
Theodore Ts'o a06bd026c7 Add support for newer superblock fields in debugfs's set_super_value
command.
2004-12-16 20:15:35 -05:00
Theodore Ts'o e75cfc5da8 Fix e2fsck so that it will clean up filesystesm that have the
resize_inode capability disabled, but which still have the
s_reserved_gdt_blocks field set in the superblock, or which 
still have blocks in the inode #7 (the resize inode).
2004-12-16 20:13:45 -05:00
Theodore Ts'o 1b4cd9c746 sparse.c (ext2fs_list_backups, ext2fs_bg_has_super),
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-15 18:06:52 -05:00
Theodore Ts'o f581372280 m_meta_bg, m_no_opt, m_raid_opt: Adjust tests to take into
account the resize inode patch.
2004-12-15 17:53:23 -05:00
Theodore Ts'o 22c6821a24 Supplied changelog for resize inode patch. 2004-12-15 17:26:32 -05:00
Theodore Ts'o d323f8fb36 Add support for on-line resizing ala the resize inode. This patch
is taken from Fedora Core 3's e2fsprogs 1.35-11.2.src.rpm's 
e2fsprogs-resize.patch.
2004-12-15 14:39:16 -05:00
Theodore Ts'o acb79d9d19 Fix stupid core dumping bug if the TZ environment variable isn't set. 2004-12-15 12:21:41 -05:00
Theodore Ts'o 522798d342 Add install-strip and install-shlibs-strip targets
Use Linux-kernel-style makefile output for "make install"

Update intl/Makefile.in to version from gettext 0.14.1
2004-12-15 11:28:55 -05:00
Theodore Ts'o 6d4022786d Use MKINSTALLDIRS macro so that the Makefiles can find the script
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-12-14 21:46:26 -05:00
Theodore Ts'o 11d1e61f93 Fix minor glitches in the e2image man page. 2004-12-01 12:42:33 -05:00
Theodore Ts'o 605e6f0e24 Make make distclean remove all generated files.
Update the po and intl changelog files to indicate that we updated to 
gettext 0.14.1
2004-11-30 22:06:27 -05:00
Theodore Ts'o 8ff1a86005 If the TZ environment variable is set to GMT, use gmtime()
instead of localtime() or ctime() to force the use of GMT.  
This is because the dietlibc doesn't honor the TZ environment 
variable.
2004-11-30 19:57:20 -05:00
Theodore Ts'o 3838f7df13 Avoid using uint and uchar types when probing for ocfs2 filesystems
in the blkid library, to allow compilation using dietlibc.
2004-11-30 19:05:38 -05:00
Theodore Ts'o b0cacab066 Update to use gettext 0.14.1 and autoconf 2.50+ 2004-11-30 19:00:19 -05:00
Theodore Ts'o 2e8ca9a26b Add support for passing options to the io layer using the URL syntax. For
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-30 14:07:11 -05:00
Theodore Ts'o 47204ff983 Use Linux-kernel-style makefile output to make it easier to
see errors/warnings.
2004-11-30 10:52:27 -05:00
Theodore Ts'o 39dc1c45cb Add definition for the extents filesystem feature and inode flag.
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-29 22:14:23 -05:00
Theodore Ts'o b0d17e0d47 debugfs.c (do_open_filesys): Fix obvious uninitialized variable
buglet.
2004-11-29 17:35:58 -05:00
Theodore Ts'o 921f4ad536 Remove support for EVMS 1.x plugin library. 2004-11-19 17:25:27 -05:00
Theodore Ts'o 2b5901d9c7 Remove the a.out DLL support, since it's been obsolete and unmaintained
for a long time now.
2004-11-19 17:06:47 -05:00
Theodore Ts'o 9c92d848a8 debugfs.c (kill_file_by_inode): Only iterate over the inode to
release blocks if the inode has them; otherwise attempting
	to rm devices and fast symlinks will lead to errors.
	(Addresses Sourceforge Bug #954741 and #957244)
2004-11-19 14:39:14 -05:00
Theodore Ts'o 3a03c2ca5e mke2fs.8.in: Removed the word "destructive" when describing the
read-write test, since it can confuse people.
2004-11-19 14:29:48 -05:00
Theodore Ts'o 4b8f81aace probe.c (probe_ocfs): Fix bug where the wrong size for "ocfs1"
was being passed to blkid_set_tag().  Thanks to Andrea
	Dilger for pointing this out.
2004-11-19 14:28:01 -05:00
Theodore Ts'o fefbd26011 Updated Italian translation 2004-11-09 12:02:53 -05:00
Theodore Ts'o 1a9c8c35ba getsize.c (ext2fs_get_device_size): Add support for Windows
9x/NT under Cygwin.  Thanks to Sam Robb
	(samrobb@users.sourceforge.net) for pointing this and the
	suggested code patch.
2004-10-08 12:45:24 -04:00
Theodore Ts'o 029de63277 mke2fs.8.in: Add an explanation about why reserved blocks in a
filesystem is a good thing.
2004-10-08 10:47:30 -04:00
Richard Mortimer 6e4fbbeb50 Attempt recovery if the journal contains illegal blocks 2004-10-04 17:56:24 +01:00
Theodore Ts'o df95e09a52 Document the default blocksize used by badblocks(8).
(Addresses Debian Bug #273679)
2004-09-28 10:30:27 -04:00
Theodore Ts'o 83e78b703e Update changelog to include all debian bugs closed by fixes. 2004-09-25 07:46:31 -04:00
Theodore Ts'o d99225ecce Only use blocksizes > 4k on Linux 2.6 and newer systems.
(Addresses Debian Bug #271064)
2004-09-25 07:40:12 -04:00
Theodore Ts'o 137ce8ca04 Remove double "//" when listing attributes in the root directory or
when there is a trailing '/' in the directory name.  (Addresses Debian
Bug #272943)
2004-09-24 12:16:17 -04:00
Theodore Ts'o 6ea8d0f7c8 Make sure /usr/lib is creaeted when installing e2initrd_helper.
(Addresses Debian Bug #272698)
2004-09-24 12:15:14 -04:00
Theodore Ts'o 41b6ae6058 Make sure the configure files are newer than configure.in the
debian/rules file so that a dpkg-source created patch won't
trigger an attempt rebuild of the configure script.  (Addresses
Debian Bug #272558)
2004-09-24 10:07:05 -04:00
Theodore Ts'o ca0ee395aa Updated French translation file. 2004-09-20 14:38:46 -04:00
Theodore Ts'o 4830112964 Update Release notes. 2004-09-19 08:23:41 -04:00
Theodore Ts'o 5cbd27084b Updated French translation to reflect a suggested change.
(Addresses Debian Bug #262836)
2004-09-19 08:18:26 -04:00
Theodore Ts'o 3ef681c5db badblocks.c: Use _() around done_string, so that it gets
correctly translated.  (Addresses Debian Bug #252836)
2004-09-19 08:04:44 -04:00
Theodore Ts'o 35b73e9483 Always build the fsck wrapper on Debian systems (Addresses
Debian Bug #248050)
2004-09-19 07:52:05 -04:00
Theodore Ts'o 91d71c4147 tune2fs.8.in: Add a description of the .journal file, why it
is created, and how e2fsck converts it to an invisible
journal.  (Addresses Debian Bug #256760)
2004-09-19 07:34:35 -04:00
Theodore Ts'o 8667f7a211 Filter out linux-gate.so, which is a pseudo entry for the 32->64bit
translation for amd64 systems, in the initrd creation script.
(Addresses Debian bug #253595)
2004-09-19 07:15:30 -04:00
Theodore Ts'o 5d40773ba8 Revamp the initrd scripts to use a new helper program,
e2initrd_helper, which obviates the need for using /bin/awk
and mounting/unmounting the root filesystem during the initrd
process.  (Addresses Debian Bug #247775)
2004-09-18 14:53:14 -04:00
Theodore Ts'o 414846b126 Add support for ocfs2 detection to the blkid library,
courtesy of manish.singh@oracle.com
2004-09-17 21:37:49 -04:00
Theodore Ts'o 9ee42c9509 gen_uuid.c (get_node_id): glibc always defines AF_LINK, so only
try to use struct sockaddr_dl if HAVE_NET_IF_DL_H is
	defined.  (Addresses Debian Bug #256669)
2004-09-17 20:38:27 -04:00
Theodore Ts'o 56eb4d4749 Remove XSI:isms for greater portability. (Addresses
Debian Bug #255589)
2004-09-17 19:54:22 -04:00
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