Package: usbmount
Version: 0.0.8
Severity: normal

Hello,

I found that usbmount does remove the model-name based symlinks (in
/var/run/usbmount) of all USB drives when only one of them is removed.
It seems that the test whether the symlinks points to a mounted
directory does not work.

I did not investigate the cause for this but simply reverted to the link
creating behaviour I did myself for a previous version of usbmount:

# Teamix: Determine user of the current X session    
XUSER=`who | awk '$2 == ":0" {print $1}'`

# Teamix: Create a symlink in the Desktop directory of that user
if test -n "$XUSER"; then
  log info "creating symlink /home/$XUSER/Desktop/`basename "$mountpoint"` -> 
$mountpoint"
  ln -sf "$mountpoint" "/home/$XUSER/Desktop/`basename "$mountpoint"`"
fi

# Teamix: Remove symlink in Desktop directory of that user again
if test -n "$XUSER" && test -L "/home/$XUSER/Desktop/`basename 
"$mountpoint"`"; then
  log info "removing symlink /home/$XUSER/Desktop/`basename "$mountpoint"`"
  rm "/home/$XUSER/Desktop/`basename "$mountpoint"`"
fi

BTW: Using pmount and hal instead of usbmountto my knowledge does not work 
with KDE 3.3.2, but only with KDE 3.4 (as I tested it with KDE packages on
alioth). With GNOME from Sarge it works however.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.6-bsd-notebook-acpi-2005-03-09
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: 
LC_ALL set to [EMAIL PROTECTED])

Versions of packages usbmount depends on:
ii  lockfile-progs                0.1.10     Programs for locking and 
unlocking
ii  udev                          0.056-1    /dev/ management daemon

-- no debconf information

Regards,
-- 
Martin Steigerwald                            Mail: [EMAIL PROTECTED]
Systemadministrator                           Fon:  +49 (0)911 30999-0
team(ix) GmbH                                 Fax:  +49 (0)911 30999-99
Süd-West-Park 35, 90449 Nürnberg, Deutschland

Reply via email to