[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Online resizing of partitions
From: Marcus Hoffmann <bubu () bubu1 ! eu>
Date: 2019-10-07 14:36:26
Message-ID: 132742f9-83a5-dccc-6804-0c6c82cc5645 () bubu1 ! eu
[Download RAW message or body]
Hello,
I was wondering if there's a way to enlarge a mounted disk partition
with busybox tools only.
I found a relatively straightforward way with (s)fdisk and partx or
resizepart from util-linux. Using fdisk from busybox is probably a bit
more fiddly but should be possible.
I haven't found a replacement for partx/resizepart though which tells
the kernel the new partition size.
Resizepart basically only wraps BLKPG_RESIZE_PARTITION ioctl, so it's
easy to write a small tool myself, but I wondered if this is ossible
with on-board tools from busybox or if you'd consider adding some
version of partx or resizepart to busybox.
Best,
Marcus
["pEpkey.asc" (application/pgp-keys)]
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic