Giter Club home page Giter Club logo

squashmount's Issues

Failure to mount rw overlay with built-in modules

I have a monolithic kernel with everything built-in and squashmount fails to detect that overlay, overlayfs [ which are in that order in my squashmount.pl ] are available, mounts images with squashfuse_II, readonly.

With squashfuse unmerged it fails to mount them at all, while obviously squashfs is avaiable just not as module but buil-in

Edit. Found the settings related to modprobing, attempting to solve
Edit2. I'm a bit confused by the syntax, should it be @order = qw(overlay!!, overlayfs!!); for skipping modprobing and using built-in?
Edit3. It was @squashorder That I needed, case closed

Ghost files after deletion on JFS filesystem

Well, I think that most probably it's not squashmount to blame, but I still consider you the right person to ask..
I use squashmount on my Gentoo desktop and it works just fine. However, when I tried to set it up on a laptop (with nearly identical squashmount.pl), it screws up. After some file is deleted it doesn't disappear as it should but is still there yet unreadable:

ls: cannot access 'FILENAME': No such file or directory
???????????? ? ? ? ?                            ? FILENAME

The systems differ in kernel versions (4.19 on the laptop) and underlying FS (xfs vs jfs on the laptop).
The kernel config options that I consider to be relevant look the same.
I ran out of ideas where to look...

[/etc/squashmount.pl] comments minor modifications

Hello Vaeth
First thanks for the amazing tools you provide us with : wow !

First function is a fatal();
which seems to have replaced print()+exit() combo :
Comment line 3 should reflect it.

Line 226, "customn" variable name should not end with a "N".

Thanks again, I mean it
Arnaudv6

emerge --sync error after resquashing

After resquashing/reboot emerge --sync fails as follows

>>> Syncing repository 'gentoo' into '/usr/portage'...
/usr/bin/git fetch origin --depth 1
remote: Enumerating objects: 75, done.
remote: Counting objects: 100% (75/75), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 38 (delta 28), reused 35 (delta 26), pack-reused 0
Unpacking objects: 100% (38/38), done.
From https://github.com/gentoo-mirror/gentoo
 + c56fe5d7ea...06d66bb5d5 stable     -> origin/stable  (forced update)
error: Entry 'dev-python/nagiosplugin/Manifest' not uptodate. Cannot merge.
fatal: Could not reset index file to revision 'refs/remotes/origin/stable'.
!!! git merge error in /usr/portage

Action: sync for repo: gentoo, returned code = 128

/ is mounted with lazytime option

Is there any way to use this without root?

That is i want to make it possible to mount (one at a time, it's for dosbox compressed games) a fuse union filesystem that joins a normal persistent directory (for saves and config files per each game) and a squashfs image (for the games). Then i want to incorporate this into the linux version of some frontend.

However, requiring root for every mount and umount of the games is a major turn off, considering the user owns all of them (they're in the home dir). Is there anyway to avoid this?

Conflicts of squashmount and qt5 directory?

Since I squashed /usr/lib64/qt5 plasma panels and latte-doc started to malfunction and not be able to position correctly on screen.

Is it possible that squashmount removed some symlink or creating any problem?

Check for squashfs support before deleting source dir

I just run into an issue w/ the latest release available on the gentoo overlay.

I called squashmount start w/ default values on a system w/o squashfs support either compiled in or as a module (but squashfs-tools and union-fuse installed). squashmount performed the compression (mksquashfs), purged the source directories and then notified the failure to mount the squashfs image, moving on to the next directory (db, src, portage).

I have my blame (all my systems have squashfs support, I wonder why this one lacked it even though squashfs-tools were installed!) but I guess a check before starting up would be a plus.

MemoryDenyWriteExecute option not met

Hello, when bumping to last version,
I get journalctl reporting this error :

août 10 19:52:23 Gentoo-2600k systemd[1]: [/usr/lib64/systemd/system/squashmount.service:14] Unknown lvalue 'MemoryDenyWriteExecute' in section 'Service

I guess this option was added to a systemd version I don't have yet.
I commented the option in service file and it seems to work fine...
Still I expect ebuild should require said systemd version, or adapt...

Thanks for you soft : I have been hapilly using it up untill now !

running squashmount in a cron script

not sure whether it's really an issue. but we should be aware that /sbin should be in the path....

here an excerpt of an cron email...
...

  • portage: cleaning workdir...
  • portage: tempfile -> /usr/portage.sqfs
  • portage: cleaning changes...
  • /usr/bin/which: no modprobe in (/usr/bin:/bin:/usr/sbin)
  • portage: error: modprobe not found in $PATH
  • portage: error: modprobe not found in $PATH
  • portage: error: modprobe not found in $PATH
    ....

fuse: unknown option(s): `-o nonempty'

Hello,

First, sorry for my English.
Second, thank you very much for squashmount, it's very useful for me to squeeze and maintain a lot of data.

After my last world upgrade, i had a strange behavior by using squashfuse (only) in @squashorder setting :

# grep fuse /etc/squashmount.pl
@order = qw(overlay overlayfs aufs! unionfs-fuse! unionfs??# funionfs??#);
@squashorder = qw(squashfuse!);

Every mount handled by squashmount returned such error :

 * mounting with squashmount ...
 * [portage]:                 mounting...
fuse: unknown option(s): `-o nonempty'
 * [portage]:                 warning: squashfuse failed

First workaround used was to add squashfs an an alternative :
@squashorder = qw(squashfuse! squashfs!);

It worked but wasn't satisfactory. After few search i found that noempty option was removed from libfuse :

libfuse/libfuse@0bef21e

Looked if any change / issue was reported on this project, none, so i tried a quick and dirty change , removing this parameter in /usr/bin/squashmount :

# cp /usr/bin/squashmount /root/squashmount.$(date +%Y%m%d)
# sed -i 's/,\ \x27-o\x27,\ \x27nonempty\x27//g' /usr/bin/squashmount

It worked and i can use again squashfuse for mounting squash files.

For information, here are the related currently installed packages :

sys-fs/squashfs-tools-4.5_alpha20210318::mv
sys-fs/squashfuse-0.1.104::mv
sys-fs/squashmount-22.0.1::mv
sys-fs/fuse-3.10.2:3::gentoo

Did i miss something during updates ?
Thank in advance
Best regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.