Package: shfs-utils
Version: 0.35-1
Severity: wishlist
Tags: patch
I had some trouble finding out why:
shfsmount --type shell ...
won't work on a very stripped down linux-router won't work.
Eventually, I found out (using strace) I was missing tee (one of the core
utils) on the target system.
I think it would be useful if something similar to the patch here below
was applied, to get more hints in case of failure.
--- shell-test.in.orig 2004-06-01 15:16:19.000000000 +0200
+++ shell-test.in 2005-02-06 16:39:28.000000000 +0100
@@ -1,10 +1,11 @@
#!/bin/sh
posix=1;
for cmd in echo chgrp chmod chown cut dd df expr ln ls mkdir mv rm read rmdir
tee test touch wc; do
- type $cmd >/dev/null 2>&1 || posix=0;
+ type $cmd >/dev/null 2>&1 || posix=0 && break;
done;
if test $posix = 1; then
echo "ok stable";
else
+ echo "$cmd not found" >&2
echo failed;
fi;
Cheers,
Cristian
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-k7
Locale: LANG=C, LC_CTYPE= (charmap=ANSI_X3.4-1968)
Versions of packages shfs-utils depends on:
ii debconf [debconf-2.0] 1.4.45 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii shfs-module-2.4.27-1-k7 0.35-1+2.4.27-2 (secure) SHell File System mount p
ii shfs-source 0.35-1 (secure) SHell File System module
-- debconf information:
* shfs/suid: false
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]