Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
openwrt-bot opened this issue Feb 17, 2019 · 2 comments
Closed

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

openwrt-bot opened this issue Feb 17, 2019 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

openwrt-bot commented Feb 17, 2019

vgaetera:

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

NAME UUID
loop1 4C40EAF864A1397B

@openwrt-bot
Copy link
Author

openwrt-bot commented Feb 17, 2019

mhegab:

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"

@openwrt-bot
Copy link
Author

openwrt-bot commented Oct 25, 2019

yousong:

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

[1] http://patchwork.ozlabs.org/patch/1183928/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant