<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/utils/uvol/files, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-07-25T22:53:57Z</updated>
<entry>
<title>uvol: bump version to 1.1</title>
<updated>2026-07-25T22:53:57Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-07-25T17:46:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=cb60600aec1b46b781c3bf72bdef2f4ce95fe9e1'/>
<id>urn:sha1:cb60600aec1b46b781c3bf72bdef2f4ce95fe9e1</id>
<content type='text'>
manage volume state over ubus instead of the rootfs

Rework the volume lifecycle around blockd's ubus API, so volume state
lives entirely on the self-describing LVM/UBI backing store and never
leaks into the firmware rootfs.

- register active volumes with blockd over ubus (mount.uc) instead of
  spooling mounts into /etc/config/fstab (uci.uc)

- bootstrap .meta from 'uvol boot' and drop the broken 90-uvol-init
  uci-default

- run 'uvol boot' straight from the mount.ready trigger, and query
  'ubus call block status' at service start to cover storage already
  being ready

- defer removal of a volume whose backing device is still held, and
  reap it from the mount.umount trigger once it is free

- enforce content-addressed "&lt;algo&gt;-&lt;hexdigest&gt;" volumes in the
  dispatcher: reuse an existing volume of the same digest, verify
  every write

- verify a content-addressed write in place while the volume is still
  incomplete, reporting EBADMSG on mismatch instead of flipping
  volume state

- purge incomplete wo/wp leftovers on boot and reclaim an exactly
  matching one on create

- serialise mutating commands with a device-wide lock, plus a
  per-volume lock ordered after it so a slow write cannot stall other
  volumes

- add a grow-only 'resize' verb to both backends: lvextend plus the
  matching fs-grow tool for lvm, ubirsvol for ubi

- create ext4 volumes with a journal (was ext2) and request check_fs
  when registering a read-write volume

- declare read-only mounts to blockd rather than letting block guess
  from the filesystem

- reject non-numeric and non-positive sizes in create and resize

- report its own version

- simplify command line parsing (drop compatibility with ancient ucode)

Requires the matching fstools changes from
openwrt/openwrt@9b11fa4088c6a.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>uvol: fix autopart on devices using fitblk</title>
<updated>2025-06-08T21:15:39Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2025-05-16T00:52:53Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=317598bed2a179e0c0e77f49cadc6a275db597a1'/>
<id>urn:sha1:317598bed2a179e0c0e77f49cadc6a275db597a1</id>
<content type='text'>
Correctly detect the block device used for booting also on devices
using the new fitblk driver.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>uvol: add support for detecting fitblk boot device</title>
<updated>2024-02-26T05:14:10Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2024-02-26T05:08:04Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=0bdf2fcbe902a4e3a6023788c7c8227b9ce9f423'/>
<id>urn:sha1:0bdf2fcbe902a4e3a6023788c7c8227b9ce9f423</id>
<content type='text'>
Auto-detect LVM2 volume on boot device used with fitblk uImage.FIT
sub-image driver.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>uvol: switch to /sys/class/ubi</title>
<updated>2023-02-15T04:06:36Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2023-02-15T04:04:12Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=3d86716b4f83aa827e0b28ba6d27a9c71855eb96'/>
<id>urn:sha1:3d86716b4f83aa827e0b28ba6d27a9c71855eb96</id>
<content type='text'>
Instead of /sys/devices/virtual/ubi which will no longer be available
in future kernels, switch to /sys/class/ubi.
While at it fix unrelated arithmetic syntax error by guarding the
affected expression to not run on an empty string.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>uvol: add missing quote</title>
<updated>2023-01-25T03:34:31Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2023-01-25T03:33:43Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=adce04d840ea0dee718455a51a576122c7a460a7'/>
<id>urn:sha1:adce04d840ea0dee718455a51a576122c7a460a7</id>
<content type='text'>
Add missing quote which broke the autopart script.

Fixes: b1edbe349 ("uvol: fix regression in handling fractional megabytes free")
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>uvol: fix regression in handling fractional megabytes free</title>
<updated>2023-01-23T01:31:52Z</updated>
<author>
<name>Philip Prindeville</name>
</author>
<published>2023-01-18T22:33:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=b1edbe349f9e70c72c4a48565a4fd37c94f20a0a'/>
<id>urn:sha1:b1edbe349f9e70c72c4a48565a4fd37c94f20a0a</id>
<content type='text'>
Also, fix off-by-one issue when computing free size.

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;
</content>
</entry>
<entry>
<title>uvol: fix autopart handling double/float number</title>
<updated>2022-08-14T18:51:37Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2022-08-14T18:51:37Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=f50a289e515fcdc49da5c19d58ed3af54c640cd4'/>
<id>urn:sha1:f50a289e515fcdc49da5c19d58ed3af54c640cd4</id>
<content type='text'>
Consider only integer part of free space in megabytes when
deciding the boundaries of the to be created partition.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>uvol: unbreak if LVM is installed but unused</title>
<updated>2022-04-13T17:01:49Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2022-04-07T10:54:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=3959a9b22c52e3328e462af419c72a3a0f0814cd'/>
<id>urn:sha1:3959a9b22c52e3328e462af419c72a3a0f0814cd</id>
<content type='text'>
Fix and simplify console output, make sure uvol doesn't break in case
of LVM being installed but not used.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>uvol: yet another small compatibility hack</title>
<updated>2022-04-04T10:58:37Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2022-04-04T10:57:29Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=31f02d5c1e1fcad0205ac814f52014ed8906db79'/>
<id>urn:sha1:31f02d5c1e1fcad0205ac814f52014ed8906db79</id>
<content type='text'>
Shift ARGV until actual parameters start to compensate for older
versions of ucode passing the complete cmdline.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>uvol: fixes and adapt to in-tree ucode</title>
<updated>2022-04-04T10:29:12Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2022-04-03T15:13:45Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=74caff0d5988b721c08b9a8e35bce79a3d167dd6'/>
<id>urn:sha1:74caff0d5988b721c08b9a8e35bce79a3d167dd6</id>
<content type='text'>
Don't use features which are not yet present in the version of ucode
currently shipped with OpenWrt (such as `fs.access()` or assuming raw
mode by default).
Fix syntax error in main executable.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
</feed>
