LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   automounting usb devices with usbmount works well but i have one problem (https://www.linuxquestions.org/questions/debian-26/automounting-usb-devices-with-usbmount-works-well-but-i-have-one-problem-373585/)

mechmg93 10-16-2005 09:20 AM

automounting usb devices with usbmount works well but i have one problem
 
i m trying to comfigure my debian sarge in order to not have to add my devices in fstab,but automounting them.
i used the package usbmount. i loaded all the needed modules and the result is fine. when i plug in my usb hard disk, i have to icons in my konqueror and i use my disk normally.

the only problem is that as simple user i have no privilleges to unmount my disk. as root all works fine.

what am i doing wrong. does anyone know the solution to my problem??if i fix this, i will write a tutorial, because it is very simple but most of the new users do not know how to manage it.

uberNUT69 10-17-2005 06:06 PM

Hi, I don't use usbmount myself, but
I went to the homepage
http://users.actrix.co.nz/michael/usbmount.html
(I assume that's the same prog)
and found a link to this
http://www.xs4all.nl/~bsamwel/usb_st...on_debian.html
which talks about an option MOUNT_OPTIONS
which lives in /usr/local/etc/usb-mount.conf
(however I suspect a Debian package probably makes that /etc/usbmount.conf)

Perhaps you could try setting umask=002 in those options?

mechmg93 10-18-2005 03:37 AM

i finally managed it. my mistake was that i thought that package usbmount was usb-mount.

i tried to follow these instructions http://www.xs4all.nl/~bsamwel/usb_st...on_debian.html

with a wrong package. so I downloaded usb-mount 0.95 , i followed the instructions of the above link and the INSTALL.txt(very important), and worked fine!!!

mechmg93 10-19-2005 07:51 AM

after using usb-mount ,it runs well but the only problem i have is that my usb hard disk stops responding when i try to write something in it. i have formatted it using fat32 format.

does anybody know any solution to this problem??

mechmg93 10-20-2005 04:48 PM

here are the messages from the var/log/messages


#####################before plugging usb-disk#########################

Oct 21 00:26:01 localhost usb-mount: Cleaning up mounts for detached devices.
Oct 21 00:26:01 localhost usb-mount: Using kernel 2.6 umount code
Oct 21 00:26:01 localhost usb-mount: Called to mount device /devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0
Oct 21 00:26:08 localhost kernel: NET: Registered protocol family 4
Oct 21 00:26:08 localhost kernel: NET: Registered protocol family 3
Oct 21 00:26:08 localhost kernel: NET: Registered protocol family 5
Oct 21 00:26:12 localhost usb-mount: DEVPATH yields SCSI unique id UNKNOWN from /devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0
Oct 21 00:26:12 localhost usb-mount: Disk unique ID is UNKNOWN
Oct 21 00:26:12 localhost usb-mount: Checking for unused mountpoints
Oct 21 00:26:12 localhost usb-mount: Checking /mnt/usb-storage/*


#####################after plugging the device########################

Oct 21 00:26:01 localhost usb-mount: Cleaning up mounts for detached devices.
Oct 21 00:26:01 localhost usb-mount: Using kernel 2.6 umount code
Oct 21 00:26:01 localhost usb-mount: Called to mount device /devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0
Oct 21 00:26:08 localhost kernel: NET: Registered protocol family 4
Oct 21 00:26:08 localhost kernel: NET: Registered protocol family 3
Oct 21 00:26:08 localhost kernel: NET: Registered protocol family 5
Oct 21 00:26:12 localhost usb-mount: DEVPATH yields SCSI unique id UNKNOWN from /devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0
Oct 21 00:26:12 localhost usb-mount: Disk unique ID is UNKNOWN
Oct 21 00:26:12 localhost usb-mount: Checking for unused mountpoints
Oct 21 00:26:12 localhost usb-mount: Checking /mnt/usb-storage/*
Oct 21 00:28:06 localhost kernel: usb 4-6: new high speed USB device using address 5
Oct 21 00:28:06 localhost kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Oct 21 00:28:06 localhost kernel: Vendor: Genesys Model: USB to IDE Disk Rev: 0002
Oct 21 00:28:06 localhost kernel: Type: Direct-Access ANSI SCSI revision: 02
Oct 21 00:28:06 localhost kernel: SCSI device sdb: 78140160 512-byte hdwr sectors (40008 MB)
Oct 21 00:28:06 localhost kernel: sdb: assuming Write Enabled
Oct 21 00:28:06 localhost usb.agent[6502]: usb-storage: already loaded
Oct 21 00:28:07 localhost kernel: /dev/scsi/host2/bus0/target0/lun0: p1
Oct 21 00:28:07 localhost kernel: Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
Oct 21 00:28:07 localhost kernel: Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0, type 0
Oct 21 00:28:07 localhost usb.agent[6502]: pen: loaded successfully
Oct 21 00:28:07 localhost scsi.agent[6546]: sd_mod: loaded sucessfully (for disk)
Oct 21 00:28:09 localhost usb-mount: +++ Starting usb (u)mounter DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb4/4-6/4-6:1.0 SCSI=
Oct 21 00:28:09 localhost usb-mount: ------
Oct 21 00:28:09 localhost usb-mount: DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb4/4-6/4-6:1.0
Oct 21 00:28:09 localhost usb-mount: REMOVER=/var/run/usb/%proc%bus%usb%004%005
Oct 21 00:28:09 localhost usb-mount: PATH=/bin:/sbin:/usr/sbin:/usr/bin
Oct 21 00:28:09 localhost usb-mount: ACTION=add
Oct 21 00:28:09 localhost usb-mount: PWD=/etc/hotplug
Oct 21 00:28:09 localhost usb-mount: SHLVL=4
Oct 21 00:28:09 localhost usb-mount: HOME=/
Oct 21 00:28:09 localhost usb-mount: DEVICE=/proc/bus/usb/004/005
Oct 21 00:28:09 localhost usb-mount: INTERFACE=8/6/80
Oct 21 00:28:09 localhost usb-mount: PRODUCT=5e3/702/2
Oct 21 00:28:09 localhost usb-mount: TYPE=usb
Oct 21 00:28:09 localhost usb-mount: SEQNUM=332
Oct 21 00:28:09 localhost usb-mount: _=/usr/bin/env
Oct 21 00:28:09 localhost usb-mount: ------
Oct 21 00:28:09 localhost usb-mount: Cleaning up mounts for detached devices.
Oct 21 00:28:09 localhost usb-mount: Using kernel 2.6 umount code
Oct 21 00:28:09 localhost usb-mount: Called to mount device /devices/pci0000:00/0000:00:1d.7/usb4/4-6/4-6:1.0
Oct 21 00:28:10 localhost usb-mount: Looking at /sys//devices/pci0000:00/0000:00:1d.7/usb4/4-6/4-6:1.0 (try 1)
Oct 21 00:28:10 localhost usb-mount: DEVPATH yields SCSI unique id 2:0:0:0 from /devices/pci0000:00/0000:00:1d.7/usb4/4-6/4-6:1.0
Oct 21 00:28:10 localhost 2:0:0:0: SCSI disk device for 2:0:0:0 is /dev/sdb
Oct 21 00:28:10 localhost usb-mount: SCSI disk device for 2:0:0:0 is /dev/sdb
Oct 21 00:28:10 localhost usb-mount: Mounting partitions for /dev/sdb (/devices/pci0000:00/0000:00:1d.7/usb4/4-6/4-6:1.0)
Oct 21 00:28:10 localhost usb-mount: Partition lookup for disk device=/dev/sdb
Oct 21 00:28:10 localhost usb-mount: partitions=/dev/sdb1.
Oct 21 00:28:10 localhost usb-mount: Partition list for /dev/sdb is /dev/sdb1
Oct 21 00:28:10 localhost usb-mount: who reports mikes on :0
Oct 21 00:28:10 localhost usb-mount: Desktop usb user is assumed to be mikes
Oct 21 00:28:10 localhost usb-mount: Owner is mikes - mounting 1 /dev/sdb1 for mikes
Oct 21 00:28:10 localhost usb-mount: Doing /dev/sdb1
Oct 21 00:28:10 localhost usb-mount: Checking /mnt/usb-storage/device-0
Oct 21 00:28:10 localhost usb-mount: Mountpoint /mnt/usb-storage/device-0 is free
Oct 21 00:28:10 localhost usb-mount: Mounting /dev/sdb1 on /mnt/usb-storage/device-0
Oct 21 00:28:10 localhost usb-mount: Selecting mount options for /dev/sdb1
Oct 21 00:28:10 localhost usb-mount: Filesystem is 'FAT32'
Oct 21 00:28:10 localhost usb-mount: UUID '', label '""'
Oct 21 00:28:10 localhost usb-mount: Mount options: -t vfat -o uid=mikes,gid=users,umask=0002,dmask=0002,quiet,user,shortname=mixed -o sync,dirsync
Oct 21 00:28:10 localhost usb-mount: mount -t vfat -o uid=mikes,gid=users,umask=0002,dmask=0002,quiet,user,shortname=mixed -o sync,dirsync /dev/sdb1 /mnt/usb-storage/device-0
Oct 21 00:28:10 localhost usb-mount: Mount /dev/sdb1 is now mounted on /mnt/usb-storage/device-0
Oct 21 00:28:10 localhost usb-mount: Creating desktop file /home/mikes//Desktop/usb-storage-device-0.desktop
Oct 21 00:28:10 localhost usb-mount: alter /home/mikes//Desktop/usb-storage-device-0.desktop
Oct 21 00:28:10 localhost usb-mount: Altering /home/mikes//Desktop/usb-storage-device-0.desktop icon to 3floppy_mount
Oct 21 00:28:10 localhost usb-mount: Device /dev/sdb is now available as /mnt/usb-storage/device-0
Oct 21 00:28:10 localhost usb-mount: Checking for unused mountpoints
Oct 21 00:28:10 localhost usb-mount: Checking /mnt/usb-storage/device-0





#####################after trying to write to the device#########################

it does not display something newer...



#########i unplug the device and i get the errors#####################

Oct 21 00:32:20 localhost kernel: scsi: Device offlined - not ready after error recovery: host 2 channel 0 id 0 lun 0
Oct 21 00:32:20 localhost kernel: SCSI error : <2 0 0 0> return code = 0x70000
Oct 21 00:32:20 localhost kernel: end_request: I/O error, dev sdb, sector 6901287
Oct 21 00:32:20 localhost kernel: lost page write due to I/O error on sdb1
Oct 21 00:32:20 localhost last message repeated 9 times
Oct 21 00:32:20 localhost kernel: usb 4-6: USB disconnect, address 5
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: +++ Starting usb (u)mounter DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb4/4-6/4-6:1.0 SCSI=
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: ------
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb4/4-6/4-6:1.0
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: REMOVER=/var/run/usb/%proc%bus%usb%004%005
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: PATH=/bin:/sbin:/usr/sbin:/usr/bin
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: ACTION=remove
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: PWD=/etc/hotplug
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: HOME=/
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: SHLVL=3
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: DEVICE=/proc/bus/usb/004/005
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: INTERFACE=8/6/80
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: PRODUCT=5e3/702/2
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: TYPE=0/0/0
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: SEQNUM=345
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: _=/usr/bin/env
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: ------
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: Cleaning up mounts for detached devices.
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: Using kernel 2.6 umount code
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: Umounting detached /mnt/usb-storage/device-0
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: Unmounting detached usb storage device /mnt/usb-storage/device-0 ()
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: Umount request for /mnt/usb-storage/device-0
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: Check any mount points under /mnt/usb-storage/device-0
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: Completed unmount of /mnt/usb-storage/device-0
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: Checking for unused mountpoints
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: Checking /mnt/usb-storage/device-0
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: Removing /mnt/usb-storage/device-0
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: who reports mikes on :0
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: Desktop usb user is assumed to be mikes
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: alter /home/mikes//Desktop/usb-storage-device-0.desktop
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: Altering /home/mikes//Desktop/usb-storage-device-0.desktop icon to usb
Oct 21 00:32:20 localhost %proc%bus%usb%004%005: Removing desktop icon /home/mikes//Desktop/usb-storage-device-0.desktop



#####################i plug again my device#####################################

Oct 21 00:35:17 localhost kernel: usb 4-6: new high speed USB device using address 6
Oct 21 00:35:17 localhost kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Oct 21 00:35:17 localhost kernel: Vendor: Genesys Model: USB to IDE Disk Rev: 0002
Oct 21 00:35:17 localhost kernel: Type: Direct-Access ANSI SCSI revision: 02
Oct 21 00:35:17 localhost kernel: SCSI device sdb: 78140160 512-byte hdwr sectors (40008 MB)
Oct 21 00:35:17 localhost kernel: sdb: assuming Write Enabled
Oct 21 00:35:17 localhost kernel: /dev/scsi/host3/bus0/target0/lun0: p1
Oct 21 00:35:17 localhost kernel: Attached scsi removable disk sdb at scsi3, channel 0, id 0, lun 0
Oct 21 00:35:17 localhost kernel: Attached scsi generic sg1 at scsi3, channel 0, id 0, lun 0, type 0
Oct 21 00:35:17 localhost usb.agent[7100]: usb-storage: already loaded
Oct 21 00:35:18 localhost usb.agent[7100]: pen: loaded successfully
Oct 21 00:35:18 localhost scsi.agent[7126]: sd_mod: loaded sucessfully (for disk)
Oct 21 00:35:20 localhost usb-mount: +++ Starting usb (u)mounter DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb4/4-6/4-6:1.0 SCSI=
Oct 21 00:35:20 localhost usb-mount: ------
Oct 21 00:35:20 localhost usb-mount: DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb4/4-6/4-6:1.0
Oct 21 00:35:20 localhost usb-mount: REMOVER=/var/run/usb/%proc%bus%usb%004%006
Oct 21 00:35:20 localhost usb-mount: PATH=/bin:/sbin:/usr/sbin:/usr/bin
Oct 21 00:35:20 localhost usb-mount: ACTION=add
Oct 21 00:35:20 localhost usb-mount: PWD=/etc/hotplug
Oct 21 00:35:20 localhost usb-mount: SHLVL=4
Oct 21 00:35:20 localhost usb-mount: HOME=/
Oct 21 00:35:20 localhost usb-mount: DEVICE=/proc/bus/usb/004/006
Oct 21 00:35:20 localhost usb-mount: INTERFACE=8/6/80
Oct 21 00:35:20 localhost usb-mount: PRODUCT=5e3/702/2
Oct 21 00:35:20 localhost usb-mount: TYPE=usb
Oct 21 00:35:20 localhost usb-mount: SEQNUM=348
Oct 21 00:35:20 localhost usb-mount: _=/usr/bin/env
Oct 21 00:35:20 localhost usb-mount: ------
Oct 21 00:35:20 localhost usb-mount: Cleaning up mounts for detached devices.
Oct 21 00:35:20 localhost usb-mount: Using kernel 2.6 umount code
Oct 21 00:35:20 localhost usb-mount: Called to mount device /devices/pci0000:00/0000:00:1d.7/usb4/4-6/4-6:1.0
Oct 21 00:35:21 localhost usb-mount: Looking at /sys//devices/pci0000:00/0000:00:1d.7/usb4/4-6/4-6:1.0 (try 1)
Oct 21 00:35:21 localhost usb-mount: DEVPATH yields SCSI unique id 3:0:0:0 from /devices/pci0000:00/0000:00:1d.7/usb4/4-6/4-6:1.0
Oct 21 00:35:21 localhost 3:0:0:0: SCSI disk device for 3:0:0:0 is /dev/sdb
Oct 21 00:35:21 localhost usb-mount: SCSI disk device for 3:0:0:0 is /dev/sdb
Oct 21 00:35:21 localhost usb-mount: Mounting partitions for /dev/sdb (/devices/pci0000:00/0000:00:1d.7/usb4/4-6/4-6:1.0)
Oct 21 00:35:21 localhost usb-mount: Partition lookup for disk device=/dev/sdb
Oct 21 00:35:21 localhost usb-mount: partitions=/dev/sdb1.
Oct 21 00:35:21 localhost usb-mount: Partition list for /dev/sdb is /dev/sdb1
Oct 21 00:35:21 localhost usb-mount: who reports mikes on :0
Oct 21 00:35:21 localhost usb-mount: Desktop usb user is assumed to be mikes
Oct 21 00:35:21 localhost usb-mount: Owner is mikes - mounting 1 /dev/sdb1 for mikes
Oct 21 00:35:21 localhost usb-mount: Doing /dev/sdb1
Oct 21 00:35:21 localhost usb-mount: Checking /mnt/usb-storage/device-0
Oct 21 00:35:21 localhost usb-mount: Mountpoint /mnt/usb-storage/device-0 is free
Oct 21 00:35:21 localhost usb-mount: Mounting /dev/sdb1 on /mnt/usb-storage/device-0
Oct 21 00:35:21 localhost usb-mount: Selecting mount options for /dev/sdb1
Oct 21 00:35:21 localhost usb-mount: Filesystem is 'FAT32'
Oct 21 00:35:21 localhost usb-mount: UUID '', label '""'
Oct 21 00:35:21 localhost usb-mount: Mount options: -t vfat -o uid=mikes,gid=users,umask=0002,dmask=0002,quiet,user,shortname=mixed -o sync,dirsync
Oct 21 00:35:21 localhost usb-mount: mount -t vfat -o uid=mikes,gid=users,umask=0002,dmask=0002,quiet,user,shortname=mixed -o sync,dirsync /dev/sdb1 /mnt/usb-storage/device-0
Oct 21 00:35:21 localhost usb-mount: Mount /dev/sdb1 is now mounted on /mnt/usb-storage/device-0
Oct 21 00:35:21 localhost usb-mount: Creating desktop file /home/mikes//Desktop/usb-storage-device-0.desktop
Oct 21 00:35:21 localhost usb-mount: alter /home/mikes//Desktop/usb-storage-device-0.desktop
Oct 21 00:35:21 localhost usb-mount: Altering /home/mikes//Desktop/usb-storage-device-0.desktop icon to 3floppy_mount
Oct 21 00:35:21 localhost usb-mount: Device /dev/sdb is now available as /mnt/usb-storage/device-0
Oct 21 00:35:21 localhost usb-mount: Checking for unused mountpoints
Oct 21 00:35:21 localhost usb-mount: Checking /mnt/usb-storage/device-0

###################quotes###################

#my disk works fine in windows xp
#this was the first time that when i plugged again my disk worked.in most cases i needed to reboot.

uberNUT69 10-20-2005 06:42 PM

Change your umask from 0002 to 002

Make sure you umount your drive before unplugging!

uberNUT69 10-20-2005 06:43 PM

Actually, that won't make a difference to your problem,
when I think twice. Any more info to go on?
Contents of fstab, how you've configured usb-mount, etc?

mechmg93 10-22-2005 02:55 AM

i have a syperkaramba theme that warns me is something is going wrong displaying var/log/messages.
this one gives me this message as a warning:

Oct 22 10:50:49 localhost usb-mount: Cleaning up mounts for detached devices.
Oct 22 10:50:49 localhost usb-mount: Using kernel 2.6 umount code
Oct 22 10:50:49 localhost usb-mount: Called to mount device /devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0
Oct 22 10:51:00 localhost usb-mount: DEVPATH yields SCSI unique id UNKNOWN from /devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0
Oct 22 10:51:00 localhost usb-mount: Disk unique ID is UNKNOWN
Oct 22 10:51:00 localhost usb-mount: Checking for unused mountpoints
Oct 22 10:51:00 localhost usb-mount: Checking /mnt/usb-storage/*


heres my usb-mount.conf:

# Config file for usb-mount
# These settings correspond to those in force for version v0.94.
# Please inspect each setting an customise for your system.
# If unsure - then these settings are reasonable defaults.
#
MOUNT_PATH="/mnt/usb-storage"

# Location of disktype (utility from http://disktype.sourceforge.net/)
DISKTYPE=/usr/bin/disktype

# Location of sg_map (utility from sg3_utils)
SGMAP=/usr/bin/sg_map

# Some devices don't have any partitions - we can use
# the device as a one big partition - but should it be
# addressed either as /dev/sda or /dev/sda1 - people
# have suggested both. This option can be used to define
# a 1 suffix for such cases - please let me know which one works
# for you. I suspect the empty case is the right one to
# use - but since previous versions use "1", I'll leave it
# for now.
#NO_PARTITIONS_SUFFIX="1"
NO_PARTITIONS_SUFFIX=""

# Location of fdisk
FDISK=/sbin/fdisk

# Comment out the next line to disable the $HOME/Desktop actions.
DO_DESKTOP=1

# Desktop folder name
DESKTOP_FOLDER_NAME="$home/Desktop"

# The name of an icon that can be used for desktop icons
# for mounted devices.
MOUNT_ICON_NAME="3floppy_mount"

# The name of an icon than can be used for destop icons for
# unmounted or detached devices.
UMOUNT_ICON_NAME="usb"

# Uncomment the next line to enable deleting usb device icon
# from desktop after unmounting the device.
#DELETE_ICON=1

# Comment/uncomment the next lines to enable writing a .directory file
# to the root of each partition mounted - this provides a
# custom icon for the mounted folder as well as a folder unmount
# action.
DO_DIRECTORY_ICON=1
#unset DO_DIRECTORY_ICON

# Comment/uncomment the next line to disable mount uid option where
# the uid is set to the owner of the console.
DO_CONSOLE_USER=1
#unset DO_CONSOLE_USER
USE_WHO=1

# Who to use if DO_CONSOLE_USER isn't set.
USB_USER=root

# Set this to a group appropriate for sharing
#USB_GROUP=root
# Uncomment to allow group rxw for the group called users
USB_GROUP=users

# Umask to set for the mount - default is rwxrwxr-x
USB_UMASK=0002
# Uncomment if you want rwxrwx---
#USB_UMASK=0007

# Uncomment to force module loading/unloading - can
# be usefull on Linux 2.4 to stop /dev/sd[abc] creeping up.
# Not recommended - playing with modules probably isn't nice.
# DO_MODULES=1

# Generic extra mount options.
#MOUNT_OPTIONS=""
# Make the file system updates synchonous - safer in the
# event someone yanks out a device without unmounting it
# because it is more likely to have all its data on board.
# But probably much slower.
MOUNT_OPTIONS="-o sync,dirsync"

# Set any umount options. Some people prefer -lf, some
# with older distros do not. (Read the umount man page for
# details - if unsure, leave on)
#UMOUNT_OPTIONS="-lf"
# Uncomment this line to disable -lf.
#UMOUNT_OPTIONS=""

# On umount, signal any processes that are using the mount point - this
# may cause them to terminate. By default this is disabled for backward
# compatibility - I normally have it enabled. Note that programs that
# don't handle signals will probably exit without saving thier data. My
# thinking is that it is better to terminate a process than have it
# continue to hold the mount open and present a false view of the real
# state of the mount point. Set to enable, leave unset to disable.
TERMINATE_SIGNAL="-HUP"

# If set, on umount, try to terminate processes using a mount point by
# signaling them with the TERMINATE_SIGNAL and if that fails, after a
# couple of seconds delay, send a kill signal to all processes that are
# using the mount point - this may cause them to terminate without
# saving all or some of their data. Set to enable, leave unset to disable.
KILL_SIGNAL="-KILL"

# If set, usb-mount will only use TERMINATE_SIGNAL and KILL_SIGNAL when
# explicitly requested by using -signal or -kill parameters
# as the first argument to usb-umount. Set to enable, leave unset to disable.
# enable/disable.
ONLY_SIGNAL_ON_REQUEST=1

# If set, add destop menu unmount items to terminate and kill
# processes. Set to enable, leave unset to disable.
DESKTOP_SIGNALS=1

# Syslog log priority where a GUI might pop up a window - for
# KDE on Redhat 7.2 this is emerg level. If you don't want
# to see any popups - change it to something lower - eg alert.
LOG_POPUP_LEVEL=emerg

# Syslog facility to use. Error messages in the syslog
# will have this facility so they can be easily identified.
FACILITY=local5

# Comment/uncomment for more debugging info.
DEBUG=1
#unset DEBUG

### End of usb-mount.conf

uberNUT69 10-23-2005 01:35 AM

OK, I'm not familiar with usb-mount, however
what are the contents of fstab, and what does
# fdisk -l
produce?

(sorry about delay, found cracked DSL cable .... eventually)
(took me longer to find my crimpers though! lol )

duffmckagan 10-23-2005 07:24 AM

Doesn't it help using the "auto" option in fstab?


All times are GMT -5. The time now is 06:04 AM.