Hello,
Thank you for reaching out regarding your issue with the custom mount script after upgrading to version 3.2.4. It's not uncommon to encounter changes in behavior between versions, especially when dealing with system-level features like overlayfs.
The issue you're facing seems to be related to the changes in how mounting is handled in the newer version. The meta-overlayfs module is designed to provide a more flexible and robust way of handling overlay filesystems, but it does require a different approach to mounting compared to the previous version.
For your specific requirement of mounting an overlayfs onto a directory other than the predefined ones, you might want to consider using the hybrid-mount module. This module is indeed more comprehensive and might seem like overkill for a simple requirement, but it does offer the flexibility to mount filesystems at arbitrary locations, which should suit your needs.
Here is a basic example of how you might set up your mount using the hybrid-mount module:
# Load the hybrid-mount module
modprobe hybrid-mount
# Define your mount configuration
echo 'overlay /my_stock/something overlay lowerdir=/path/to/lower,upperdir=/path/to/upper,workdir=/path/to/work 0 0' >> /etc/fstab
# Mount the filesystem
mount -aThis example assumes you have the necessary directories and filesystem layers set up. The lowerdir, upperdir, and workdir should point to the respective directories containing your lower and upper filesystem layers, as well as the work directory for overlayfs operations.
If you find that the hybrid-mount module is indeed too heavy for your needs, you might want to explore other alternatives or consider modifying your approach to work within the constraints of the new version. For instance, you could look into using bind mounts or other filesystem features to achieve a similar result.
I hope this information helps you get your custom mount script working again. If you have any further questions or need more detailed assistance, feel free to ask.
Best regards,
[Your Name]
评论已关闭