Theodore Ts'o | 9c7ec17 | 2003-07-26 01:03:34 -0400 | [diff] [blame^] | 1 | 2003-07-25 Theodore Ts'o <tytso@mit.edu> |
| 2 | |
| 3 | * Release of E2fsprogs 1.34 |
| 4 | |
Theodore Ts'o | 3de5bf6 | 2003-07-22 01:06:36 -0400 | [diff] [blame] | 5 | 2003-07-22 Theodore Ts'o <tytso@mit.edu> |
| 6 | |
| 7 | * probe.c (probe_udf): Add specific UDF probing code, and probe |
| 8 | UDF before checking for ISO9660 filesystems. |
| 9 | |
Theodore Ts'o | 78e2edf | 2003-07-21 19:42:19 -0400 | [diff] [blame] | 10 | 2003-07-21 Theodore Ts'o <tytso@mit.edu> |
| 11 | |
| 12 | * probe.c (blkid_known_fstype): New function which returns true if |
| 13 | the filesystem type is one which this blkid library supports. |
| 14 | |
Theodore Ts'o | a30b944 | 2003-07-20 11:22:34 -0400 | [diff] [blame] | 15 | 2003-07-20 Theodore Ts'o <tytso@mit.edu> |
| 16 | |
| 17 | * probe.c: When revalidating a filesystem, delete the LABEL tag if |
| 18 | the filesystem no longer has a label. |
| 19 | |
Theodore Ts'o | 849c610 | 2003-07-18 19:10:28 -0400 | [diff] [blame] | 20 | 2003-07-18 Theodore Ts'o <tytso@mit.edu> |
| 21 | |
| 22 | * tag.c (blkid_find_dev_with_tag): If blkid_probe_all() returns an |
| 23 | error, then reflect that error upwards; don't try again |
| 24 | (forever). This prevents an infinite loop when /proc and |
| 25 | the /etc/blkid.tab file are not present. |
| 26 | |
Theodore Ts'o | 48e6e81 | 2003-07-06 00:36:48 -0400 | [diff] [blame] | 27 | 2003-07-06 Theodore Ts'o <tytso@mit.edu> |
| 28 | |
| 29 | * blkid_types.h.in: Fix gcc -Wall nitpicks (don't use #elsif) |
| 30 | |
| 31 | * cache.c: Fix gcc -Wall nitpicks (missing #include <string.h>) |
| 32 | |
| 33 | * probe.h: Fix gcc -Wall nitpicks (missing casts) |
| 34 | |
Theodore Ts'o | d339f26 | 2003-05-21 17:56:36 -0400 | [diff] [blame] | 35 | 2003-05-21 Theodore Ts'o <tytso@mit.edu> |
| 36 | |
| 37 | * Makefile.in (ELF_OTHER_LIBS): The blkid library depends on the |
| 38 | uuid library. (Addresses Debian bug: #194094) |
| 39 | |
Theodore Ts'o | 71df0dc | 2003-04-21 16:17:09 -0400 | [diff] [blame] | 40 | 2003-04-21 Theodore Ts'o <tytso@mit.edu> |
| 41 | |
| 42 | * Release of E2fsprogs 1.33 |
| 43 | |
Theodore Ts'o | 520ead3 | 2003-04-19 13:48:27 -0400 | [diff] [blame] | 44 | 2003-04-19 Theodore Ts'o <tytso@mit.edu> |
| 45 | |
| 46 | * blkidP.h: Fix gcc -Wall warnings by using __inline__ instead of |
| 47 | inline. |
| 48 | |
Theodore Ts'o | 09a2ef8 | 2003-04-03 00:04:28 -0500 | [diff] [blame] | 49 | 2003-04-02 Theodore Ts'o <tytso@mit.edu> |
| 50 | |
| 51 | * probe.c, probe.h: Fix XFS superblock definition. Add support to |
| 52 | extract UUID and labels for JFS and romfs. (Thanks to |
| 53 | Janos Farkas <chexum@acomp.hu>.) |
| 54 | |
Theodore Ts'o | 0faabe5 | 2003-03-30 23:08:32 -0500 | [diff] [blame] | 55 | 2003-03-30 Theodore Ts'o <tytso@mit.edu> |
| 56 | |
| 57 | * getsize.c: #include stat.h for the Apple Darwin port |
| 58 | |
Theodore Ts'o | aa75ecc | 2003-03-17 10:01:22 -0500 | [diff] [blame] | 59 | 2003-03-17 Theodore Ts'o <tytso@mit.edu> |
| 60 | |
Theodore Ts'o | 88fe61c | 2003-03-17 18:13:57 -0500 | [diff] [blame] | 61 | * cache.c: Initialize blkid_debug_mask to zero since some |
| 62 | operating systems can't deal with variables in the common |
| 63 | section in shared libraries. |
| 64 | |
Theodore Ts'o | aa75ecc | 2003-03-17 10:01:22 -0500 | [diff] [blame] | 65 | * getsize.c (blkid_get_dev_size): Fix Apple Darwin port. |
| 66 | |
Theodore Ts'o | cd0d521 | 2003-03-06 12:58:03 -0500 | [diff] [blame] | 67 | 2003-03-06 <tytso@mit.edu> |
| 68 | |
| 69 | * devname.c (probe_one): Fix bug; if a partition has no known |
| 70 | type, don't derference a null pointer and crash. |
| 71 | |
Theodore Ts'o | ed78c02 | 2003-03-06 11:09:18 -0500 | [diff] [blame] | 72 | 2003-03-06 Theodore Tso <tytso@mit.edu> |
| 73 | |
| 74 | * blkid_types.h.in: Don't redefine types if other e2fsprogs |
| 75 | *_types.h files have been included already. |
| 76 | |
| 77 | * list.h, probe.h: Use static inline instead of extern inline to |
| 78 | comply with C99 inline support. |
| 79 | |
| 80 | * devname.c (blkid_probe_all): Avoid GCC extension; don't |
| 81 | initialize an array with the address of an automatic |
| 82 | variable. |
| 83 | |
| 84 | * Makefile.in: Eliminate -Wall as a C compiler option by default; |
| 85 | it's not portable. |
| 86 | |
Theodore Ts'o | 94ba8c7 | 2003-03-02 02:07:14 -0500 | [diff] [blame] | 87 | 2003-03-02 Theodore Ts'o <tytso@mit.edu> |
| 88 | |
| 89 | * Makefile.in: Don't install list.h, since it's not used by the |
| 90 | public blkid.h file. |
| 91 | |
| 92 | * blkid_types.h.in: Change #ifndef protection to use _BLKID_TYPES_H |
| 93 | |
Theodore Ts'o | ed1b33e | 2003-03-01 19:29:01 -0500 | [diff] [blame] | 94 | 2003-03-01 Theodore Ts'o <tytso@mit.edu> |
| 95 | |
Theodore Ts'o | 7e89304 | 2003-03-01 22:57:31 -0500 | [diff] [blame] | 96 | * tag.c (blkid_set_tag): Fix bug; don't return an error when |
| 97 | deleting a tag by setting the value to NULL. This |
| 98 | caused a failed device verification to loop forever in |
| 99 | blkid_verify_devname(). |
| 100 | |
Theodore Ts'o | 2859522 | 2003-03-01 20:01:27 -0500 | [diff] [blame] | 101 | * resolve.c (main): Update debugging test program so that it |
| 102 | compiles with the latest blkid API changes. |
| 103 | |
| 104 | * libblkid.3.in: Update manual page to reflect recent API changes. |
| 105 | |
Theodore Ts'o | ed1b33e | 2003-03-01 19:29:01 -0500 | [diff] [blame] | 106 | * resolve.c (blkid_get_tag_value): If the passed-in cache is NULL, |
| 107 | then get and release a temporary cache as a convenience to |
| 108 | the calling application. |
| 109 | (blkid_get_devname): If the passed in token does not |
| 110 | contain an '=', and value is NULL, then return the passed |
| 111 | in token. |
| 112 | |
| 113 | * read.c (blkid_read_cache): Don't return 0 since blkid_read_cache |
| 114 | now returns void. |
| 115 | |
| 116 | * blkid.h: Add include of sys/types.h, since we use dev_t |
| 117 | |
Theodore Ts'o | 1549a44 | 2003-02-27 19:33:36 -0500 | [diff] [blame] | 118 | 2003-02-27 Theodore Ts'o <tytso@mit.edu> |
| 119 | |
| 120 | * resolve.c (blkid_get_tag_value): Rename function (used to be |
| 121 | blkid_get_tagname_devname) |
| 122 | |
Theodore Ts'o | f0a22d0 | 2003-02-22 13:19:53 -0500 | [diff] [blame] | 123 | 2003-02-22 Theodore Ts'o <tytso@mit.edu> |
| 124 | |
Theodore Ts'o | 79dd234 | 2003-02-22 17:15:20 -0500 | [diff] [blame] | 125 | * devname.c (blkid_probe_all), tag.c (blkid_find_dev_with_tag): |
| 126 | Call blkid_read_cache to make sure the in-core version of |
| 127 | the data structure is the latest. After probing all of |
| 128 | the devices in blkid_probe_all() force the cache file to |
| 129 | be written out, the probe_all represents a lot of effort |
| 130 | that shouldn't be lost. |
| 131 | |
| 132 | * tag.c (blkid_set_tag): Always replace an existing tag with the |
| 133 | new value; we no longer suppor multiple tags with the same |
| 134 | value attached to a device, as this was never really |
| 135 | supported well, and significantly increased the code |
| 136 | complexity. |
| 137 | |
| 138 | * probe.c (probe_ext2): Change handling of ext2/ext3 filesystems. |
| 139 | Ext3 filesystems are now always treated as ext2 |
| 140 | filesystems, with a special SEC_TYPE tag set to ext3. |
| 141 | This was necessary because we now longer support multiple |
| 142 | tags with the same name attached to a device. |
| 143 | |
| 144 | * save.c (save_dev): Don't special case the TYPE tag; just write |
| 145 | it out along with all of the normal tags. |
| 146 | (blkid_flush_cache): Eliminate special case code for stdout. |
| 147 | |
| 148 | * cache.c (blkid_new_cache, blkid_get_cache): Eliminate |
| 149 | blkid_new_cache and fold into blkid_get_cache (moved to |
| 150 | cache.c) |
| 151 | |
| 152 | * read.c (blkid_read_cache): New function created from |
| 153 | blkid_get_cache which used to be in read.c that only |
| 154 | updates the in-core cache data structure from the file. |
| 155 | Uses the file modification time of the cache file to |
| 156 | determine whether the cache file needs to be re-read. |
| 157 | |
Theodore Ts'o | f0a22d0 | 2003-02-22 13:19:53 -0500 | [diff] [blame] | 158 | * cache.c, dev.c, devname.c, devno.c, probe.c, read.c, resolve.c, |
| 159 | save.c, tag.c, blkidP.h: Add dynamic debugging |
| 160 | capabilities, controlled by the environment variable |
| 161 | BLKID_DEBUG. |
| 162 | |
Theodore Ts'o | 98999c3 | 2003-02-16 00:47:07 -0500 | [diff] [blame] | 163 | 2003-02-16 Theodore Ts'o <tytso@mit.edu> |
| 164 | |
| 165 | * blkid.h, dev.c, devname.c, probe.c, read.c, resolve.c: Rename |
| 166 | blkid_get_devname() to blkid_get_dev(). Also rename |
| 167 | blkid_get_token() to blkid_get_devname(). This more |
| 168 | accurately describes what these functions do. |
| 169 | |
Theodore Ts'o | ce72b86 | 2003-02-14 01:31:45 -0500 | [diff] [blame] | 170 | 2003-02-14 Theodore Ts'o <tytso@mit.edu> |
| 171 | |
Theodore Ts'o | bc40efd | 2003-02-14 01:40:23 -0500 | [diff] [blame] | 172 | * blkidP.h, devname.c (blkid_get_devname), read.c (parse_tag), |
| 173 | save.c (save_dev): Remove bid_id, as it is not used for |
| 174 | anything. |
| 175 | |
Theodore Ts'o | ce72b86 | 2003-02-14 01:31:45 -0500 | [diff] [blame] | 176 | * Makefile.in (blkid): When building the blkid, don't link against |
| 177 | the shared blkid library; link only against the static |
| 178 | blkid library. |
| 179 | |
| 180 | * blkidP.h (struct blkid_struct_dev): Remove bid_size and |
| 181 | bid_devsize (since they aren't used any more) and add |
| 182 | bid_pri to the device structure. |
| 183 | |
| 184 | * devname.c (probe_one, lvm_probe_all, evms_probe_all, |
| 185 | blkid_probe_all): Set the bid_pri filed in the device |
| 186 | structure depending on type of device so that EVMS, LVM, |
| 187 | and MD devices get priority over normal devices. |
| 188 | |
| 189 | * tag.c (blkid_find_dev_with_tag): When looking for a device that |
| 190 | matches the search criteria, return the one with the |
| 191 | largest priority (bid_pri). |
| 192 | |
| 193 | * save.c (save_dev): Write out the PRI tag from bid_pri. |
| 194 | |
| 195 | * read.c (parse_tag): Parse the PRI tag and store its value in |
| 196 | bid_pri. |
| 197 | |
| 198 | * probe.c (blkid_verify_devname): If the device does not exist |
| 199 | (open returns ENOENT), treat this as a fatal error and |
| 200 | release the device. After verifying the device, set the |
| 201 | cache as being modified so the changes are written out. |
| 202 | |
| 203 | * resolve.c (main): Change the test driver to get a blkid cache |
| 204 | and pass it to blkid_get_tagname_devname and |
| 205 | blkid_get_token, as the cache is no longer optional. |
| 206 | |
Theodore Ts'o | 50b380b | 2003-02-12 23:51:21 -0500 | [diff] [blame] | 207 | 2003-02-12 Theodore Ts'o <tytso@mit.edu> |
| 208 | |
| 209 | * blkid.h, blkidP.h, cache.c, dev.c, devname.c, devno.c, probe.c, |
| 210 | probe.h, read.c, resolve.c, save.c, tag.c: Wholesale |
| 211 | changes to library to simplify the implementation and |
| 212 | shrink its size. Change library version to be 1.0. |
| 213 | |
Theodore Ts'o | 76b07bb | 2003-01-27 01:09:24 -0500 | [diff] [blame] | 214 | 2003-01-27 Theodore Ts'o <tytso@mit.edu> |
| 215 | |
| 216 | * read.c (parse_tag): Do not return that blkid_tag when parsing |
| 217 | the blkid.tag file. |
| 218 | |
| 219 | * resolve.c (blkid_get_token, blkid_get_tagname_devname): Fold in |
| 220 | code from removed functions |
| 221 | |
| 222 | * tag.c (blkid_create_tag): Don't return the newly tag strcture |
| 223 | any more, as it's not needed. |
| 224 | (blkid_find_tag_cache, blkid_get_tag_cache, |
| 225 | blkid_token_to_tag, blkid_find_tv_tags): Remove these |
| 226 | functions, as they are either only used once or have |
| 227 | interfaces that should be deprecated. |
| 228 | (blkid_find_tag_dev, blkid_find_head_cache): Replace use |
| 229 | of blkid_tag with one or two const char * type/value |
| 230 | arguments. |
| 231 | (blkid_find_dev_with_tag): Fold in code from removed functions |
| 232 | |
| 233 | * probe.h, probe.c: Use a more sophisticated set of byte-swapping |
| 234 | routines which are more compact and efficient. Drop |
| 235 | calculation of bid_free, since it's unnecessary. Avoid |
| 236 | |
| 237 | * save.c (blkid_save_cache): Set the permissions on the blkid |
| 238 | cache file to 644. |
| 239 | |
Theodore Ts'o | d3f9179 | 2003-01-25 00:26:48 -0500 | [diff] [blame] | 240 | 2003-01-25 Theodore Ts'o <tytso@mit.edu> |
| 241 | |
Theodore Ts'o | 7a603aa | 2003-01-26 01:54:39 -0500 | [diff] [blame] | 242 | * cache.c, dev.c, devname.c, devno.c, getsize.c, llseek.c, |
| 243 | probe.c, probe.h, read.c, resolve.c, save.c, tag.c, |
| 244 | blkid.h, blkidP.h: Separate public and private |
| 245 | interfaces into separate header files. Start |
| 246 | separating internal implementation details from the |
| 247 | publically exported interface. |
| 248 | |
Theodore Ts'o | 0f3ac480 | 2003-01-25 18:44:33 -0500 | [diff] [blame] | 249 | * devname.c: Add support for EVMS |
| 250 | |
Theodore Ts'o | d3f9179 | 2003-01-25 00:26:48 -0500 | [diff] [blame] | 251 | * blkid.h, cache.c, dev.c, devname.c, devno.c, probe.c, probe.h, |
| 252 | read.c, resolve.c, save.c, tag.c: Fix gcc -Wall nits. |
| 253 | |
Theodore Ts'o | 3a1d6f3 | 2003-01-24 23:11:29 -0500 | [diff] [blame] | 254 | 2003-01-24 Theodore Ts'o <tytso@mit.edu> |
| 255 | |
| 256 | * save.c (blkid_save_cache): Use mkstemp() instead mktemp(). |
| 257 | |
Theodore Ts'o | e12f2ae | 2003-01-23 16:45:16 -0500 | [diff] [blame] | 258 | 2002-10-04 Jordan Breeding <jordan.breeding@attbi.com> |
| 259 | |
| 260 | * Forward port to e2fsprogs 1.30 |
| 261 | |
| 262 | 2001-09-20 Andreas Dilger <adilger@turbolinux.com> |
| 263 | |
| 264 | * Initial release of libblkid. |