Theodore Ts'o | a418d3a | 1997-04-26 14:00:26 +0000 | [diff] [blame] | 1 | Thu Oct 26 12:05:18 1995 <tytso@rsts-11.mit.edu> |
| 2 | |
| 3 | * Makefile.in (install): Strip programs when they are installed. |
| 4 | |
| 5 | Fri Aug 18 15:10:40 1995 Theodore Y. Ts'o <tytso@dcl> |
| 6 | |
| 7 | * mke2fs.c (PRS): Move call of check_mount() from main() to PRS(), |
| 8 | so we do the check to see if the filesystem is mounted |
| 9 | *before* we try to determine the size of the device. |
| 10 | |
| 11 | Wed Sep 6 23:34:07 1995 Remy Card <card@bbj> |
| 12 | |
| 13 | * fsck.c (load_fs_info): Load the informations from /etc/fstab in |
| 14 | the same order. |
| 15 | |
| 16 | Thu Aug 17 22:33:09 1995 <tytso@rsts-11.mit.edu> |
| 17 | |
| 18 | * mke2fs.c (check_mount): Use the new ext2fs_check_if_mounted() |
| 19 | function to determine if the device is mounted. |
| 20 | |
| 21 | * mke2fs.c (PRS): Change call to use the new |
| 22 | ext2fs_get_device_size() function in order to determine |
| 23 | the size of the filesystem. Remove get_size() and |
| 24 | is_valid_offset(), which are no longer called. |
| 25 | |
| 26 | Fri Aug 11 08:26:24 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> |
| 27 | |
| 28 | * fsck.c (fsck_device): Make sure fstype has been set by the user |
| 29 | and that it does not begin with "no" and the user has |
| 30 | specified exactly one type before using it as the type to |
| 31 | check. |
| 32 | |
| 33 | Fri Aug 11 14:17:18 1995 Remy Card <card@bbj> |
| 34 | |
| 35 | * badblocks.8: |
| 36 | * chattr.1: |
| 37 | * dumpe2fs.8: |
| 38 | * fsck.8: |
| 39 | * lsattr.1: |
| 40 | * mke2fs.8: |
| 41 | * mklost+found.8: |
| 42 | * tune2fs.8: Updated date and version number. |
| 43 | |
| 44 | Thu Aug 10 14:18:36 1995 Remy Card <card@bbj> |
| 45 | |
| 46 | * tune2fs.c: Fixed a bug which prevented the use of user and group |
| 47 | names with the -g and -u options. Thanks to Jean Christophe |
| 48 | ANDRE <progfou@mycrob.cafard.freenix.fr>. |
| 49 | |
| 50 | * mke2fs.8: |
| 51 | * tune2fs.8: Fixed a spelling error in Ted's name :-) |
| 52 | |
| 53 | Wed Aug 9 20:41:54 1995 Theodore Y. Ts'o <tytso@dcl> |
| 54 | |
| 55 | * mke2fs.c (count_blocks): Divide the size by |
| 56 | EXT2_BLOCK_SIZE(¶m), instead of assuming that the |
| 57 | blocksize is always 1024 bytes. |
| 58 | |
| 59 | Sat Aug 5 12:00:51 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> |
| 60 | |
| 61 | * mke2fs.c (PRS): Use malloc() instead of alloca() --- alloca() is |
| 62 | not portable!! In any case putenv() in some systems must |
| 63 | take a static character array or malloc()'ed memory; |
| 64 | passing memory allocated using alloca() to putenv() is not |
| 65 | advisable. |
| 66 | |
| 67 | * chattr.c (chattr_dir_proc): |
| 68 | * lsattr.c (lsattr_dir_proc): Use malloc() instead of alloca() --- |
| 69 | alloca is not portable! |
| 70 | |
| 71 | * fsck.c (fsck_device): If the filesystem type is specified by the |
| 72 | user using the -t option, let it override the type in |
| 73 | /etc/fstab. |
| 74 | |
| 75 | * fsck.c (strdup): Don't build strdup() if the system defines it. |
| 76 | |
| 77 | Mon Jun 12 19:15:10 1995 Theodore Y. Ts'o (tytso@dcl) |
| 78 | |
| 79 | * chattr.c, lsattr.c: Include <sys/types.h> for <dirent.h>'s |
| 80 | benefit. |
| 81 | |
| 82 | * The $(UPROGS) go in bin, not sbin. |
| 83 | |
| 84 | * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c, |
| 85 | tune2fs.c: Don't include <getopt.h> if it doesn't exist. |
| 86 | |
| 87 | Mon Jun 12 16:36:04 1995 Theodore Y. Ts'o <tytso@dcl> |
| 88 | |
| 89 | * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c, |
| 90 | tune2fs.c: Only include getopt.h if HAVE_GETOPT_H is defined. |
| 91 | |
| 92 | Sat Jun 10 23:37:09 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> |
| 93 | |
| 94 | * chattr.c: Include errno.h, since we use errno |
| 95 | |
| 96 | * fsck.c (load_fs_info): If HAVE_MNTENT_H is not defined, |
| 97 | explicitly initialize filesys_info to be NULL. |
| 98 | |
| 99 | * mke2fs.c: Include the stdio.h and errno.h header files |
| 100 | |
| 101 | Thu Jun 8 13:25:23 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> |
| 102 | |
| 103 | * mke2fs.c: Only include <linux/fs.h> if we can. |
| 104 | (get_size): Don't try to use the BLKGETSIZE ioctl unless it's defined. |
| 105 | (check_mount): Only check to see if the device is mounted if |
| 106 | HAVE_MNTENT_H is defined (by configure). |
| 107 | |
| 108 | * fsck.c (load_fs_info): Only try to get info about filesystems if |
| 109 | HAVE_MNTENT_H is defined (by configure). |
| 110 | (main): Allocate space for a new fsck_path instead of append to a |
| 111 | statically sized buffer. |
| 112 | (PRS): Use alloca to allocate the new path string, instead of |
| 113 | having a fixed size buffer (which was the wrong size anyway). |
| 114 | |
| 115 | * chattr.c (chattr_dir_proc): Use alloca to allocate space for a |
| 116 | filename instead of using a fixed-size buffer. |
| 117 | * lsattr.c (lsattr_dir_proc): Ditto. |
| 118 | * mklost+fond.c (main): Calculate the actual needed size for the |
| 119 | path buffer instead of using MAXPATHLEN (which not all systems have). |
| 120 | |
| 121 | * badblocks.c: Only include linux include files if we have them. |
| 122 | (flush_bufs): New function to flush a block device, optionally |
| 123 | syncing it first. This replaces other copies of this code. |
| 124 | (test_ro): Replace calls to ioctl with flush_bufs(). |
| 125 | (test_rw): Ditto. |
| 126 | |
| 127 | * Makefile.in: Rewritten to conform to GNU coding standards and |
| 128 | support separate compilation directories. |
| 129 | |
Theodore Ts'o | f3db356 | 1997-04-26 13:34:30 +0000 | [diff] [blame] | 130 | Sat Mar 11 10:59:58 1995 Theodore Y. Ts'o <tytso@localhost> |
| 131 | |
| 132 | * mke2fs.c (main, zap_bootblock): Added new function |
| 133 | zap_bootblock() which clears the first 512 bytes of the |
| 134 | filesystem. This protects the filesystem from being |
| 135 | misidentified as a MS-DOS FAT filesystem. |
| 136 | |
| 137 | * badblocks.c (alarm_intr, test_ro, test_rw): Increase the space |
| 138 | allocated for printing the block numbers, so that the |
| 139 | display doesn't get corrupted when running badblocks on a |
| 140 | very large partition. |
| 141 | |
| 142 | * badblocks.c (do_test, test_ro, test_rw): Added missing cast to |
| 143 | ext2_loff_t, so that when checking a large device, |
| 144 | spurious seek errors aren't reported. |
| 145 | |
| 146 | * mke2fs.c (count_blocks): Declare mid to be of type ext2_loff_t |
| 147 | instead of type int, so that it works for filesystems |
| 148 | greater than 2 GB. (Fortunately count_blocks is only |
| 149 | called if the device does not support the BLKGETSIZE |
| 150 | ioctl, which most do.) |
| 151 | |
| 152 | * fsck.c (ignore): Add check to ignore filesystems with a pass |
| 153 | number of zero. (This check was accidentally deleted at |
| 154 | during 0.5b development.) |
| 155 | |
| 156 | Sat Dec 31 00:47:16 1994 <tytso@rsx-11.mit.edu> |
| 157 | |
| 158 | * mke2fs.c (new_table_block, alloc_tables, PRS, main): Add a new |
| 159 | option, -S, which only writes the superblock and group |
| 160 | descriptors. Useful for recovering when all of the |
| 161 | superblocks are corrupted somehow (as a last ditch |
| 162 | measure). |
| 163 | |
| 164 | Also, don't bother initializing the bitmap blocks in |
| 165 | alloc_tables(), since they will be overwritten at the end |
| 166 | anyway. (Should speed up mke2fs by a little.) |
| 167 | |
| 168 | Tue Dec 6 02:20:55 1994 <tytso@rsx-11.mit.edu> |
| 169 | |
| 170 | * fsck.c (main): Fix stupid typo where a null inst would be freed. |
| 171 | |
| 172 | * fsck.c (wait_one): Check WIFEXITED on status before trying to |
| 173 | extract the exit status. In other cases, return |
| 174 | FSCK_ERROR if the back end processor exited with a signal. |
| 175 | |
| 176 | Tue Nov 15 10:20:00 1994 Remy Card <card@bbj> |
| 177 | |
| 178 | * tune2fs.c (main): Fixed a bug which prevented the use of the |
| 179 | new options. |
| 180 | Added the `w' (week) suffix recognition in the check interval. |
| 181 | |
| 182 | Sun Nov 13 15:58:48 1994 (tytso@rsx-11) |
| 183 | |
| 184 | * fsck.c (load_fs_info): If the user has an obviously old |
| 185 | /etc/fstab file, issue a warning message and assume that |
| 186 | all partitions should be checked. |
| 187 | |
| 188 | Sat Nov 12 00:33:18 1994 (tytso@rsx-11) |
| 189 | |
| 190 | * dumpe2fs.c (list_desc): Update to new inode and block bitmap |
| 191 | structures. |
| 192 | |
| 193 | * mke2fs.c (create_root_dir): Create the root directory owned by |
| 194 | the effective uid. |
| 195 | |
| 196 | Mon Nov 7 22:04:37 1994 Remy Card <card@bbj> |
| 197 | |
| 198 | * tune2fs.c (main.c): Added support for new options: |
| 199 | -r reserved_blocks_count, -g reserved_gid, -u reserved_uid. |
| 200 | |
| 201 | Sun Aug 21 00:57:33 1994 Theodore Y. Ts'o (tytso@rt-11) |
| 202 | |
| 203 | * fsck.c (ignore): If the pass number is 0, ignore the filesystem. |
| 204 | |
| 205 | Wed Aug 17 21:55:03 1994 Remy Card (card@bbj) |
| 206 | |
| 207 | * badblocks.c (test_rw): Added verbose output like in the |
| 208 | read-only test. |
| 209 | |
| 210 | (do_test and test_rw): Use the llseek system call if available. |
| 211 | |
| 212 | * chattr.c: Added support for new attributes. |
| 213 | |
| 214 | * lsattr.c: Added support for long format. |
| 215 | |
| 216 | * mke2fs.c (usage): Fixed bogus usage message. |
| 217 | |
| 218 | (valid_offset): Use the llseek system call if available. |
| 219 | |
| 220 | Wed Aug 17 10:50:57 1994 Theodore Y. Ts'o (tytso@rt-11) |
| 221 | |
| 222 | * mke2fs.c (handle_bad_blocks): Check to see if a bad block is |
| 223 | where a backup superblock/group descriptor is stored. If so, |
| 224 | print a warning message and adjust the superblock counts so that |
| 225 | they are correct. (Otherwise, the bad block will get counted |
| 226 | twice and the # of free blocks count will be wrong.) |
| 227 | |
| 228 | (alloc_tables): Removed code which calcualated the free block |
| 229 | statistics, which was moved to lib/ext2fs/initialize.c. This |
| 230 | allows the bad block code to adjust the group descriptor |
| 231 | statistics if necessary. |