gpart-0.1g-reiserfs-3.6.diff
Hello Stefan,
I've made a patch aginst gpart-0.1h for detecting reiserfs 3.6 partitions.
See attachment for details.
Signature · 1 line
Yury Umanets
gpart-0.1h/README renamed from gpart-0.1h.orig/README +19 -19
@@ -24,25 +24,25 @@ - Currently recognized partitions/filesystems types --------------------- - Modname Typ Description - fat 0x01 "Primary DOS with 12 bit FAT" - 0x04 "Primary DOS with 16 bit FAT (<= 32MB)" - 0x06 "Primary 'big' DOS (> 32MB)" - 0x0B "DOS or Windows 95 with 32 bit FAT" - 0x0C "DOS or Windows 95 with 32 bit FAT, LBA" - ntfs 0x07 "OS/2 HPFS, NTFS, QNX or Advanced UNIX" - hpfs 0x07 "OS/2 HPFS, NTFS, QNX or Advanced UNIX" - ext2 0x83 "Linux ext2 filesystem" - lswap 0x82 "Linux swap" - bsddl 0xA5 "FreeBSD/NetBSD/386BSD" - s86dl 0x82 "Solaris/x86 disklabel" - minix 0x80 "Minix V1" - 0x81 "Minix V2" - rfs 0x83 "Reiser filesystem" - hmlvm 0xFE "Linux LVM physical volumes" - qnx4 0x4F "QNX 4.x" - beos 0xEB "BeOS fs" - xfs 0x83 "SGI XFS filesystem" + Modname Typ Description + fat 0x01 "Primary DOS with 12 bit FAT" + 0x04 "Primary DOS with 16 bit FAT (<= 32MB)" + 0x06 "Primary 'big' DOS (> 32MB)" + 0x0B "DOS or Windows 95 with 32 bit FAT" + 0x0C "DOS or Windows 95 with 32 bit FAT, LBA" + ntfs 0x07 "OS/2 HPFS, NTFS, QNX or Advanced UNIX" + hpfs 0x07 "OS/2 HPFS, NTFS, QNX or Advanced UNIX" + ext2 0x83 "Linux ext2 filesystem" + lswap 0x82 "Linux swap" + bsddl 0xA5 "FreeBSD/NetBSD/386BSD" + s86dl 0x82 "Solaris/x86 disklabel" + minix 0x80 "Minix V1" + 0x81 "Minix V2" + reiserfs 0x83 "ReiserFS filesystem" + hmlvm 0xFE "Linux LVM physical volumes" + qnx4 0x4F "QNX 4.x" + beos 0xEB "BeOS fs" + xfs 0x83 "SGI XFS filesystem"
gpart-0.1h/man/gpart.man renamed from gpart-0.1h.orig/man/gpart.man +2 -2
@@ -63,8 +63,8 @@ MS Windows NT/2000 filesystem. .I qnx4 QNX 4.x filesystem. .TP -.I rfs -The Reiser filesystem (version 3.5.X, X > 11). +.I reiserfs +The Reiser filesystem (version 3.5.X, X > 11, 3.6.X). .TP .I s86dl Sun Solaris on Intel platforms uses a sub-partitioning
gpart-0.1h/src/Makefile renamed from gpart-0.1h.orig/src/Makefile +1 -1
@@ -19,7 +19,7 @@ CFLAGS+=-DGPART_LANG=\'$(GPART_LANG)\' endif -mod=ext2 lswap fat bsddl ntfs hpfs s86dl minix rfs hmlvm qnx4 beos xfs +mod=ext2 lswap fat bsddl ntfs hpfs s86dl minix reiserfs hmlvm qnx4 beos xfs modobj=$(foreach m,$(mod),gm_$(m).o) obj=gpart.o gmodules.o disku.o l64seek.o $(modobj) src=$(obj:.o=.c)
gpart-0.1h/src/gm_reiserfs.c renamed from gpart-0.1h.orig/src/gm_reiserfs.c +91 -0
91 lines not on this page · raw message
gpart-0.1h/src/gm_reiserfs.h renamed from gpart-0.1h.orig/src/gm_reiserfs.h +82 -0
82 lines not on this page · raw message
gpart-0.1h/src/gm_rfs.c renamed from gpart-0.1h.orig/src/gm_rfs.c +0 -88
88 lines not on this page · raw message
gpart-0.1h/src/gm_rfs.h renamed from gpart-0.1h.orig/src/gm_rfs.h +0 -68
68 lines not on this page · raw message
gpart-0.1h/src/gmodules.c renamed from gpart-0.1h.orig/src/gmodules.c +1 -1
@@ -154,7 +154,7 @@ void g_mod_addinternals()GMODINS (bsddl);GMODINS (lswap);GMODINS (qnx4); -GMODINS (rfs); +GMODINS (reiserfs);GMODINS (ntfs);GMODINS (hpfs);GMODINS (minix);
gpart-0.1h/src/gmodules.h renamed from gpart-0.1h.orig/src/gmodules.h +1 -1
@@ -63,7 +63,7 @@ g_module *g_mod_setweight(char *,float);GMODDECL (bsddl);GMODDECL (ext2);GMODDECL (fat);GMODDECL (hpfs);GMODDECL (lswap);GMODDECL (ntfs); -GMODDECL (s86dl);GMODDECL (minix);GMODDECL (rfs); +GMODDECL (s86dl);GMODDECL (minix);GMODDECL (reiserfs);GMODDECL (hmlvm);GMODDECL (qnx4);GMODDECL (beos);GMODDECL (xfs);