diff --git a/initramfs/initramfs_create b/initramfs/initramfs_create index 6b0b6f4..c232d20 100755 --- a/initramfs/initramfs_create +++ b/initramfs/initramfs_create @@ -42,7 +42,7 @@ cd static ./update cd .. -cp static/{busybox,mount.dynsizefs,mount.ntfs-3g} $INITRAMFS/bin +cp static/{busybox,mount.dynfilefs,mount.ntfs-3g} $INITRAMFS/bin chmod a+x $INITRAMFS/bin/{busybox,mount.*} $INITRAMFS/bin/busybox | grep , | grep -v Copyright | tr "," " " | while read LINE; do diff --git a/livekitlib b/livekitlib index 94810fa..d00efd4 100644 --- a/livekitlib +++ b/livekitlib @@ -338,12 +338,12 @@ persistent_changes() if [ $? -ne 0 ]; then echo "* Activating dynamic sized storage for persistent changes" rm "$T1" "$T2" 2>/dev/null - - mount.dynsizefs "$CHANGES/changes.idx" "$CHANGES/changes.dat" 4096 "$2" - if [ "$(device_bestfs "$2/dynsize.fs" | tr -d " ")" = "-t" ]; then - mke2fs -F "$2/dynsize.fs" >/dev/null + + mount.dynfilefs "$CHANGES/changes.dat" 4000 "$2" + if [ "$(device_bestfs "$2/loop.fs" | tr -d " ")" = "-t" ]; then + mke2fs -F "$2/loop.fs" >/dev/null fi - mount -o loop "$2/dynsize.fs" "$2" + mount -o loop,sync "$2/loop.fs" "$2" rmdir "$2/lost+found" else echo "* Activating native persistent changes"