blob: 88963e30901b5e7eefd88799ebbe1c1fda5c28f2 [file] [log] [blame]
Theodore Ts'o94ba8c72003-03-02 02:07:14 -050012003-03-02 Theodore Ts'o <tytso@mit.edu>
2
3 * Makefile.in: Don't install list.h, since it's not used by the
4 public blkid.h file.
5
6 * blkid_types.h.in: Change #ifndef protection to use _BLKID_TYPES_H
7
Theodore Ts'oed1b33e2003-03-01 19:29:01 -050082003-03-01 Theodore Ts'o <tytso@mit.edu>
9
Theodore Ts'o7e893042003-03-01 22:57:31 -050010 * tag.c (blkid_set_tag): Fix bug; don't return an error when
11 deleting a tag by setting the value to NULL. This
12 caused a failed device verification to loop forever in
13 blkid_verify_devname().
14
Theodore Ts'o28595222003-03-01 20:01:27 -050015 * resolve.c (main): Update debugging test program so that it
16 compiles with the latest blkid API changes.
17
18 * libblkid.3.in: Update manual page to reflect recent API changes.
19
Theodore Ts'oed1b33e2003-03-01 19:29:01 -050020 * resolve.c (blkid_get_tag_value): If the passed-in cache is NULL,
21 then get and release a temporary cache as a convenience to
22 the calling application.
23 (blkid_get_devname): If the passed in token does not
24 contain an '=', and value is NULL, then return the passed
25 in token.
26
27 * read.c (blkid_read_cache): Don't return 0 since blkid_read_cache
28 now returns void.
29
30 * blkid.h: Add include of sys/types.h, since we use dev_t
31
Theodore Ts'o1549a442003-02-27 19:33:36 -0500322003-02-27 Theodore Ts'o <tytso@mit.edu>
33
34 * resolve.c (blkid_get_tag_value): Rename function (used to be
35 blkid_get_tagname_devname)
36
Theodore Ts'of0a22d02003-02-22 13:19:53 -0500372003-02-22 Theodore Ts'o <tytso@mit.edu>
38
Theodore Ts'o79dd2342003-02-22 17:15:20 -050039 * devname.c (blkid_probe_all), tag.c (blkid_find_dev_with_tag):
40 Call blkid_read_cache to make sure the in-core version of
41 the data structure is the latest. After probing all of
42 the devices in blkid_probe_all() force the cache file to
43 be written out, the probe_all represents a lot of effort
44 that shouldn't be lost.
45
46 * tag.c (blkid_set_tag): Always replace an existing tag with the
47 new value; we no longer suppor multiple tags with the same
48 value attached to a device, as this was never really
49 supported well, and significantly increased the code
50 complexity.
51
52 * probe.c (probe_ext2): Change handling of ext2/ext3 filesystems.
53 Ext3 filesystems are now always treated as ext2
54 filesystems, with a special SEC_TYPE tag set to ext3.
55 This was necessary because we now longer support multiple
56 tags with the same name attached to a device.
57
58 * save.c (save_dev): Don't special case the TYPE tag; just write
59 it out along with all of the normal tags.
60 (blkid_flush_cache): Eliminate special case code for stdout.
61
62 * cache.c (blkid_new_cache, blkid_get_cache): Eliminate
63 blkid_new_cache and fold into blkid_get_cache (moved to
64 cache.c)
65
66 * read.c (blkid_read_cache): New function created from
67 blkid_get_cache which used to be in read.c that only
68 updates the in-core cache data structure from the file.
69 Uses the file modification time of the cache file to
70 determine whether the cache file needs to be re-read.
71
Theodore Ts'of0a22d02003-02-22 13:19:53 -050072 * cache.c, dev.c, devname.c, devno.c, probe.c, read.c, resolve.c,
73 save.c, tag.c, blkidP.h: Add dynamic debugging
74 capabilities, controlled by the environment variable
75 BLKID_DEBUG.
76
Theodore Ts'o98999c32003-02-16 00:47:07 -0500772003-02-16 Theodore Ts'o <tytso@mit.edu>
78
79 * blkid.h, dev.c, devname.c, probe.c, read.c, resolve.c: Rename
80 blkid_get_devname() to blkid_get_dev(). Also rename
81 blkid_get_token() to blkid_get_devname(). This more
82 accurately describes what these functions do.
83
Theodore Ts'oce72b862003-02-14 01:31:45 -0500842003-02-14 Theodore Ts'o <tytso@mit.edu>
85
Theodore Ts'obc40efd2003-02-14 01:40:23 -050086 * blkidP.h, devname.c (blkid_get_devname), read.c (parse_tag),
87 save.c (save_dev): Remove bid_id, as it is not used for
88 anything.
89
Theodore Ts'oce72b862003-02-14 01:31:45 -050090 * Makefile.in (blkid): When building the blkid, don't link against
91 the shared blkid library; link only against the static
92 blkid library.
93
94 * blkidP.h (struct blkid_struct_dev): Remove bid_size and
95 bid_devsize (since they aren't used any more) and add
96 bid_pri to the device structure.
97
98 * devname.c (probe_one, lvm_probe_all, evms_probe_all,
99 blkid_probe_all): Set the bid_pri filed in the device
100 structure depending on type of device so that EVMS, LVM,
101 and MD devices get priority over normal devices.
102
103 * tag.c (blkid_find_dev_with_tag): When looking for a device that
104 matches the search criteria, return the one with the
105 largest priority (bid_pri).
106
107 * save.c (save_dev): Write out the PRI tag from bid_pri.
108
109 * read.c (parse_tag): Parse the PRI tag and store its value in
110 bid_pri.
111
112 * probe.c (blkid_verify_devname): If the device does not exist
113 (open returns ENOENT), treat this as a fatal error and
114 release the device. After verifying the device, set the
115 cache as being modified so the changes are written out.
116
117 * resolve.c (main): Change the test driver to get a blkid cache
118 and pass it to blkid_get_tagname_devname and
119 blkid_get_token, as the cache is no longer optional.
120
Theodore Ts'o50b380b2003-02-12 23:51:21 -05001212003-02-12 Theodore Ts'o <tytso@mit.edu>
122
123 * blkid.h, blkidP.h, cache.c, dev.c, devname.c, devno.c, probe.c,
124 probe.h, read.c, resolve.c, save.c, tag.c: Wholesale
125 changes to library to simplify the implementation and
126 shrink its size. Change library version to be 1.0.
127
Theodore Ts'o76b07bb2003-01-27 01:09:24 -05001282003-01-27 Theodore Ts'o <tytso@mit.edu>
129
130 * read.c (parse_tag): Do not return that blkid_tag when parsing
131 the blkid.tag file.
132
133 * resolve.c (blkid_get_token, blkid_get_tagname_devname): Fold in
134 code from removed functions
135
136 * tag.c (blkid_create_tag): Don't return the newly tag strcture
137 any more, as it's not needed.
138 (blkid_find_tag_cache, blkid_get_tag_cache,
139 blkid_token_to_tag, blkid_find_tv_tags): Remove these
140 functions, as they are either only used once or have
141 interfaces that should be deprecated.
142 (blkid_find_tag_dev, blkid_find_head_cache): Replace use
143 of blkid_tag with one or two const char * type/value
144 arguments.
145 (blkid_find_dev_with_tag): Fold in code from removed functions
146
147 * probe.h, probe.c: Use a more sophisticated set of byte-swapping
148 routines which are more compact and efficient. Drop
149 calculation of bid_free, since it's unnecessary. Avoid
150
151 * save.c (blkid_save_cache): Set the permissions on the blkid
152 cache file to 644.
153
Theodore Ts'od3f91792003-01-25 00:26:48 -05001542003-01-25 Theodore Ts'o <tytso@mit.edu>
155
Theodore Ts'o7a603aa2003-01-26 01:54:39 -0500156 * cache.c, dev.c, devname.c, devno.c, getsize.c, llseek.c,
157 probe.c, probe.h, read.c, resolve.c, save.c, tag.c,
158 blkid.h, blkidP.h: Separate public and private
159 interfaces into separate header files. Start
160 separating internal implementation details from the
161 publically exported interface.
162
Theodore Ts'o0f3ac4802003-01-25 18:44:33 -0500163 * devname.c: Add support for EVMS
164
Theodore Ts'od3f91792003-01-25 00:26:48 -0500165 * blkid.h, cache.c, dev.c, devname.c, devno.c, probe.c, probe.h,
166 read.c, resolve.c, save.c, tag.c: Fix gcc -Wall nits.
167
Theodore Ts'o3a1d6f32003-01-24 23:11:29 -05001682003-01-24 Theodore Ts'o <tytso@mit.edu>
169
170 * save.c (blkid_save_cache): Use mkstemp() instead mktemp().
171
Theodore Ts'oe12f2ae2003-01-23 16:45:16 -05001722002-10-04 Jordan Breeding <jordan.breeding@attbi.com>
173
174 * Forward port to e2fsprogs 1.30
175
1762001-09-20 Andreas Dilger <adilger@turbolinux.com>
177
178 * Initial release of libblkid.