[Bug 956762] Re: ntfsresize prompts ( on non tty ) and refuses to resize dirty volume
Phillip Susi
psusi at ubuntu.com
Fri Mar 16 15:24:16 UTC 2012
Well then, it looks like this has been fixed in Precise.
** Bug watch added: GNOME Bug Tracker #655215
https://bugzilla.gnome.org/show_bug.cgi?id=655215
** Also affects: ntfs-3g via
https://bugzilla.gnome.org/show_bug.cgi?id=655215
Importance: Unknown
Status: Unknown
** Changed in: ntfs-3g (Ubuntu)
Status: New => Fix Released
** Changed in: gparted (Ubuntu)
Status: New => Fix Released
--
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 NTFS-3G:
Unknown
Status in “gparted” package in Ubuntu:
Fix Released
Status in “ntfs-3g” package in Ubuntu:
Fix Released
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/ntfs-3g/+bug/956762/+subscriptions
More information about the foundations-bugs
mailing list