💻 Software
Do ntfsresize and gparted work on a disk image mounted through the loop device?
Fresh7 days ago
Mar 15, 20263847 viewsConfidence Score0%
0%
Problem
I need to resize an NTFS partition on a disk for which I have an image (dumped with dd). I mounted it through the loop device on Linux: gparted shows me the disk correctly; it just contains one large NTFS partition I want to shrink. I have it had it running for one hour now. Will this work? There i…
Error Output
# losetup -o 32256 /dev/loop0 disk.img # I got the offset from looking at fdisk's output # mount /tmp/t /dev/loop0 # ls /tmp/t [Content of NTFS parti…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Do ntfsresize and gparted work on a disk image mounted through the loop device?
Low Risk
Yes, loop devices are indistinguishable from 'normal' block devices for higher layer applications (like gparted). Loop device access doesn't change the timestamp of a mounted file: it is a bug. Also, while the kernel won't create partition subdevice…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix