From 5411f63aedad1b2867d81469257883ad50f69b36 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 3 Jul 2009 15:13:02 +0000 Subject: [PATCH] Rev openSUSE:Factory/44 Md5 b32bdd77d30669f5be0f09398f7d17c4 2009-07-03 15:13:02 unknown None --- .gitattributes | 1 - README.SUSE.uuidd | 28 - e2fsprogs-1.40.4-uuidd_pid_path.patch | 15 - e2fsprogs-1.41.1-splash_support.patch | 2 +- e2fsprogs-1.41.4.tar.bz2 | 3 - e2fsprogs-1.41.7.tar.bz2 | 3 + e2fsprogs-base_devt.patch | 373 --------- e2fsprogs-libvolume_id-support.patch | 283 ------- e2fsprogs-mdraid.patch | 12 - e2fsprogs-no_cmd_hiding.patch | 3 - e2fsprogs.changes | 12 + e2fsprogs.spec | 1031 +------------------------ sysconfig.uuidd | 14 - uuidd.rc | 90 --- 14 files changed, 37 insertions(+), 1833 deletions(-) delete mode 100644 README.SUSE.uuidd delete mode 100644 e2fsprogs-1.40.4-uuidd_pid_path.patch delete mode 100644 e2fsprogs-1.41.4.tar.bz2 create mode 100644 e2fsprogs-1.41.7.tar.bz2 delete mode 100644 e2fsprogs-base_devt.patch delete mode 100644 e2fsprogs-libvolume_id-support.patch delete mode 100644 e2fsprogs-mdraid.patch delete mode 100644 e2fsprogs-no_cmd_hiding.patch delete mode 100644 sysconfig.uuidd delete mode 100644 uuidd.rc diff --git a/.gitattributes b/.gitattributes index 6ee5b52..91b51e7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -23,4 +23,3 @@ *.zst filter=lfs diff=lfs merge=lfs -text ## Specific LFS patterns e2fsprogs-1.41.4.de.po filter=lfs diff=lfs merge=lfs -text -e2fsprogs-no_cmd_hiding.patch filter=lfs diff=lfs merge=lfs -text diff --git a/README.SUSE.uuidd b/README.SUSE.uuidd deleted file mode 100644 index 74a8332..0000000 --- a/README.SUSE.uuidd +++ /dev/null @@ -1,28 +0,0 @@ -Using uuidd ------------ -The uuidd is a solution to guarantee unique time-based UUIDs. In the -past there was the problem that UUIDs created by libuuid have not been -guaranteed to be unique if you run multiple processes/threads which -create lots of UUIDs simultaneously. In order to use this daemon you -have to run it with SUID/SGID bit set: - -1. Modify your local permissions setting by adding the following - line to your /etc/permissions.local - /usr/sbin/uuidd uuidd:uuidd 6755 - -2. Set the permissions with - $ chkstat --set /etc/permissions.local - -3. enable the service uuidd either in YaST or with - $ insserv uuidd - -The daemon is designed to run on demand by default, this means -it is started automatically by libuuid when needed and it -terminates by default after 5 minutes of inactivity. -However if you wish to run the daemon permanently you can -set the parameter UUIDD_ON_DEMAND_ONLY in /etc/sysconfig/uuidd -to "no". -Note, the daemon is not needed in general to create time-based -UUIDs, it is only needed to assure the uniqueness of UUIDs -when creating lots of them in a short amount of time. - diff --git a/e2fsprogs-1.40.4-uuidd_pid_path.patch b/e2fsprogs-1.40.4-uuidd_pid_path.patch deleted file mode 100644 index 7bcae03..0000000 --- a/e2fsprogs-1.40.4-uuidd_pid_path.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: e2fsprogs-1.40.4/lib/uuid/uuidd.h -=================================================================== ---- e2fsprogs-1.40.4.orig/lib/uuid/uuidd.h -+++ e2fsprogs-1.40.4/lib/uuid/uuidd.h -@@ -35,8 +35,8 @@ - #ifndef _UUID_UUIDD_H - #define _UUID_UUIDD_H - --#define UUIDD_SOCKET_PATH "/var/lib/libuuid/request" --#define UUIDD_PIDFILE_PATH "/var/lib/libuuid/uuidd.pid" -+#define UUIDD_SOCKET_PATH "/var/run/uuidd/request" -+#define UUIDD_PIDFILE_PATH "/var/run/uuidd/uuidd.pid" - #define UUIDD_PATH "/usr/sbin/uuidd" - - #define UUIDD_OP_GETPID 0 diff --git a/e2fsprogs-1.41.1-splash_support.patch b/e2fsprogs-1.41.1-splash_support.patch index d97ec3d..4c8a3a8 100644 --- a/e2fsprogs-1.41.1-splash_support.patch +++ b/e2fsprogs-1.41.1-splash_support.patch @@ -177,9 +177,9 @@ Index: e2fsprogs-1.41.1/e2fsck/unix.c #ifdef RESOURCE_TRACK init_resource_track(&ctx->global_rtrack, NULL); @@ -1242,6 +1245,7 @@ print_unsupp_features: - if (ctx->flags & E2F_FLAG_SIGNAL_MASK) fatal_error(ctx, 0); check_if_skip(ctx); + check_resize_inode(ctx); + sops->splash_off(); if (bad_blocks_file) read_bad_blocks_file(ctx, bad_blocks_file, replace_bad_blocks); diff --git a/e2fsprogs-1.41.4.tar.bz2 b/e2fsprogs-1.41.4.tar.bz2 deleted file mode 100644 index b51ee52..0000000 --- a/e2fsprogs-1.41.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0366ef68b35ff094f5e6bce3b715d2291639732e384c25446833efe1db7c2f16 -size 3882283 diff --git a/e2fsprogs-1.41.7.tar.bz2 b/e2fsprogs-1.41.7.tar.bz2 new file mode 100644 index 0000000..46a8b31 --- /dev/null +++ b/e2fsprogs-1.41.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44c5ba76534f2fce84d11d04b850422ac8f2b6c1bdb2f33bab0462d9b81022fd +size 3893160 diff --git a/e2fsprogs-base_devt.patch b/e2fsprogs-base_devt.patch deleted file mode 100644 index 5f39350..0000000 --- a/e2fsprogs-base_devt.patch +++ /dev/null @@ -1,373 +0,0 @@ -Index: e2fsprogs-1.41.1/misc/base_device.c -=================================================================== ---- e2fsprogs-1.41.1.orig/misc/base_device.c 2008-08-28 16:26:31.000000000 +0200 -+++ e2fsprogs-1.41.1/misc/base_device.c 2008-09-04 15:08:22.000000000 +0200 -@@ -31,125 +31,169 @@ - #include "fsck.h" - - /* -- * Required for the uber-silly devfs /dev/ide/host1/bus2/target3/lun3 -- * pathames. -+ * Same version as above but returns the devicenumber of -+ * base device. Saner, no strings to free, works with everything. - */ --static const char *devfs_hier[] = { -- "host", "bus", "target", "lun", 0 --}; -- --char *base_device(const char *device) -+dev_t base_devt(const char *device) - { -- char *str, *cp; -- const char **hier, *disk; -- int len; -- -- str = malloc(strlen(device)+1); -- if (!str) -- return NULL; -- strcpy(str, device); -- cp = str; -- -- /* Skip over /dev/; if it's not present, give up. */ -- if (strncmp(cp, "/dev/", 5) != 0) -- goto errout; -- cp += 5; -- -- /* Skip over /dev/dsk/... */ -- if (strncmp(cp, "dsk/", 4) == 0) -- cp += 4; -- -- /* -- * For md devices, we treat them all as if they were all -- * on one disk, since we don't know how to parallelize them. -- */ -- if (cp[0] == 'm' && cp[1] == 'd') { -- *(cp+2) = 0; -- return str; -+ struct stat statbuf; -+ unsigned int dev_major, dev_minor, disk_minor; -+ -+ if (stat(device, &statbuf) < 0) { -+ fprintf(stderr,"error on stat() %s: %s\n", -+ device, strerror(errno)); -+ return 0; -+ } -+ -+ if (!S_ISBLK(statbuf.st_mode)) -+ return 0; -+ -+ dev_major = major(statbuf.st_mode); -+ dev_minor = minor(statbuf.st_mode); -+ -+ switch (dev_major) { -+ case 3: /* IDE / ATAPI disks */ -+ case 13: /* PC MFM disks */ -+ case 14: /* BIOS HD disks */ -+ case 21: /* Acorn MFM disks */ -+ case 22: /* 2nd IDE / ATAPI controller */ -+ case 33: /* 3rd IDE / ATAPI controller */ -+ case 34: /* 4th IDE / ATAPI controller */ -+ case 56: /* 5th IDE / ATAPI controller */ -+ case 57: /* 6th IDE / ATAPI controller */ -+ case 88: /* 7th IDE / ATAPI controller */ -+ case 89: /* 8th IDE / ATAPI controller */ -+ case 90: /* 9th IDE / ATAPI controller */ -+ case 91: /* 10th IDE / ATAPI controller */ -+ case 36: /* MCA ESDI disks */ -+ disk_minor = dev_minor - (dev_minor % 64); -+ break; -+ case 160: /* Carmel 8-port SATA disks, 1st controller */ -+ case 161: /* Carmel 8-port SATA disks, 2nd controller */ -+ disk_minor = dev_minor - (dev_minor % 32); -+ break; -+ case 8: /* SCSI devices */ -+ case 28: /* Atari ASCI disks */ -+ case 44: /* FTL disks */ -+ case 45: /* Parallel port IDE disks */ -+ case 65: /* SCSI devices */ -+ case 66: /* SCSI devices */ -+ case 67: /* SCSI devices */ -+ case 68: /* SCSI devices */ -+ case 69: /* SCSI devices */ -+ case 70: /* SCSI devices */ -+ case 71: /* SCSI devices */ -+ case 72: /* Compaq IDA, 1st controller */ -+ case 73: /* Compaq IDA, 2nd controller */ -+ case 74: /* Compaq IDA, 3rd controller */ -+ case 75: /* Compaq IDA, 4th controller */ -+ case 76: /* Compaq IDA, 5th controller */ -+ case 77: /* Compaq IDA, 6th controller */ -+ case 78: /* Compaq IDA, 7th controller */ -+ case 79: /* Compaq IDA, 8th controller */ -+ case 80: /* I2O disks */ -+ case 81: /* I2O disks */ -+ case 82: /* I2O disks */ -+ case 83: /* I2O disks */ -+ case 84: /* I2O disks */ -+ case 85: /* I2O disks */ -+ case 86: /* I2O disks */ -+ case 87: /* I2O disks */ -+ case 93: /* NAND FTL disks */ -+ case 96: /* Inverse NAND FTL disks */ -+ case 98: /* User-mode Virtual disks */ -+ case 101: /* AMI RAID controller */ -+ case 102: /* Compressed block device */ -+ case 104: /* Compaq CCISS, 1st controller */ -+ case 105: /* Compaq CCISS, 2nd controller */ -+ case 106: /* Compaq CCISS, 3rd controller */ -+ case 107: /* Compaq CCISS, 4th controller */ -+ case 108: /* Compaq CCISS, 5th controller */ -+ case 109: /* Compaq CCISS, 6th controller */ -+ case 110: /* Compaq CCISS, 7th controller */ -+ case 111: /* Compaq CCISS, 8th controller */ -+ case 114: /* ATARAID devices */ -+ case 128: /* SCSI disks */ -+ case 129: /* SCSI disks */ -+ case 130: /* SCSI disks */ -+ case 131: /* SCSI disks */ -+ case 132: /* SCSI disks */ -+ case 133: /* SCSI disks */ -+ case 134: /* SCSI disks */ -+ case 135: /* SCSI disks */ -+ case 153: /* Enhanced Metadisk RAID */ -+ disk_minor = dev_minor - (dev_minor % 16); -+ break; -+ case 48: /* Mylex DAC960 RAID, 1st controller */ -+ case 49: /* Mylex DAC960 RAID, 2nd controller */ -+ case 50: /* Mylex DAC960 RAID, 3rd controller */ -+ case 51: /* Mylex DAC960 RAID, 4th controller */ -+ case 52: /* Mylex DAC960 RAID, 5th controller */ -+ case 53: /* Mylex DAC960 RAID, 6th controller */ -+ case 54: /* Mylex DAC960 RAID, 7th controller */ -+ case 55: /* Mylex DAC960 RAID, 8th controller */ -+ case 112: /* IBM iSeries virtual disks */ -+ case 136: /* Mylex DAC960 RAID, 9th controller */ -+ case 137: /* Mylex DAC960 RAID, 10th controller */ -+ case 138: /* Mylex DAC960 RAID, 11th controller */ -+ case 139: /* Mylex DAC960 RAID, 12th controller */ -+ case 140: /* Mylex DAC960 RAID, 13th controller */ -+ case 141: /* Mylex DAC960 RAID, 14th controller */ -+ case 142: /* Mylex DAC960 RAID, 15th controller */ -+ case 143: /* Mylex DAC960 RAID, 16th controller */ -+ case 180: /* USB Block devices */ -+ disk_minor = dev_minor - (dev_minor % 8); -+ break; -+ case 94: /* IBM S/390 DASD */ -+ disk_minor = dev_minor - (dev_minor % 4); -+ break; -+ default: -+ disk_minor = dev_minor; -+ break; - } -+ -+ return makedev(dev_major,disk_minor); -+} -+ -+/* -+ * Check whether two given devices match. -+ * Rather then check for the device names -+ * (which wouldn't work with udev anyway) -+ * check whether the device numbers are -+ * identical. -+ */ -+int match_device(const char *dev1, const char *dev2) -+{ -+ struct stat statbuf; -+ dev_t saved_devt; -+ int ret = 0; - -- /* Handle DAC 960 devices */ -- if (strncmp(cp, "rd/", 3) == 0) { -- cp += 3; -- if (cp[0] != 'c' || cp[2] != 'd' || -- !isdigit(cp[1]) || !isdigit(cp[3])) -- goto errout; -- *(cp+4) = 0; -- return str; -+ if (stat(dev1, &statbuf) < 0) { -+ return 0; - } - -- /* Now let's handle /dev/hd* and /dev/sd* devices.... */ -- if ((cp[0] == 'h' || cp[0] == 's') && (cp[1] == 'd')) { -- cp += 2; -- /* If there's a single number after /dev/hd, skip it */ -- if (isdigit(*cp)) -- cp++; -- /* What follows must be an alpha char, or give up */ -- if (!isalpha(*cp)) -- goto errout; -- *(cp + 1) = 0; -- return str; -- } -+ if (!S_ISBLK(statbuf.st_mode)) -+ return 0; - -- /* Now let's handle devfs (ugh) names */ -- len = 0; -- if (strncmp(cp, "ide/", 4) == 0) -- len = 4; -- if (strncmp(cp, "scsi/", 5) == 0) -- len = 5; -- if (len) { -- cp += len; -- /* -- * Now we proceed down the expected devfs hierarchy. -- * i.e., .../host1/bus2/target3/lun4/... -- * If we don't find the expected token, followed by -- * some number of digits at each level, abort. -- */ -- for (hier = devfs_hier; *hier; hier++) { -- len = strlen(*hier); -- if (strncmp(cp, *hier, len) != 0) -- goto errout; -- cp += len; -- while (*cp != '/' && *cp != 0) { -- if (!isdigit(*cp)) -- goto errout; -- cp++; -- } -- cp++; -- } -- *(cp - 1) = 0; -- return str; -- } -+ saved_devt = statbuf.st_rdev; - -- /* Now handle devfs /dev/disc or /dev/disk names */ -- disk = 0; -- if (strncmp(cp, "discs/", 6) == 0) -- disk = "disc"; -- else if (strncmp(cp, "disks/", 6) == 0) -- disk = "disk"; -- if (disk) { -- cp += 6; -- if (strncmp(cp, disk, 4) != 0) -- goto errout; -- cp += 4; -- while (*cp != '/' && *cp != 0) { -- if (!isdigit(*cp)) -- goto errout; -- cp++; -- } -- *cp = 0; -- return str; -+ if (stat(dev2, &statbuf) < 0) { -+ return 0; - } - --errout: -- free(str); -- return NULL; -+ if (!S_ISBLK(statbuf.st_mode)) -+ return 0; -+ -+ if (saved_devt == statbuf.st_rdev) -+ ret = 1; -+ -+ return ret; - } - - #ifdef DEBUG - int main(int argc, char** argv) - { -- const char *base; -+ dev_t base; - char buf[256], *cp; - - while (1) { -@@ -161,8 +205,8 @@ int main(int argc, char** argv) - cp = strchr(buf, '\t'); - if (cp) - *cp = 0; -- base = base_device(buf); -- printf("%s\t%s\n", buf, base ? base : "NONE"); -+ base = base_devt(buf); -+ printf("%s\t0x%04x\n", buf, base); - } - exit(0); - } -Index: e2fsprogs-1.41.1/misc/fsck.c -=================================================================== ---- e2fsprogs-1.41.1.orig/misc/fsck.c 2008-08-28 16:26:31.000000000 +0200 -+++ e2fsprogs-1.41.1/misc/fsck.c 2008-09-04 15:23:38.000000000 +0200 -@@ -237,8 +237,6 @@ static void free_instance(struct fsck_in - free(i->prog); - if (i->device) - free(i->device); -- if (i->base_device) -- free(i->base_device); - free(i); - return; - } -@@ -390,7 +388,7 @@ static struct fs_info *lookup(char *file - return NULL; - - for (fs = filesys_info; fs; fs = fs->next) { -- if (!strcmp(filesys, fs->device) || -+ if (match_device(filesys, fs->device) || - (fs->mountpt && !strcmp(filesys, fs->mountpt))) - break; - } -@@ -514,7 +512,7 @@ static int execute(const char *type, con - inst->prog = string_copy(prog); - inst->type = string_copy(type); - inst->device = string_copy(device); -- inst->base_device = base_device(device); -+ inst->base_devt = base_devt(device); - inst->start_time = time(0); - inst->next = NULL; - -@@ -927,7 +925,7 @@ static int ignore(struct fs_info *fs) - static int device_already_active(char *device) - { - struct fsck_instance *inst; -- char *base; -+ dev_t disk_devt; - - if (force_all_parallel) - return 0; -@@ -940,20 +938,18 @@ static int device_already_active(char *d - return 1; - #endif - -- base = base_device(device); -+ disk_devt = base_devt(device); - /* - * If we don't know the base device, assume that the device is - * already active if there are any fsck instances running. - */ -- if (!base) -+ if (!disk_devt) - return (instance_list != 0); - for (inst = instance_list; inst; inst = inst->next) { -- if (!inst->base_device || !strcmp(base, inst->base_device)) { -- free(base); -+ if (!inst->base_devt || disk_devt == inst->base_devt) { - return 1; - } - } -- free(base); - return 0; - } - -Index: e2fsprogs-1.41.1/misc/fsck.h -=================================================================== ---- e2fsprogs-1.41.1.orig/misc/fsck.h 2008-08-28 05:07:00.000000000 +0200 -+++ e2fsprogs-1.41.1/misc/fsck.h 2008-09-04 14:57:13.000000000 +0200 -@@ -62,12 +62,12 @@ struct fsck_instance { - char * prog; - char * type; - char * device; -- char * base_device; -+ dev_t base_devt; - struct fsck_instance *next; - }; - --extern char *base_device(const char *device); --extern const char *identify_fs(const char *fs_name, const char *fs_types); -+extern dev_t base_devt(const char *device); -+extern int match_device(const char *dev1, const char *dev2); - - /* ismounted.h */ - extern int is_mounted(const char *file); diff --git a/e2fsprogs-libvolume_id-support.patch b/e2fsprogs-libvolume_id-support.patch deleted file mode 100644 index 82093e6..0000000 --- a/e2fsprogs-libvolume_id-support.patch +++ /dev/null @@ -1,283 +0,0 @@ -Index: e2fsprogs-1.41.4/misc/Makefile.in -=================================================================== ---- e2fsprogs-1.41.4.orig/misc/Makefile.in 2008-11-15 18:33:33.000000000 +0100 -+++ e2fsprogs-1.41.4/misc/Makefile.in 2009-02-03 12:45:22.000000000 +0100 -@@ -40,7 +40,7 @@ UUIDD_OBJS= uuidd.o - DUMPE2FS_OBJS= dumpe2fs.o - BADBLOCKS_OBJS= badblocks.o - E2IMAGE_OBJS= e2image.o --FSCK_OBJS= fsck.o base_device.o ismounted.o -+FSCK_OBJS= fsck.o base_device.o ismounted.o fsck_volume_id.o - BLKID_OBJS= blkid.o - FILEFRAG_OBJS= filefrag.o - E2UNDO_OBJS= e2undo.o -@@ -81,6 +81,9 @@ PROFILED_DEPLIBS= $(PROFILED_LIBEXT2FS) - STATIC_LIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) - STATIC_DEPLIBS= $(STATIC_LIBEXT2FS) $(STATIC_LIBCOM_ERR) - -+LIBVOLID= -lvolume_id -+DEPLIBVOLID= -+ - LIBS_E2P= $(LIBE2P) $(LIBCOM_ERR) - DEPLIBS_E2P= $(LIBE2P) $(LIBCOM_ERR) - -@@ -184,10 +187,6 @@ base_device: base_device.c - @$(CC) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(srcdir)/base_device.c \ - -DDEBUG -o base_device - --check:: base_device -- ./base_device < $(srcdir)/base_device.tst > base_device.out -- cmp $(srcdir)/base_device.tst base_device.out -- - mklost+found: $(MKLPF_OBJS) - @echo " LD $@" - @$(CC) $(ALL_LDFLAGS) -o mklost+found $(MKLPF_OBJS) $(LIBINTL) -@@ -250,14 +249,14 @@ dumpe2fs.profiled: $(PROFILED_DUMPE2FS_O - $(PROFILED_DUMPE2FS_OBJS) $(PROFILED_LIBS) \ - $(PROFILED_LIBE2P) $(PROFILED_LIBUUID) $(LIBINTL) - --fsck: $(FSCK_OBJS) $(DEPLIBBLKID) -+fsck: $(FSCK_OBJS) $(DEPLIBVOLID) - @echo " LD $@" -- @$(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBBLKID) $(LIBINTL) -+ @$(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBVOLID) $(LIBINTL) - --fsck.profiled: $(PROFILED_FSCK_OBJS) $(PROFILED_DEPLIBBLKID) -+fsck.profiled: $(PROFILED_FSCK_OBJS) $(DEPLIBVOLID) - @echo " LD $@" - @$(CC) $(ALL_LDFLAGS) -g -pg -o fsck.profiled $(PROFILED_FSCK_OBJS) \ -- $(PROFILED_LIBBLKID) $(LIBINTL) -+ $(LIBVOLID) $(LIBINTL) - - badblocks: $(BADBLOCKS_OBJS) $(DEPLIBS) - @echo " LD $@" -Index: e2fsprogs-1.41.4/misc/base_device.c -=================================================================== ---- e2fsprogs-1.41.4.orig/misc/base_device.c 2009-02-03 12:24:08.000000000 +0100 -+++ e2fsprogs-1.41.4/misc/base_device.c 2009-02-03 12:24:48.000000000 +0100 -@@ -27,6 +27,8 @@ - #endif - #include - #include -+#include -+#include - - #include "fsck.h" - -Index: e2fsprogs-1.41.4/misc/fsck.c -=================================================================== ---- e2fsprogs-1.41.4.orig/misc/fsck.c 2009-02-03 12:24:08.000000000 +0100 -+++ e2fsprogs-1.41.4/misc/fsck.c 2009-02-03 12:24:48.000000000 +0100 -@@ -61,7 +61,6 @@ - #include "../version.h" - #include "nls-enable.h" - #include "fsck.h" --#include "blkid/blkid.h" - - #ifndef _PATH_MNTTAB - #define _PATH_MNTTAB "/etc/fstab" -@@ -122,7 +121,6 @@ struct fs_info *filesys_info = NULL, *fi - struct fsck_instance *instance_list; - const char *fsck_prefix_path = "/sbin:/sbin/fs.d:/sbin/fs:/etc/fs:/etc"; - char *fsck_path = 0; --blkid_cache cache = NULL; - - static char *string_copy(const char *s) - { -@@ -298,7 +296,7 @@ static int parse_fstab_line(char *line, - parse_escape(freq); - parse_escape(passno); - -- dev = blkid_get_devname(cache, device, NULL); -+ dev = fsck_get_devname(device); - if (dev) - device = dev; - -@@ -323,7 +321,7 @@ static void interpret_type(struct fs_inf - - if (strcmp(fs->type, "auto") != 0) - return; -- t = blkid_get_tag_value(cache, "TYPE", fs->device); -+ t = fsck_get_fstype(fs->device); - if (t) { - free(fs->type); - fs->type = t; -@@ -1120,7 +1118,7 @@ static void PRS(int argc, char *argv[]) - progname); - exit(EXIT_ERROR); - } -- dev = blkid_get_devname(cache, arg, NULL); -+ dev = fsck_get_devname(arg); - if (!dev && strchr(arg, '=')) { - /* - * Check to see if we failed because -@@ -1266,7 +1264,7 @@ int main(int argc, char *argv[]) - bindtextdomain(NLS_CAT_NAME, LOCALEDIR); - textdomain(NLS_CAT_NAME); - #endif -- blkid_get_cache(&cache, NULL); -+ fsck_get_cache(NULL); - PRS(argc, argv); - - if (!notitle) -@@ -1337,6 +1335,6 @@ int main(int argc, char *argv[]) - } - status |= wait_many(FLAG_WAIT_ALL); - free(fsck_path); -- blkid_put_cache(cache); -+ fsck_put_cache(); - return status; - } -Index: e2fsprogs-1.41.4/misc/fsck.h -=================================================================== ---- e2fsprogs-1.41.4.orig/misc/fsck.h 2009-02-03 12:24:08.000000000 +0100 -+++ e2fsprogs-1.41.4/misc/fsck.h 2009-02-03 12:24:48.000000000 +0100 -@@ -66,6 +66,11 @@ struct fsck_instance { - struct fsck_instance *next; - }; - -+extern int fsck_get_cache(const char *filename); -+extern void fsck_put_cache(void); -+extern char *fsck_get_devname(const char *device); -+extern char *fsck_get_fstype(const char *device); -+ - extern dev_t base_devt(const char *device); - extern int match_device(const char *dev1, const char *dev2); - -Index: e2fsprogs-1.41.4/misc/fsck_volume_id.c -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ e2fsprogs-1.41.4/misc/fsck_volume_id.c 2009-02-03 12:24:48.000000000 +0100 -@@ -0,0 +1,132 @@ -+/* -+ * Wrapper for libvolume_id -+ */ -+ -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+ -+#include "fsck.h" -+ -+int fsck_get_cache(const char *filename) -+{ -+ return 0; -+} -+ -+void fsck_put_cache(void) -+{ -+} -+ -+static char *fsck_get_devname_by_uuid(const char *uuid) -+{ -+ char *dev = NULL; -+ -+ if (!uuid) -+ return NULL; -+ -+ dev = malloc(19 + strlen(uuid)); -+ if (dev) { -+ strcpy(dev,"/dev/disk/by-uuid/"); -+ strcat(dev,uuid); -+ } -+ -+ return dev; -+} -+ -+static char *fsck_get_devname_by_label(const char *label) -+{ -+ char *dev = NULL; -+ -+ if (!label) -+ return NULL; -+ -+ dev = malloc(20 + strlen(label)); -+ if (dev) { -+ strcpy(dev,"/dev/disk/by-label/"); -+ strcat(dev,label); -+ } -+ -+ return dev; -+} -+ -+char *fsck_get_devname(const char *spec) -+{ -+ char *token, *cp, *value; -+ char *nspec = NULL; -+ -+ if (!spec) -+ return NULL; -+ -+ token = strdup(spec); -+ if (!token) -+ return NULL; -+ -+ /* We have to return an allocated string */ -+ if (!(cp = strchr(token, '='))) -+ return token; -+ -+ value = token + (cp - token); -+ *value++ = '\0'; -+ -+ if (*value == '"' || *value == '\'') { -+ char c = *value++; -+ if (!(cp = strrchr(value, c))) -+ goto errout; /* missing closing quote */ -+ *cp = '\0'; -+ } -+ -+ if (!strcmp(token,"LABEL")) { -+ nspec = fsck_get_devname_by_label(value); -+ } else if (!strcmp(token,"UUID")) { -+ nspec = fsck_get_devname_by_uuid(value); -+ } -+ -+ free(token); -+ -+ errout: -+ return nspec; -+} -+ -+char *fsck_get_fstype(const char *device) -+{ -+ int fd = -1; -+ struct volume_id *vid = NULL; -+ uint64_t size; -+ const char *s; -+ char *value = NULL; -+ -+ if (!device) -+ return NULL; -+ -+ fd = open(device, O_RDONLY); -+ if (fd < 0) -+ return NULL; -+ -+ vid = volume_id_open_fd(fd); -+ if (!vid) -+ goto out; -+ -+ if (ioctl(fd, BLKGETSIZE64, &size) != 0) -+ size = 0; -+ -+ if (volume_id_probe_all(vid, 0, size) != 0) -+ goto out; -+ -+ if (!volume_id_get_type(vid, &s)) -+ goto out; -+ -+ value = strdup(s); -+out: -+ if (vid != NULL) -+ volume_id_close(vid); -+ if (fd >= 0) -+ close(fd); -+ -+ return value; -+} diff --git a/e2fsprogs-mdraid.patch b/e2fsprogs-mdraid.patch deleted file mode 100644 index 85d32e0..0000000 --- a/e2fsprogs-mdraid.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- lib/blkid/probe.c -+++ lib/blkid/probe.c -@@ -796,7 +796,8 @@ - */ - try_again: - type = 0; -- if (!dev->bid_type || !strcmp(dev->bid_type, "mdraid")) { -+ if ((!dev->bid_type || !strcmp(dev->bid_type, "mdraid")) && -+ getenv( "BLKID_SKIP_CHECK_MDRAID")==NULL ) { - uuid_t uuid; - - if (check_mdraid(probe.fd, uuid) == 0) { diff --git a/e2fsprogs-no_cmd_hiding.patch b/e2fsprogs-no_cmd_hiding.patch deleted file mode 100644 index 7973722..0000000 --- a/e2fsprogs-no_cmd_hiding.patch +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7c72de539b23710bd85095a7141fa909836fb9ef747e27cea18f7fb109bb127b -size 46572 diff --git a/e2fsprogs.changes b/e2fsprogs.changes index 9fd476a..e214d35 100644 --- a/e2fsprogs.changes +++ b/e2fsprogs.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Jun 29 05:46:03 CEST 2009 - kay.sievers@novell.com + +- update to 1.41.7 +- disable libuuid and libblkid packages (moved to util-linux) +- drop libvolume_id support (util-linux's libblkid will work) +- removed patches: + e2fsprogs-libvolume_id-support.patch + e2fsprogs-no_cmd_hiding.patch + e2fsprogs-base_devt.patch + e2fsprogs-mdraid.patch + ------------------------------------------------------------------- Mon Mar 9 19:39:24 CET 2009 - pth@suse.de diff --git a/e2fsprogs.spec b/e2fsprogs.spec index 8c43c42..28d8fa0 100644 --- a/e2fsprogs.spec +++ b/e2fsprogs.spec @@ -1,5 +1,5 @@ # -# spec file for package e2fsprogs (Version 1.41.4) +# spec file for package e2fsprogs (Version 1.41.7) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,11 +19,10 @@ Name: e2fsprogs -%define no_command_hiding 1 -BuildRequires: libvolume_id-devel License: GPL v2 or later Group: System/Filesystems Supplements: filesystem(ext2) filesystem(ext3) +BuildRequires: libblkid-devel libuuid-devel pkg-config PreReq: %install_info_prereq AutoReqProv: on # bug437293 @@ -31,28 +30,20 @@ AutoReqProv: on Obsoletes: e2fsprogs-64bit %endif # -Version: 1.41.4 -Release: 3 +Version: 1.41.7 +Release: 1 Summary: Utilities for the Second Extended File System Url: http://e2fsprogs.sourceforge.net Source: %{name}-%{version}.tar.bz2 Source2: README.SUSE -Source3: uuidd.rc -Source4: sysconfig.uuidd -Source5: README.SUSE.uuidd -Source6: %{name}-%{version}.de.po +Source6: %{name}-1.41.4.de.po # # e2fsprogs patches # -Patch1: e2fsprogs-mdraid.patch -Patch2: e2fsprogs-base_devt.patch -Patch3: e2fsprogs-libvolume_id-support.patch -Patch5: e2fsprogs-1.40.4-uuidd_pid_path.patch Patch7: e2fsprogs-1.41.1-splash_support.patch # libcom_err patches Patch34: libcom_err-compile_et_permissions.patch # Do not suppress make commands -Patch99: e2fsprogs-no_cmd_hiding.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -60,13 +51,6 @@ Utilities needed to create and maintain ext2 and ext3 file systems under Linux. Included in this package are: chattr, lsattr, mke2fs, mklost+found, tune2fs, e2fsck, resize2fs, and badblocks. - - -Authors: --------- - Remy Card - Theodore Ts'o - %package devel License: GPL v2 or later Summary: Dummy development package @@ -77,18 +61,11 @@ AutoReqProv: on Obsoletes: e2fsprogs-devel-64bit %endif # -Requires: libext2fs-devel = %version libblkid-devel = %version libuuid-devel = %version +Requires: libext2fs-devel = %version libblkid-devel libuuid-devel %description devel Dummy development package for backwards compatibility. - - -Authors: --------- - Remy Card - Theodore Ts'o - %package -n libext2fs2 License: GPL v2 or later Summary: Ext2fs libray @@ -98,13 +75,6 @@ AutoReqProv: on %description -n libext2fs2 The basic Ext2fs library. - - -Authors: --------- - Remy Card - Theodore Ts'o - %package -n libext2fs-devel License: GPL v2 or later Summary: Development files for libext2fs @@ -115,13 +85,6 @@ Requires: libext2fs2 = %version libcom_err-devel %description -n libext2fs-devel Development files for libext2fs. - - -Authors: --------- - Remy Card - Theodore Ts'o - %package -n libcom_err2 License: GPL v2 or later Summary: E2fsprogs error reporting library @@ -139,13 +102,6 @@ AutoReqProv: on %description -n libcom_err2 com_err is an error message display library. - - -Authors: --------- - Remy Card - Theodore Ts'o - %package -n libcom_err-devel License: GPL v2 or later Summary: Development files for libcom_err @@ -161,149 +117,42 @@ Requires: libcom_err2 = %version %description -n libcom_err-devel Development files for the com_err error message display library. - - -Authors: --------- - Remy Card - Theodore Ts'o - -%package -n libblkid1 -License: GPL v2 or later -Summary: Filesystem detection library -Group: System/Filesystems -AutoReqProv: on - -%description -n libblkid1 -Library for filesystem detection. - - - -Authors: --------- - Remy Card - Theodore Ts'o - -%package -n libblkid-devel -License: GPL v2 or later -Summary: Development files for the filesystem detection library -Group: Development/Libraries/C and C++ -AutoReqProv: on -Requires: libblkid1 = %version libuuid-devel - -%description -n libblkid-devel -Files needed to develop applications using the library for filesystem -detection. - - - -Authors: --------- - Remy Card - Theodore Ts'o - -%package -n uuid-runtime -License: GPL v2 or later -Summary: Utilities for the Second Extended File System -Group: System/Filesystems -AutoReqProv: on -PreReq: %fillup_prereq %insserv_prereq permissions pwdutils - -%description -n uuid-runtime -Utilities needed to create and maintain ext2 and ext3 file systems -under Linux. Included in this package are: chattr, lsattr, mke2fs, -mklost+found, tune2fs, e2fsck, resize2fs, and badblocks. - - - -Authors: --------- - Remy Card - Theodore Ts'o - -%package -n libuuid1 -License: GPL v2 or later -Summary: Library to generate UUIDs -Group: System/Filesystems -AutoReqProv: on - -%description -n libuuid1 -A library to generate universally unique IDs (UUIDs). - - - -Authors: --------- - Remy Card - Theodore Ts'o - -%package -n libuuid-devel -License: GPL v2 or later -Summary: Development files for libuuid1 -Group: Development/Libraries/C and C++ -AutoReqProv: on -Requires: libuuid1 = %version - -%description -n libuuid-devel -Files to develop applications using the library to generate universally -unique IDs (UUIDs). - - - -Authors: --------- - Remy Card - Theodore Ts'o - %prep %setup -q # e2fsprogs patches -%patch1 -%patch2 -p1 -%patch3 -p1 -%patch5 -p1 %patch7 -p1 # libcom_err patches %patch34 -p1 -%if %{no_command_hiding} -%patch99 -p1 -%endif -cp %{SOURCE2} %{SOURCE5} . +cp %{SOURCE2} . cp %{S:6} po/de.po %build autoreconf --force --install #autoconf ./configure --prefix=%{_prefix} \ - --with-root-prefix='' \ - --mandir=%{_mandir} \ - --infodir=%{_infodir} \ - --libdir=%{_libdir} \ - --enable-elf-shlibs \ - --disable-evms \ - CFLAGS="$RPM_OPT_FLAGS" + --with-root-prefix='' \ + --mandir=%{_mandir} \ + --infodir=%{_infodir} \ + --libdir=%{_libdir} \ + --enable-elf-shlibs \ + --disable-evms \ + --disable-libblkid \ + --disable-libuuid \ + --disable-uuidd \ + --disable-fsck \ + CFLAGS="$RPM_OPT_FLAGS" make %install make install install-libs DESTDIR=$RPM_BUILD_ROOT ELF_INSTALL_DIR=/%{_lib} %{find_lang} %{name} rm $RPM_BUILD_ROOT%{_libdir}/e2initrd_helper -mkdir -p $RPM_BUILD_ROOT/var/lib/libuuid/ -mkdir -p $RPM_BUILD_ROOT/var/run/uuidd/ -# init script for uuidd -mkdir -p $RPM_BUILD_ROOT/etc/init.d/ -install -m 744 %{SOURCE3} $RPM_BUILD_ROOT/etc/init.d/uuidd -ln -sf ../../etc/init.d/uuidd $RPM_BUILD_ROOT/usr/sbin/rcuuidd -# fillup template -mkdir -p ${RPM_BUILD_ROOT}/var/adm/fillup-templates -install -m 644 %{SOURCE4} ${RPM_BUILD_ROOT}/var/adm/fillup-templates/ rm -f $RPM_BUILD_ROOT/sbin/mkfs.ext4dev rm -f $RPM_BUILD_ROOT/sbin/fsck.ext4dev rm -f $RPM_BUILD_ROOT/usr/share/man/man8/mkfs.ext4dev.8 rm -f $RPM_BUILD_ROOT/usr/share/man/man8/fsck.ext4dev.8 - -%check -make check +rm -f $RPM_BUILD_ROOT/usr/bin/uuidgen +rm -f $RPM_BUILD_ROOT/usr/share/man/man1/uuidgen.1 %clean rm -rf $RPM_BUILD_ROOT @@ -328,39 +177,9 @@ rm -rf $RPM_BUILD_ROOT %postun -n libcom_err2 /sbin/ldconfig -%post -n libblkid1 -/sbin/ldconfig - -%postun -n libblkid1 -/sbin/ldconfig - -%pre -n uuid-runtime -/usr/sbin/groupadd -r uuidd 2>/dev/null || : -/usr/sbin/useradd -r -g uuidd -c "User for uuidd" \ - -d /var/run/uuidd uuidd 2>/dev/null || : - -%preun -n uuid-runtime -%{stop_on_removal uuidd} - -%post -n uuid-runtime -%{fillup_only -n uuidd} -%run_permissions - -%postun -n uuid-runtime -%{restart_on_update uuidd} -%{insserv_cleanup} - -%post -n libuuid1 -/sbin/ldconfig - -%postun -n libuuid1 -/sbin/ldconfig -%verifyscript -n uuid-runtime -%verify_permissions -e /usr/sbin/uuidd - %files -f %{name}.lang %defattr(-, root, root) -%doc RELEASE-NOTES README doc/libblkid.txt +%doc RELEASE-NOTES README %config /etc/mke2fs.conf /sbin/badblocks /sbin/debugfs @@ -368,7 +187,6 @@ rm -rf $RPM_BUILD_ROOT /sbin/e2undo /sbin/e2fsck /sbin/e2label -/sbin/fsck /sbin/fsck.ext2 /sbin/fsck.ext3 /sbin/fsck.ext4 @@ -380,8 +198,6 @@ rm -rf $RPM_BUILD_ROOT /sbin/tune2fs /sbin/e2image /sbin/logsave -/sbin/blkid -/sbin/findfs /usr/bin/chattr /usr/bin/lsattr /usr/sbin/mklost+found @@ -392,49 +208,11 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man5/e2fsck.conf.5.gz %{_mandir}/man5/mke2fs.conf.5.gz %{_mandir}/man8/*.8.gz -%exclude %{_mandir}/man8/uuidd.8.gz %files devel %defattr(-,root,root) %doc README.SUSE -%files -n libblkid1 -%defattr(-, root, root) -/%{_lib}/libblkid.so.* - -%files -n libblkid-devel -%defattr(-, root, root) -%{_libdir}/libblkid.a -%{_libdir}/libblkid.so -/usr/include/blkid -%_libdir/pkgconfig/blkid.pc -%{_mandir}/man3/libblkid.3.gz - -%files -n uuid-runtime -%defattr(-, root, root) -%doc README.SUSE.uuidd -/usr/bin/uuidgen -%verify(not mode) %attr(0755,root,root) /usr/sbin/uuidd -%attr(-,uuidd,uuidd) %dir /var/lib/libuuid -%attr(-,uuidd,uuidd) %dir /var/run/uuidd -/etc/init.d/uuidd -/usr/sbin/rcuuidd -/var/adm/fillup-templates/sysconfig.uuidd -%{_mandir}/man1/uuidgen.1.gz -%{_mandir}/man8/uuidd.8.gz - -%files -n libuuid1 -%defattr(-, root, root) -/%{_lib}/libuuid.so.* - -%files -n libuuid-devel -%defattr(-, root, root) -%{_libdir}/libuuid.a -%{_libdir}/libuuid.so -/usr/include/uuid -%_libdir/pkgconfig/uuid.pc -%{_mandir}/man3/uuid* - %files -n libext2fs2 %defattr(-, root, root) /%{_lib}/libext2fs.so.* @@ -475,770 +253,3 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/com_err.3.gz %changelog -* Mon Mar 09 2009 pth@suse.de -- Fix errors in German messages. -* Fri Feb 20 2009 coolo@suse.de -- ext4dev is now ext4 (2.6.29) -- don't call autoconf as long as it works without -* Tue Feb 03 2009 mkoenig@suse.de -- update to version 1.41.4: - debugfs: - * enhance the "ncheck" command - * enhance "hash" command - * fix a potential memory leak - * fix the usage message for logdump command - * fix ncheck command so that it prints all of the names of - hardlinks in the same directory - * e2fsprogs 1.41 broke debugfs's logdump command for normal - ext3/4 filesystems with 32-bit block numbers, when the headers - for 64-bit block numbers was added. This regression has been fixed - * ncheck command has been fixed to avoid printing garbage - characters at the end of file names - e2fsck: - * don't accidentally print the translation file's - header when asking the user a custom question - * print the correct inode number for uinit_bg related problems - * will now offer to clear the test_fs flag if the ext4 filesystem - is available on linux - * fix a bug where in preen mode, if there are disk I/O errors - while trying to close a filesystem can lead to infinite loops - * no longer abort an fsck run if block group has an errant - INODE_UNINIT flag - * distinguish between fragmented directories and fragmented - files in verbose mode statistics and in the fragcheck report - * fix a bug which caused it double count non-contiguous - extent-based inodes - * e2fsck will leave some slack space when repacking directories - to allow room for a few directory entries to be added without - causing leaf nodes to be split right away - * fix a bug which caused e2fsck to crash when it comes across a - corrupted interior node in an extent tree - * e2fsck problem descriptions involving the journal are no longer - referred to as "ext3" problems, since ext4 filesystems also have - journals - * fix a long-standing bug in e2fsck which would cause it to crash - when replying journals for filesystems with block sizes greater - than 8k - badblocks: - * support for normal files which are greater than 2GB - * display the time and percentage complete when in verbose mode - resize2fs: - * fix a potential memory corruption problem - * fix a bug in resize2fs where passing in a bogus new size of - 0 blocks will cause resize2fs to drop into an infinite loop - * fix resize2fs for ext4 filesystems - tune2fs: - * now updates the block group checksums when changing the UUID - to avoid causing e2fsck to complain vociferously at the next reboot - * inode size resizing algorithms have been fixed so it is not - vastly inefficient for moderate-to-large filesystems - * fix inode resizing algorithm so it will not corrupt filesystems - laid out for RAID filesystems; in addition, tune2fs will refuse - to change the inode size for filesystems that have the flex_bg - feature enabled - dumpe2fs: - * fix bug which caused dumpe2fs to abort with an error if run on a - filesystem that contained an external journal - mke2fs: - * new option -U, which allows the user to specify the UUID that - should be used for the new filesystem - * treat devices that are exactly 16TB as if they were 16TB minus - one block - blkid: - * fix a file descriptor leak in libblkid - * correctly detect whether the ext4 and ext4dev filesystems - are available, so that the ext4dev->ext4 fallback code works - correctly - * fixed a bug which could sometimes cause blkid to return an - exit value of zero for a non-existent device - * recognize ext3 filesystems that have the test_fs flag - set as ext3 filesystems - * recognize btrfs filesystems and swap devices currently used - by user-level software suspend - libext2fs: - * add a check in the Unix I/O functions in libext2fs so that - when a device is opened read/write, return an error if the - device is read-only using the BLKROGET ioctl -- the libcom_err patches for bnc#66534 have been removed because - git commit d7f45af802330a0e1450afa05185d3722e77a76c - should fix the problem -- remove patches - e2fsprogs-1.41.1-e2fsck_fix_automatic_blocksize_detection.patch - e2fsprogs-1.41.1-function_signature_fix.patch - e2fsprogs-1.41.1-link_fix.patch - libcom_err-disable_test.patch - libcom_err-mutex.patch - libcom_err-no-init_error_table.patch -* Tue Jan 13 2009 olh@suse.de -- obsolete old -XXbit packages (bnc#437293) -* Thu Dec 04 2008 mkoenig@suse.de -- send bootsplash messages in one write call -* Tue Oct 28 2008 mkoenig@suse.de -- fix function signature to avoid compiler warning [bnc#439129] -* Tue Oct 07 2008 mkoenig@suse.de -- e2fsck: fix e2fsck automatic blocksize detetion -* Mon Sep 29 2008 mkoenig@suse.de -- e2fsck: shut off splash screen when check is needed [bnc#237283] -* Mon Sep 15 2008 mkoenig@suse.de -- remove recommends of uuid-runtime from libuuid [bnc#426278] -- move uuid hints README.SUSE.uuidd to uuid-runtime package -* Fri Sep 05 2008 mkoenig@suse.de -- update to version 1.41.1 - * mke2fs - + issues now a warning if there is no definition in - /etc/mke2fs.conf for the filesystem to be created - + creates now the journal in the middle of the filesystem - + now avoids allocating an extra block to the journal - + will correctly enforce the prohibition against features - in revision 0 filesystems - + previously would occasionaly create some slightly non-optimally - placed inode tables; this bug has been fixed - + will now set the creation timestamp on the lost+found directory - and the root directory - * blkid - + recognize MacOS hfsx filesystems, and correctly extract the - label and uuid for hfs, hfsx, and hfsplus filesystems - + improved detection of JFS and HPFS - + more efficient handling of devicemapper devices - + fix cache validation bugs - + The blkid program will now print out a user-friendly listing - of all of the block devices in the system and what they - contain when given the -L option - * resize2fs - + will now correctly handle filesystems with extents and/or - uninitialized block groups correctly when file/directory blocks - need to relocated - + support for on-line resizing ext4 filesystem with the flex_bg - filesystem feature. The method for doing so is not optimal, - but to do a better job will require kernel support - + is now correctly managing the directory in-use counts when - shrinking filesystems and directory inodes needed to be moved - from one block group to another - * e2fsck - + now correctly calculates ind/dind/tind statistics in the - presence of extent-based files - + now prints the depth of corrupt htree directories - * debugfs - + htree command now correctly understands extent-based - directories - + new command which will print the supported features - * Add support for setting the default hash algorithm used in b-tree - directories in tune2fs (from a command-line option) or mke2fs (via - mke2fs.conf). In addition, change the default hash algorithm to - half_md4, since it is faster and better - * Fix support for empty directory blocks in ext4 filesystems with - 64k blocksize filesystems - * The filefrag program now has a more accurate calculation for the - number of ideal extents -- fix linking of blkid - e2fsprogs-1.41.1-link_fix.patch -- remove patches - e2fsprogs-1.41.0-fix_messages.patch - e2fsprogs-1.41.0-tst_link_fix.patch -* Fri Aug 29 2008 kay.sievers@novell.com -- update libvolume_id patch to work with libvolume_id.so.1 -* Thu Aug 21 2008 pth@suse.de -- Add current german messages. -- Fix e2fsprogs-base_devt.patch and e2fsprogs-libvolume_id-support.patch - so that the package tools work. -- Add missing space to two messages and resync message - catalogs by configuring with --enable-maintainer-mode. -* Wed Aug 20 2008 mkoenig@suse.de -- add uuid related manpages to uuid-runtime subpackage [bnc#418568] -* Mon Aug 18 2008 mkoenig@suse.de -- currently do not install *.ext4 links for mkfs and fsck - tools, but only the *.ext4dev links. -* Wed Jul 16 2008 mkoenig@suse.de -- update to version 1.41.0 - * add support for ext4 filesystem features: - extents, uninit_bg, flex_bg, huge_file, dir_nlink - * support for checking journal checksums - * tune2fs supports migrating fs from 128 byte inode to 256 byte - * add support for "undo" - * e2fsck now performs more extensive and careful checks of extended - attributes stored in the inod -- fix e2fsck make check -* Wed Jul 02 2008 schwab@suse.de -- Remove doubleplusungood -fsigned-char. -* Tue Jun 24 2008 mkoenig@suse.de -- update to version 1.40.11 - most important changes since 1.40.8: - * Mke2fs will not allow the logically incorect combination of - resize_inode and meta_bg, which had previously caused mke2fs - to create a corrupt fileystem - * Fix mke2fs's creation of resize inode when there is a - non-standard s_first_data_block setting - * Teach fsck to treat "ext4" and "ext4dev" as ext* filesystems - * Fix fsck so that progress information is sent back correctly - * Add detection for ZFS volumes to the libblkid library -- remove e2fsprogs-1.40.7.de.po, updated upstream -- remove patches - e2fsprogs-1.40.7-uuidd_security.patch - e2fsprogs-1.40.8-e2fsck_recovery_fix.patch - e2fsprogs-1.40.8-fix_ext2fs_swap_inode_full.patch - e2fsprogs-1.40.8-missing_init.patch -* Tue May 27 2008 ro@suse.de -- fix baselibs.conf to not generate unresolvable deps -* Wed May 21 2008 cthiel@suse.de -- fix baselibs.conf -* Wed May 21 2008 mkoenig@suse.de -- e2fsck: Fix potential data corruptor bug in journal recovery - [bnc#393095] -* Tue May 13 2008 mkoenig@suse.de -- libuuid: do not use unintialized variable [bnc#386649] -* Wed May 07 2008 coolo@suse.de -- fix provides/obsoletes for rename -* Thu Apr 10 2008 ro@suse.de -- added baselibs.conf file to build xxbit packages - for multilib support -* Tue Mar 18 2008 pth@suse.de -- Readd the current de.po just submitted upstream to the TP robot. -* Fri Mar 14 2008 mkoenig@suse.de -- update to version 1.40.8 - * Fixed e2image -I so it works on image files which are larger than 2GB - * Fixed e2fsck's handling of directory inodes with a corrupt size field - * Fixed e2fsck handling of pass 2 "should never happen error" - * Fixed Resize2fs bug resizing large inodes with extended attributes -- update README.SUSE: give some hints on enabling uuidd, since it has - been decided to not enable it by default [bnc#354398] -- removed - de.po (updated upstream) -* Tue Mar 04 2008 mkoenig@suse.de -- update to version 1.40.7 - * Remove support for clearing the SPARSE_SUPER feature from tune2fs, and - depreciate the -s option, since it can result in filesystems which - e2fsck can't fix easily. There are very good reasons for wanting to - disable sparse_super; users who wants to turn off sparse_super can use - debugfs. - * Add missing options to mke2fs's usage message - * Fix bug in resize2fs when large (greater than 128 byte) inodes are - moved when a filesystem is shrunk - * E2fsck now prints an explicit message when the bad block inode is - updated, to avoid confusion about why the filesystem was modified. - * Allow mke2fs and tune2fs manipulate the large_file feature. - Previously we just let the kernel and e2fsck do this automatically, - but e2fsck will no longer automatically clear the large_file feature - * Suppress message about an old-style fstab if the fstab file is empty - * Change e2fsck to no longer clear the LARGE_FILES feature flag - automatically, when there are no more > 2GB files in the filesystem. - * Fix bug which could cause libblkid to seg fault if a device mapper - volume disappears while it is being probed. - * Enhance e2fsck's reporting of unsupported filesystem feature flags - * Fix option syntax in dumpe2fs for explicit superblock and blocksize - parameters - * Add support to tune2fs to clear the resize_inode feature - * Teach blkid to detect LVM2 physical volumes - * Add support for setting RAID stride and stripe-width via mke2fs and - tune2fs. Teach dumpe2fs to print the RAID parameters - * Add support for setting new superblock fields to debugfs's - set_super_value - * Add support for printing "mostly-printable" extended attributes in - Debugfs - * Add support for the -M option to fsck, which causes it to ignore - mounted filesystem - * Fix uuidd so that it creates the pid file with the correct pid number -- The -M option is now used upstream to ignore mounted filesystems, - this has previously been in SuSE with -m. This has to be changed - since lower case characters are reserved for filesystem specific - checker options. The "like mount" behaviour previously in SuSE - with -M has been removed. -- add patch from Eric Sandeen to fix the loss of extended attributes - in large inodes upon resize -- removed patches - fsck-ignore-mounted.patch -* Wed Feb 27 2008 mkoenig@suse.de -- update to version 1.40.6 - * Add support for returning labels for UDF filesystems in the blkid - library - * Fix bug in the blkid library where cached filesystems was not being - flushed - * Added logic to the blkid library to automatically choose whether a - filesystem should be mounted as ext4 or ext4dev, as appropriate - * Allow tune2fs to set and clear the test_fs flag on ext4 filesystems -- removed patches: - e2fsprogs-1.40.5-blkid_cache_file_env.patch (merged) - libcom_err-no-static-buffer.patch (fixed upstream with TLS) -* Tue Jan 29 2008 mkoenig@suse.de -- update to version 1.40.5: - * Fix a potential overflow big in e2image - * Mke2fs will now create new filesystems with 256 byte inodes and the - ext_attr feature flag by default - * Teach e2fsck to ignore certain "safe" filesystem features which are - set automatically by the kernel - * Add support in tune2fs and mke2fs for making a filesystem as being "ok - to be used with test kernel code" - * Change e2fsck -fD so that it sorts non-htree directories by inode - numbers instead of by name, since that optimizes performances much - more significantly - * If e2image fills the disk, fix it so it exits right away - * If ftruncate64() is not available for resize2fs, let it use ftrucate() - instead - * Add support for detecting HFS+ filesystems in the blkid library - * Add supprt in the blkid library for ext4/ext4dev filesystems - * Fix a bug in blkid where it could die on a floating point exception - when presented with a corrupt reiserfs image - * Fix blkid's handling of ntfs UUID's so that leading zeros are printed - such that UUID string is a fixed length - * Fix debugfs's 'lsdel' command so it uses ext2fs_block_iterate2 so it - will work with large files - * Allow the debugfs 'undel' command to undelete an inode without linking - it to a specific destination directory -- enhance init script -- add sysconfig parameter UUIDD_ON_DEMAND_ONLY setting the startup - policy for uuidd -- remove merged and obsolete patches: - close.patch - e2fsprogs-1.33-codecleanup.diff - e2fsprogs-1.35-libdir.diff - e2fsprogs-1.39-resize2fs_manpage.patch - e2fsprogs-1.40.4-uuid_null.patch - e2fsprogs-blkid.diff - e2fsprogs-blkid_probe_hfsplus.patch - e2fsprogs-strncat.patch - elf.diff - e2fsprogs-mkinstalldirs.patch - e2fsprogs-special_make_targets.patch - e2fsprogs-probe_reiserfs-fpe.patch - e2fsprogs-1.33-fsckdevdisplay.diff - e2fsprogs-uninitialized.diff -* Wed Jan 16 2008 mkoenig@suse.de -- update to version 1.40.4: - * Fix potential security vulnerability (CVE-2007-5497) - * Fix big-endian byte-swapping bug in ext2fs_swap_inode_full() - * Fix a bug in ext2fs_initialize() which causes mke2fs to fail while - allocating inode tables for some relatively rare odd disk sizes. - * Fix bug in ext2fs_check_desc() which will cause e2fsck to complain - about (valid) filesystems where the inode table extends to the last - block of the block group - * Change e2fsck so it will not complain if a file has blocks reallocated - up to the next multiple of a system's page size - * Change e2fsck so it uses sscanf() instead of atoi() so it non-numeric - arguments are detected as such and the parse error is reported to the - user - * Make the e2fsprogs program more robust so that they will not crash - when opening a corrupt filesystem where s_inode_size is zero. - * Fix e2fsck so that if the superblock is corrupt, but still looks - vaguely like an ext2/3/4 superblock, that it automatically tries to - fall back to the backup superblock, instead of failing with a hard - error - * Fix fsck to ignore /etc/fstab entries for bind mounts - * E2fsck will no longer mark a filesystem as invalid if it has time - errors and the user refuses to fix the problem. - * Enhance blkid's detection of FAT filesystems - * Enhance e2fsck so it will force the backup superblocks to be backed up - if the filesystem is consistent and key constants have been changed - (i.e., by an on-line resize) or by e2fsck in the course of its - operations. - * Enhance the blkid library so it will recognize squashfs filesystems - * Fix e2image so that in raw mode it does not create an image file which - is one byte too large - * Fix heuristics in blkid which could cause a disk without partitions to - be incorrectly skipped when a loopback device is present - * Avoid division by zero error when probing an invalid FAT filesystem in - the blkid library - * Fix sign-extension problem on 64-bit systems in in the com_err - library - * Format control characters and characters with the high eighth bit set - when printing the contents of the blkid cache, to prevent filesystems - with garbage labels from sending escape sequences - * Fix fsck to only treat the '#' character as a comment at the beginning - of the line in /etc/fstab - * Filter out the NEEDS_RECOVERY feature flag when writing out the backup - superblocks - * Improve time-based UUID generation. A new daemon uuidd, is started - automatically by libuuid if necessary -- new subpackage: uuid-runtime - containing uuidd and uuidgen -- removed obsolete patches - e2fsprogs-1.39-uuid_duplicates.patch - e2fsprogs-1.40.2-open_fix.patch - e2fsprogs-1.40-be_swap_fix.patch -* Mon Nov 26 2007 mkoenig@suse.de -- fix build: missing third argument to open -- do not remove buildroot in install section -* Fri Jul 27 2007 mkoenig@suse.de -- fix typo in specfile -* Thu Jul 26 2007 mkoenig@suse.de -- Fix big-endian byte-swapping bug in ext2fs_swap_inode_full() - e2fsprogs-1.40-be_swap_fix.patch -* Wed Jul 25 2007 bk@suse.de -- e2fsprogs requires libext2fs2 of the same version number to work -- enable make check and make gcc-wall in %%check (executed last) -- shut up bogus gcc warning for use of uninitialised variables -* Wed Jul 25 2007 mkoenig@suse.de -- remove e2fsprogs-blkid_probe_ext4.patch - broken and it is way too early to support -* Wed Jul 18 2007 mkoenig@suse.de -- update to version 1.40.2 - bugfix release -* Mon Jul 09 2007 mkoenig@suse.de -- update to version 1.40.1: - * Bugfix release -- removed patch (merged upstream) - e2fsprogs-1.39-cleanup.patch -* Wed Jul 04 2007 mkoenig@suse.de -- update to version 1.40 -- branch off libraries: - libblkid1 - libuuid1 - libext2fs2 -- renaming libcom_err to libcom_err2 -* Tue Jun 19 2007 mkoenig@suse.de -- fix e2fsprogs-1.39-uuid_duplicates.patch [#189640] - * detach shm segment after use - * set SEM_UNDO for semaphore operations, otherwise we do not - get a clean state after interruption by a signal -* Wed Apr 25 2007 pth@suse.de -- Fix German translations. -* Wed Apr 11 2007 mkoenig@suse.de -- blkid: fix hfsplus probing to detect HFS+ volumes embedded - in a HFS volume -* Wed Apr 04 2007 mkoenig@suse.de -- add Supplements line [FATE#301966] -* Fri Mar 30 2007 mkoenig@suse.de -- update to current hg version from 29-03-2007 - * Fixes a lot of memory leaks and other bugs -- remove merged patch: - e2fsprogs-1.39-check_fs_open-in-dump_unused.patch -* Wed Mar 28 2007 mkoenig@suse.de -- blkid: add hfsplus volume detection (FATE#302071) -- blkid: add experimental detection of ext4dev (FATE#301897) -* Thu Jan 25 2007 mkoenig@suse.de -- fix segfault in debugfs when using without open fs [#238140] -* Mon Jan 22 2007 mkoenig@suse.de -- don't chmod -w headers in compile_et to avoid build - problems with some packages -* Fri Jan 19 2007 mkoenig@suse.de -- update to version 1.40-WIP-1114 (FATE#301897) - * support for ext4 - * several bugfixes -- remove ext2resize from package, because the online resizing - functionality has been merged into resize2fs since version 1.39 - and ext2resize is unmaintained. -* Tue Dec 19 2006 meissner@suse.de -- fixed build -* Wed Nov 08 2006 ro@suse.de -- provide libcom_err-devel in libcom_err -* Thu Oct 19 2006 mkoenig@suse.de -- fix bug in uuid patch -* Mon Oct 16 2006 mkoenig@suse.de -- fix build of shared lib -* Thu Oct 12 2006 mkoenig@suse.de -- fix uuid bug [#189640] -- fix blkid problem with empty FAT labels [#211110] -- fix small typo in resize2fs man page -* Tue Sep 26 2006 mkoenig@suse.de -- fix bug in fsck udev/libvolume_id patch [#205671] -* Wed Sep 20 2006 mkoenig@suse.de -- update to version 1.39: - * Fix 32-bit cleanliness - * Change mke2fs to use /etc/mke2fs.conf - * Mke2fs will now create filesystems hash trees and - on-line resizing enabled by default - * The e2fsprogs tools (resize2fs, e2fsck, mke2fs) will open the - filesystem device node in exclusive mode - * Add support for on-line resizing to resize2fs. - * The blkid library will now store the UUID of the external - journal used by ext3 filesystems - * E2fsck will now consult a configuration file, /etc/e2fsck.conf - * E2fsck will detect if the superblock's last mount field or - last write field is in the future, and offer to fix if so. - * E2fsck now checks to see if the superblock hint for the - location of the external journal is incorrect - * Resize2fs will now automatically determine the RAID stride - parameter that had been used to create the filesystem - * Fix mke2fs so that it correctly creates external journals on - big-endian machines - * Fix a bug in the e2p library - * Add a new debugfs command, set_current_time - * Fix debugfs commands - * Fix mklost+found so that it creates a full-sized directory on - filesystems with larger block sizes. - * Fix a file descriptor leak in blkid library - * Allow fractional percentages to the -m option in mke2fs and tune2fs - * Add support for device mapper library to the blkid library - * Fix the blkid library so that it notices when an ext2 filesystem - is upgraded to ext3. - * Improve the blkid's library VFAT/FAT detectio - * Add support for the reiser4 and software suspend partitions - to the blkid library. -- update ext2resize to version 1.1.19: - * Add support for ext3 online resizing - * Support LARGEFILE compat flag - * Make the resize inode part of the fs struct - * Add the FL_IOCTL flag - * Bugfixes -* Fri Aug 11 2006 pth@suse.de -- Fix to comply with gettex 0.15. -- Move ext2resize sources to toplevel directory. -- Fix use of MKINSTALLDIRS. -* Fri Aug 04 2006 kay.sievers@suse.de -- update libvolume_id integration to match util-linux -* Fri Jun 16 2006 ro@suse.de -- added libvolume_id-devel to BuildRequires -- updated e2fsprogs-udev.patch to match header rename -* Wed Feb 08 2006 hare@suse.de -- Fix fsck -m (#146606) to really check filesystems. -* Mon Jan 30 2006 hvogel@suse.de -- Document -I inode-size [#145445] -* Sun Jan 29 2006 hvogel@suse.de -- fix hares patch -* Fri Jan 27 2006 hare@suse.de -- Add option to not return an error code for mounted - filesystems (#145400). -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Fri Jan 20 2006 hvogel@suse.de -- Support ext2/ext3 online resize -* Mon Dec 12 2005 hvogel@suse.de -- remove lib/et/test_cases/imap_err* from the tarball because - they are not distributeable. -* Tue Dec 06 2005 pth@suse.de -- remove unnecessary type-punning -- reduce compiler warnings -* Tue Nov 15 2005 jblunck@suse.de -- added close.patch provided by Ted Tso (IBM) to fix bug #132708 -* Mon Nov 14 2005 hare@suse.de -- Use devt when comparing devices -- fsck: Use information provided by udev for detecting devices -* Wed Oct 05 2005 hvogel@suse.de -- fix too few arguments to a *printf function -- require libcom_err on e2fsprogs-devel -* Fri Sep 09 2005 hvogel@suse.de -- add gross hack to avoid divide by zero in probe_reiserfs - [#115827] -* Mon Aug 08 2005 hvogel@suse.de -- added environment variable BLKID_SKIP_CHECK_MDRAID to work around - broken software raid detection [Bug #100530] -* Tue Jul 05 2005 hvogel@suse.de -- update to version 1.38 -- mt reworked his patches a bit. See Bug #66534 -* Thu Jun 23 2005 hvogel@suse.de -- call ldconfig in post/postun -- add version to devel package dependencie -- readd missing patch (7) -* Thu Apr 28 2005 hvogel@suse.de -- update to version 1.37 -- mt reworked one libcom_err patch a bit to provide more - meaningfull error handling -- fix retuen value in inode.c -* Thu Mar 31 2005 hvogel@suse.de -- split libcom_err to a subpackage -- add mutex synchronization to e2fsprogs/lib/et -- removed usage of a static buffer in error_message() -- disabled init_error_table function -- disabled build of unused e2fsck.static -* Fri Mar 18 2005 hvogel@suse.de -- fix endian unsafeness in getopt (#73855) -* Tue Feb 08 2005 hvogel@suse.de -- Update to 1.36 final -* Tue Aug 10 2004 pth@suse.de -- Update to 1.35 RC5 -* Wed Mar 17 2004 pth@suse.de -- Don't build the EVMS plugin because it's out of date for - EVMS in kernel 2.6. -* Thu Mar 04 2004 pth@suse.de -- Add patch from Olaf Hering that makes fsck read a different - blkid file via BLKID_FILE environment var (#35156) -* Thu Feb 19 2004 kukuk@suse.de -- Remove obsolete recode call -* Mon Jan 12 2004 ro@suse.de -- removed run_ldconfig again -* Sat Jan 10 2004 adrian@suse.de -- add %%run_ldconfig -* Thu Oct 02 2003 pthomas@suse.de -- Add patch from Kurt Garloff to make e2fsprogs compile - with latest kernel headers (SCSI_BLK_MAJOR undefined). -* Mon Sep 15 2003 pthomas@suse.de -- Fix czech message catalog which has been transformed twice - from latin2 to utf-8 and add an iconv call to the spec file - that will make building fail if the file is corrected upstream. -* Sat Aug 30 2003 agruen@suse.de -- Fix an endianness bug in ext2fs_swap_inode: Fast symlinks that - have extended attributes are acidentally byte swapped on - big-endian machines. -* Fri Aug 01 2003 pthomas@suse.de -- Apply patch from Ted T'so for badblocks. -* Thu Jul 31 2003 pthomas@suse.de -- Update to 1.34. -- Various fixes to libcom_err to make it really compatible - to the heimdal version. -- Fix int<->pointer casts. -- Fix places that may break strict aliasing. -* Fri Jun 20 2003 ro@suse.de -- added directory to filelist -* Wed May 14 2003 pthomas@suse.de -- Use %%defattr -- Include all installed files. -* Tue Apr 29 2003 mfabian@suse.de -- add libblkid.so* and libblkid.a to file lists -* Thu Apr 24 2003 pthomas@suse.de -- Update to 1.33 and adapt patches. -- Add missing headers where necessary. -* Thu Apr 24 2003 ro@suse.de -- fix install_info --delete call and move from preun to postun -* Fri Feb 07 2003 ro@suse.de -- added install_info macros -* Tue Oct 01 2002 garloff@suse.de -- Fix segfault in display of real device in presence of volume - name. #20422 -* Tue Sep 03 2002 mls@suse.de -- remove duplicate evms scan (already included in 1.28) -- fix volume group scan bug -* Mon Sep 02 2002 agruen@suse.de -- Update to 1.28. Includes very minor fixes in htree, which we have - disabled anyway, one fix that we had in a separate patch, and - has additional release notes. -* Mon Aug 19 2002 agruen@suse.de -- Update to 1.28-WIP-0817, which includes Extended Attribute - and several smaller fixes. We disable htree support and don't - install the evms library for now. -- Remove `make gcc-wall' for now (as it does a `make clean' in - doc/). -* Thu Aug 15 2002 mls@suse.de -- support jfs, reiserfs, evms in label/uuid scan (code stolen - from util-linux:mount) -* Sun Jul 28 2002 kukuk@suse.de -- Remove unused tetex from neededforbuild -* Fri Jul 19 2002 olh@suse.de -- use a better method for finding missed filelist entries -* Fri Apr 12 2002 sf@suse.de -- added %%{_libdir} -- added fix for lib/lib64 -* Thu Mar 28 2002 bk@suse.de -- fix man pages, filelist and add check for missing files in packs -* Wed Mar 27 2002 bk@suse.de -- Update to 1.27, fixes resource limit problem for other archs and - merges many patches -* Thu Mar 07 2002 pthomas@suse.de -- Add patch from Ted T'so to keep e2fsck from dumping - core when the journal inode is missing. -* Mon Mar 04 2002 pthomas@suse.de -- Fix implicit function declarations and some other gcc warnings. -- Include patch from Kurt Garloff to make e2fsck display the - device name in addition to the volume label. Adapt it to 1.26. -- Adapt BSD_disklables.diff to new code. -- Set LC_CTYPE in addition to LC_MESSAGES. -- Repack with bzip2. -* Fri Mar 01 2002 bk@suse.de -- Update to 1.26. This release has a number of critical bug - fixes over the previous release, version 1.25: -* Fri Feb 15 2002 pthomas@suse.de -- Use %%{_lib} and %%{_libdir}. -* Wed Feb 13 2002 pthomas@suse.de -- Make heimdal-devel conflict e2fsprogs-devel. - Temporary solution for bug #13145 -* Thu Dec 13 2001 pthomas@suse.de -- Add mkfs.ext2.8 because mkfs.8 from util-linux references it. - Fixes bug #12613. -* Fri Nov 23 2001 pthomas@suse.de -- Add accidently left out e2image to file list. Fixes bug - [#12009] -* Wed Oct 31 2001 ro@suse.de -- fix for axp: should malloc buffer _before_ use -* Wed Oct 10 2001 pthomas@suse.de -- Update to 1.25. -- Remove patches not needed anymore. -- Change mke2fs to output warnings to stderr not stdout. -- Repack as bz2. -* Mon Sep 24 2001 olh@suse.de -- replace ext2fs_d -* Fri Sep 21 2001 pthomas@suse.de -- Add patch for mke2fs from 1.25 as that bug seems to be the - reason for the mk_initrd warning. -* Wed Sep 12 2001 pthomas@suse.de -- Update to 1.24a: - - Fix brown-paper bug in mke2fs which caused it to segfault. - - Revert the BLKGETSIZE64 support as this ioctl has been used - by an unofficial kernel patch to update the last sector on - the disk, and this was causing disk corruption problems as a - result. - - Mke2fs is now more careful about zapping swap space signatures - and other filesystem/raid superblock magic values so. - - E2fsck will no longer complain if the the mode of - EXT2_RESIZE_INO is a regular file - - mke2fs and tune2fs will allow the use of UUID= or LABEL= - specifiers when specifying the external journal device. - tune2fs will also search devices looking for the external - journal device when removing. -* Fri Aug 17 2001 ro@suse.de -- update to 1.23 to enable external journals on ext3 -* Wed Aug 15 2001 pthomas@suse.de -- Update to 1.22. -- Drop fsck Patch as code changed. -- Use LD_LIBRARY_PATH to run test programs. -* Fri Jun 08 2001 pthomas@suse.de -- Remove incorrect use of AC_REQUIRE (fails with autoconf 2.5) -- Recompress tarball with bzip2. -* Thu Jan 18 2001 schwab@suse.de -- Add Obsoletes: ext2fs_d and Requires: e2fsprogs to devel - subpackage. -* Mon Nov 06 2000 pthomas@suse.de -- use _mandir and _infodir more consistently in spec file. -* Sun Nov 05 2000 ro@suse.de -- renamed packages to e2fsprogs/e2fsprogs-devel -* Fri Jun 09 2000 kasal@suse.cz -- Build dynamic libraries. Partition Surprise requires them. -- Make /usr/lib/*.so symlinks relative. -* Thu Mar 23 2000 kukuk@suse.de -- Don't erase BSD labels on Alpha -- Add Y2K fix to debugfs -* Wed Mar 22 2000 kukuk@suse.de -- Fix ifdefs for gcc 2.95.2 -* Tue Feb 22 2000 garloff@suse.de -- Bugfix for the change ... -- ... and change version no of fsck to 1.18a to reflect the change. -* Sun Feb 20 2000 garloff@suse.de -- Patch to be more clever WRT to basenames (used to find out wheter - a fsck for this device is already running). -- Give better message in case fsck fails, to tell the user what to - do. (e2fsck only displays the label, nowadays :-( ) -* Thu Feb 10 2000 kukuk@suse.de -- Use autoconf to create new configure -* Wed Jan 19 2000 ro@suse.de -- man,info -> /usr/share -* Mon Jan 17 2000 ro@suse.de -- fixed to build on kernels >= 2.3.39 -* Sat Nov 13 1999 kukuk@suse.de -- Update to e2fsprogs 1.18 -- Create new sub-package ext2fs_d which includes libs and headers -* Mon Nov 08 1999 ro@suse.de --fixed coredump in e2fsck -* Fri Oct 29 1999 ro@suse.de --e2fsprogs: 1.17 vital bugfix in e2fsck -* Sun Oct 24 1999 ro@suse.de -- e2fsprogs: update to 1.16, sparse_super is default on when - called on a > 2.2 kernel, can be overridden with -O none -* Fri Oct 15 1999 garloff@suse.de -- Disabled flushb again. (Moved to ddrescue.) -* Mon Sep 13 1999 bs@suse.de -- ran old prepare_spec on spec file to switch to new prepare_spec. -* Wed Sep 01 1999 ro@suse.de -- mke2fs: sparse superblocks default back to "off" -* Tue Aug 31 1999 ro@suse.de -- update to 1.15 -- cleanup diff and specfile -* Sun Jul 18 1999 garloff@suse.de -- Enabled flushb compilation -* Sat Jun 26 1999 kukuk@suse.de -- Add fix for fsck core dump from beta list -* Tue Mar 16 1999 ro@suse.de -- fixed configure call -* Fri Mar 12 1999 ro@suse.de -- update to 1.14 -* Thu Oct 29 1998 ro@suse.de -- respect change in 2.1.126 SCSI_DISK_MAJOR -* Tue Sep 01 1998 ro@suse.de -- update to 1.12 -* Sat Apr 26 1997 florian@suse.de -- update to new version 1.10 -* Sun Apr 13 1997 florian@suse.de -- update to new version 1.08 -- do not include ext2 libs and include files as they are only used by dump -* Thu Jan 02 1997 florian@suse.de -- update to new version 1.06 -* Thu Jan 02 1997 florian@suse.de -- update to newer version -- use now static libs instead of 4 small shared libs -* Thu Jan 02 1997 florian@suse.de - update to version 1.0.4 diff --git a/sysconfig.uuidd b/sysconfig.uuidd deleted file mode 100644 index a76be5b..0000000 --- a/sysconfig.uuidd +++ /dev/null @@ -1,14 +0,0 @@ -## Path: Applications/uuidd -## Description: Start uuidd on demand only -## Type: yesno -## Default: yes -# -# uuidd is normally started upon demand only by libuuid, -# if possible. It is not necessary to start uuidd to create -# UUIDs, it is only needed if you have the special requirement -# of creating a large amount of time-based UUIDs. -# It terminates then automatically when inactive after a -# timeout of 5 minutes. -# Set this to "no" if you want to run uuidd permanently. -# -UUIDD_ON_DEMAND_ONLY="yes" diff --git a/uuidd.rc b/uuidd.rc deleted file mode 100644 index 4204070..0000000 --- a/uuidd.rc +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh -### BEGIN INIT INFO -# Provides: uuidd -# Required-Start: $time $local_fs $remote_fs -# Should-Start: -# Required-Stop: $time $local_fs $remote_fs -# Should-Stop: -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Short-Description: UUID generating daemon -# Description: UUID generating daemon -### END INIT INFO -# - - -UUIDD_BIN=/usr/sbin/uuidd -UUIDD_PID_PATH=/var/run/uuidd -UUIDD_OPTIONS="-q -T 0" - -test -x $UUIDD_BIN || { echo "$UUIDD_BIN not installed"; - if [ "$1" = "stop" ]; then exit 0; - else exit 5; fi; } - -. /etc/rc.status -. /etc/sysconfig/uuidd - -# Reset status of this service -rc_reset - -case "$1" in - start) - echo -n "Starting uuidd " - if ! test -d $UUIDD_PID_PATH; then - mkdir -p $UUIDD_PID_PATH - chown uuidd:uuidd $UUIDD_PID_PATH - fi - - if test "$UUIDD_ON_DEMAND_ONLY" = no; then - /sbin/startproc $UUIDD_BIN $UUIDD_OPTIONS - else - echo -n "(on demand only)" - rc_failed 6 - fi - - rc_status -v - ;; - stop) - echo -n "Shutting down uuidd " - /sbin/killproc -TERM $UUIDD_BIN - - rc_status -v - ;; - try-restart|condrestart|force-reload) - ## Do a restart only if the service was active before. - ## Note: try-restart is now part of LSB (as of 1.9). - ## RH has a similar command named condrestart. - if test "$1" = "condrestart"; then - echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" - fi - $0 status - if test $? = 0; then - $0 restart - else - rc_reset # Not running is not a failure. - fi - # Remember status and be quiet - rc_status - ;; - restart) - $0 stop - $0 start - - rc_status - ;; - reload) - rc_failed 3 - rc_status -v - ;; - status) - echo -n "Checking for service uuidd " - /sbin/checkproc $UUIDD_BIN - - rc_status -v - ;; - *) - echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe}" - exit 1 - ;; -esac -rc_exit