OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Packages
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version openwrt-18.06
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Vladislav Grigoryev - 17.02.2019
Last edited by Yousong Zhou - 22.07.2020

FS#2129 - block-mount shows incorrect UUID for NTFS

Issue description:
block-mount shows incorrect UUID for NTFS.

System version:
OpenWrt 18.06.1

Steps to reproduce:

# opkg update
# opkg install block-mount blkid losetup lsblk ntfs-3g-utils
# opkg list-installed block-mount
block-mount - 2018-04-16-e2436836-1
# dd if=/dev/zero of=ntfs.img bs=100M count=1
1+0 records in
1+0 records out
# mkfs.ntfs -F ntfs.img
# losetup /dev/loop1 /root/ntfs.img

# block info /dev/loop1
/dev/loop1: UUID="0000001800000030" TYPE="ntfs"
!># block detect | grep -C1 loop1
config 'mount'
	option	target	'/mnt/loop1'
	option	uuid	'0000001800000030'
# blkid /dev/loop1
/dev/loop1: UUID="4C40EAF864A1397B" TYPE="ntfs" PTTYPE="dos"
# lsblk -o name,uuid /dev/loop1
loop1 4C40EAF864A1397B
Closed by  Yousong Zhou
22.07.2020 08:09
Reason for closing:  Fixed
Additional comments about closing:  

Should be fixed by https:/ / 2930b9a8ef55ef7e9

Muhammad Hegab commented on 17.02.2019 10:22

I have 18.06.01 here. I get UUID 0000001800000048 for NTFS partition same as reported by nother user, who gets the same UUID for the two partitions he has, as he reported on the forum

root@OpenWrt:~# block info
/dev/mtdblock2: UUID="1748d829-b790e1c0-4aac514d-aa6fd187" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/mtdblock3: MOUNT="/overlay" TYPE="jffs2"
/dev/sda1: UUID="0000001800000048" MOUNT="/HP" TYPE="ntfs"

Project Manager
Yousong Zhou commented on 25.10.2019 09:11

The issue should be fixed by a patch just sent to the mailing list [1]



Available keyboard shortcuts


Task Details

Task Editing