GParted_Core.o: In function `std::_Rb_tree >, std::_Select1st >, std::less, std::allocator >::_M_begin()': GParted_Core.o: In function `std::_Rb_tree >, std::_Select1st >, std::less, std::allocator >::_M_end()': In case it matters this in on CentOS 6.5 x86-64. Can compile GParted_Core.o but gpartedbin can't be Variables and the functions that reference them also static memberįunctions. I have made the mount_info and fstab_info maps static private member Quoting the 3rd message in the attached patch set: When you've got some time I would appreciate some C++ help please. Linux v2.6.32 fs/btrfs/ioctl.c btrfs_ioctl_resize()Ĭreated attachment 269316 So using "devid:size" will work everywhere. Looking at the kernel source for v2.6.32 (when btrfs was first added) itĬan be seen that it's the kernel that parses size|"max"] So using "devid:size" works on old tools and kernel. Test resizing using "btrfsctl -r" specifying devid: # btrfs filesystem resize 2:1048576K /mnt/1 # btrfs filesystem show /dev/sda7 2> /dev/null Test resizing using "btrfs filesystem resize" specifying devid: Will occupe all available space on the device.Īgain with two 2 GiB partitions /dev/sda7 and sda8. With old kernel and btrfs-progs where the manual page and help text So btrfs changed the file system device sizes to 1G, 2G but GPartedĬhanged the underlying partitions to 2G, 1G respectively for sda7, sda8. Mount -v -t btrfs /dev/sda8 /tmp/gparted-XXXXXXītrfs filesystem resize 1048576K /tmp/gparted-XXXXXX Full steps are:ġ) Use GParted to create 2 GiB btrfs file system (/dev/sda7).Ģ) Use GParted to create empty 2 GiB partition (/dev/sda8). Thank you for your interest in GParted and raising this issue.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |