forked from libfuse/libfuse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
108 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
2006-10-01 Miklos Szeredi <[email protected]> | ||
|
||
* Add init script to insert fuse module and mount the control | ||
filesystem. The script is installed as /etc/init.d/fuse and on | ||
debian based systems (where update-rc.d is available) symlinks | ||
from /etc/rc*.d/ are also installed. | ||
|
||
* Include '#define FUSE_USE_VERSION=XX' into examples so they | ||
become more self contained. | ||
|
||
2006-09-30 Miklos Szeredi <[email protected]> | ||
|
||
* API changes: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
AC_INIT(fuse-kernel, 2.6.0-rc1) | ||
AC_INIT(fuse-kernel, 2.6.0-rc2) | ||
AC_CONFIG_HEADERS([config.h]) | ||
|
||
AC_PROG_INSTALL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#! /bin/sh | ||
# | ||
# fuse Init script for Filesystem in Userspace | ||
# | ||
# Author: Miklos Szeredi <[email protected]> | ||
|
||
set -e | ||
|
||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | ||
SCRIPTNAME=/etc/init.d/fuse | ||
DESC="FUSE" | ||
MOUNTPOINT=/sys/fs/fuse/connections | ||
|
||
# Gracefully exit if the package has been removed. | ||
test -x `which fusermount` || exit 0 | ||
|
||
error() | ||
{ | ||
echo "Error $1" >&2 | ||
exit 1 | ||
} | ||
|
||
case "$1" in | ||
start) | ||
echo -n "Starting $DESC: " | ||
if ! grep -qw fuse /proc/filesystems; then | ||
modprobe fuse >/dev/null 2>&1 || error "loading fuse module" | ||
fi | ||
if grep -qw fusectl /proc/filesystems && \ | ||
! grep -qw $MOUNTPOINT /proc/mounts; then | ||
mount -t fusectl none $MOUNTPOINT >/dev/null 2>&1 || \ | ||
error "mounting control filesystem" | ||
fi | ||
echo "done." | ||
;; | ||
stop) | ||
echo -n "Stopping $DESC: " | ||
if grep -qw $MOUNTPOINT /proc/mounts; then | ||
umount $MOUNTPOINT >/dev/null 2>&1 || \ | ||
error "unmounting control filesystem" | ||
fi | ||
if grep -qw "^fuse" /proc/modules; then | ||
rmmod fuse >/dev/null 2>&1 || error "unloading fuse module" | ||
fi | ||
echo "done." | ||
;; | ||
*) | ||
echo "Usage: $SCRIPTNAME {start|stop}" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
exit 0 |