Your message dated Sat, 16 Jun 2018 18:04:20 +0000 with message-id <[email protected]> and subject line Bug#810735: fixed in fatresize 1.0.2-11 has caused the Debian Bug report #810735, regarding fatresize: fails to open /dev/mmcblk0p1 to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 810735: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810735 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: fatresize Version: 1.0.2-8 Severity: normal Tags: patch Dear Maintainer, * What led up to the situation? Trying to resize an SD card in the onboard reader, with the partition /dev/mmcblk0p1. * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? fatresize 1.0.2 (11/06/15) .Error: Could not stat device /dev/mmcblk0p - No such file or directory. * What outcome did you expect instead? Not fail. I quickly realized that it garbles the filename. First I expected something with a stupid short buffer for the filename but then I discovered that it uses the most basic assumption while deriving the harddisk device name. And a p prefix before partition name is not part of that scheme. Patch attached. Regards, Eduard. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.0-rc8-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages fatresize depends on: ii libc6 2.19-22 ii libparted-fs-resize0 3.2-12 ii libparted2 3.2-12 fatresize recommends no packages. Versions of packages fatresize suggests: ii dosfstools 3.0.28-2 -- no debconf informationDescription: cope with filenames containg a p prefix before partition number Author: Eduard Bloch <[email protected]> Bug-Debian: https://bugs.debian.org/795870 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: <vendor|upstream|other>, <url of original patch> Bug: <url in upstream bugtracker> Bug-Debian: https://bugs.debian.org/<bugnumber> Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> Forwarded: <no|not-needed|url proving that it has been forwarded> Reviewed-By: <name and email of someone who approved the patch> Last-Update: <YYYY-MM-DD> --- fatresize-1.0.2.orig/fatresize.c +++ fatresize-1.0.2/fatresize.c @@ -162,6 +162,9 @@ get_devname(char *dev) strcpy(p, p+5); } + if( (p-dev) > 2 && devname[p-dev] == 'p' && isdigit( (unsigned) devname[p-dev-1])) + devname[p-dev] = '\0'; + return devname; }
--- End Message ---
--- Begin Message ---Source: fatresize Source-Version: 1.0.2-11 We believe that the bug you reported is fixed in the latest version of fatresize, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Colin Watson <[email protected]> (supplier of updated fatresize package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sat, 16 Jun 2018 18:49:06 +0100 Source: fatresize Binary: fatresize Architecture: source Version: 1.0.2-11 Distribution: unstable Urgency: medium Maintainer: Parted Maintainer Team <[email protected]> Changed-By: Colin Watson <[email protected]> Description: fatresize - FAT16/FAT32 filesystem resizer Closes: 810735 Changes: fatresize (1.0.2-11) unstable; urgency=medium . [ Colin Watson ] * Move VCS to salsa.debian.org. . [ Eduard Bloch ] * Cope with devices with 'p' before partition number (closes: #810735). Checksums-Sha1: 4f4f632fe87b7341c76e2b4c8705618bd2e295a7 2036 fatresize_1.0.2-11.dsc 25735e2d03d78a0390a1657a8689df3ceb8c37b3 6932 fatresize_1.0.2-11.debian.tar.xz dd2c6cde6692198e08a7c6a926950f4af21460c4 6636 fatresize_1.0.2-11_source.buildinfo Checksums-Sha256: 106f2013fd13a42e331c65343a2f1bfc9c610d3278c202b0863e0b098cea01f6 2036 fatresize_1.0.2-11.dsc b759c38cf31d94fcfacc904d761099dd98812cb09547f0284fb409b8a039a75a 6932 fatresize_1.0.2-11.debian.tar.xz 1566ff1fdcb55c11441b7d64ab280d43055e1564ae71a1c0ee1153f57acb213f 6636 fatresize_1.0.2-11_source.buildinfo Files: 6ceb47bd8d378059e15cd2498b0cd32f 2036 otherosfs optional fatresize_1.0.2-11.dsc d2b81a51ca53989b4e0eb156b16f7466 6932 otherosfs optional fatresize_1.0.2-11.debian.tar.xz f923e8804073620f9fa1a405d777d5ca 6636 otherosfs optional fatresize_1.0.2-11_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAlslTZ4ACgkQOTWH2X2G UAtAGQ//eRh9rSadT520/eLws/dsfFt+waG8Co10XmOmnBZ5Jtzcx6GtqNErsbPp BMJxw/+s8Q7ylzHAdKV7zukHwOYpsS+W34J9vDnbsbCQq1NP1EzGoKOTyoMTgQji 7XjqAPc3YEv0LdqGbiDTeKE9AWFYdWAtLGDh2fDTOyOJK+ZZE+UbgTZmm4OZYYCM ztPYNIVBOfG4dKLqdE3S1osP0POp+Pxcnhx7aghXJK/0rYLNErNPxEzEM4maDtvz 3R0OXdZlGdTbMYZchxwdZDJpV/+s6FedJM8TeMGODPmKJgHCHU94TalN7kslTEJX 1tg0tYhJ2YXbrNmnsEZZv/mSomzPFI0qYUBhpT3ndZ76zndPlDQRGgnrP+oF+KwW PUrVLdsoUf8KXAmuYq+dS3eNP3Q49LAgCQudJODwSmzcldjxFQRhCPM3IZnv+Ken kHu1JWy+N+669SLc0uA3d6DV7fTa7mq1EGnt+HTTzU3TgyQJRvuW4DMktooDGDR5 F/dw5YJBZobXVsFhb6jyBRQr7FVmLwu+peJDDlLytSBAcPusyJulTzuq8DbozZN/ AXTl7MfwAss+QtugdHa1OC+T1uDPnR9hUeAPx+6ScPZi0HGqxb2kDIwEO6Fbb65+ 6JmtaNO4T+1cuGaGTPH9+uDqpy5bCFUiTjcQC6scBopzRKjQwKE= =ghCv -----END PGP SIGNATURE-----
--- End Message ---

