On 3/5/07, Miklos Szeredi <[EMAIL PROTECTED]> wrote:
> > Lowering severity to wishlist, as this is just an aesthetic problem,
> > isn't it?
> >
> > Will add a singing dancing LSB compatible init script to fuse-2.7
> >
> > Thanks,
> > Miklos
>
> As it is now, I thought that FUSE failed to start because it printed
> out an empty message after the "starting:" part.
>
> Now, it wont bother me because I know it does work. But it is going to
> confuse other people.
>
> So since it can actually be quickly changed to print a saner message
> (ignoring the format for LSB and other niceties), I think this would
> be a nice thing to have. This change would take fewer characters than
> was in your reply email :).
Sure, bit it would take 10 times more thinking, which is the real
bottleneck here ;)
Thanks,
Miklos
Here is a simple patch which makes the simple default case of
loading/unloading work better.
Regards, Thue
--- fuse-utils.old 2007-03-05 20:00:04.000000000 +0100
+++ fuse-utils 2007-03-05 20:08:20.000000000 +0100
@@ -15,7 +15,7 @@
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
SCRIPTNAME=/etc/init.d/fuse
-DESC="FUSE"
+DESC="Loading filesystem in userspace module"
MOUNTPOINT=/sys/fs/fuse/connections
# Gracefully exit if the package has been removed.
@@ -28,7 +28,7 @@
case "$1" in
start)
- log_daemon_msg "Starting $DESC: "
+ log_daemon_msg "Loading $DESC" "FUSE"
if ! grep -qw fuse /proc/filesystems; then
if ! modprobe fuse >/dev/null 2>&1; then
log_failure_msg "Error: loading fuse module"
@@ -45,7 +45,7 @@
log_end_msg 0
;;
stop)
- log_daemon_msg "Stopping $DESC: "
+ log_daemon_msg "Unloading $DESC" "FUSE"
if grep -qw $MOUNTPOINT /proc/mounts; then
if ! umount $MOUNTPOINT >/dev/null 2>&1; then
log_failure_msg "Error: unmounting control filesystem"
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]