summaryrefslogtreecommitdiff
path: root/packaging/mount.fuse.libsqlfs
blob: 25cc9cf408fd627540b533958f8046460e61e5ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

#
# libsqlfs_mount needs only 1 parameter - the mount target, however, /bin/mount
# passes $1 as the "source" which will break. So, toss out all the other
# parameters and manually pass the proper options.
#

# do a quick check whether fuse.ko is loaded
/sbin/modprobe fuse

exec /usr/bin/libsqlfs_mount -s -o nonempty -o default_permissions -o allow_other -o use_ino -o noforget "$2"