[Bug 956762] Re: ntfsresize prompts ( on non tty ) and refuses to resize dirty volume
Jean-Pierre
956762 at bugs.launchpad.net
Fri Mar 16 15:11:59 UTC 2012
This was fixed in ntfs-3g-2011.4.12AR.6
On buggy versions you may avoid the bug by using option -f twice : ntfsresize -ff.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/956762
Title:
ntfsresize prompts ( on non tty ) and refuses to resize dirty volume
Status in “gparted” package in Ubuntu:
New
Status in “ntfs-3g” package in Ubuntu:
New
Bug description:
ntfsresize prints a warning and prompts for input whether it should
proceed or not in response to the dirty volume flag. When stdin is
connected to /dev/null, it refuses to proceed. Interactive prompts
should not be made when stdin is not a tty. The --force flag should
also cause the resize to proceed.
Reproduction:
mkfs.ntfs -f /dev/vg/ntfs
ntfsfix /dev/vg/ntfs
ntfsresize -P --force -s 1G /dev/vg/ntfs < /dev/null
ntfsresize v2011.4.12AR.4 (libntfs-3g)
Device name : /dev/devserv/ntfs
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 5368705536 bytes (5369 MB)
Current device size: 5368709120 bytes (5369 MB)
New volume size : 999993856 bytes (1000 MB)
Checking filesystem consistency ...
Accounting clusters ...
Space in use : 28 MB (0.5%)
Collecting resizing constraints ...
Needed relocations : 6554 (27 MB)
WARNING: Every sanity check passed and only the dangerous operations left.
Make sure that important data has been backed up! Power outage or computer
crash may result major data loss!
Are you sure you want to proceed (y/[n])? OK quitting. NO CHANGES have been made to your NTFS volume.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/956762/+subscriptions
More information about the foundations-bugs
mailing list