----- Original Message ----- 
From: "Robert Winder" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 11, 2004 6:07 PM
Subject: Re: [Freevo-users] Re: usb mass storage help please [attn Dischi] NOT FIXED 
!!!


> 
> Sunday, July 11, 2004, 4:04:24 PM, Dirk wrote:
> 
> > Robert Winder wrote:
> >> I give up.
> >>
> >> It has something to do with the vfs implementation. But where it goes
> >> wrong excactly i really can't tell. But what i said earlier
> >>
> >> if line.lower().find('mass storage') != -1:
> >>
> >> should be
> >>
> >> if line.lower().find('storage') != -1:
> >>
> >> in misc.py still stands. Device shows up in menu but doesn't get
> >> mounted. Pretty useless plugin then without the mounting part ;-)
> >> Of course the USB HOTPLUG cmd can be used for mounting but i know
> >> from personal experience that it mounted and umounted the usb device
> >> whithout prob in freevo < 1.4
> 
> > Sorry for the _very_ late answer. Does it work with rc4 and if not,
> > can you tell me which file need what changes?
> 
> Heh, thats indeed some time ago.. ;-) But the above still stands with
> 1.5.0-rc3 and i believe rc-4 as well because misc.py isn't changed.
> 
> Output on my 2.6.6. kernel from
> cat /proc/bus/usb/devices
> 
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=ff Prot=01 Driver=usb-storage
> 
> While searching for mass storage it obviously doesn't find anything.
> As far as i recall when searching for storage in /proc/bus/usb/devices
> you cover most situations in 2.4 and 2.6 kernels.
> 
> Never figured out why auto-mounting didn't work though. Used entries
> in fstab before last year without prob and it did mount the usb
> storage device automagicly. With freevo > 1.4 it did not. Switched to
> autofs and automount and is better anyway especially if one have some
> samba shares in the network. With autofs it worked without a prob.
> 
> > Dischi
> 
____________________________________________________________

getting automount to work is pretty easy (in my case fedore core 2)
cd /etc
cat auto.master
__________________________________
#
# $Id: auto.master,v 1.3 2003/09/29 08:22:35 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc  /etc/auto.misc --timeout=60
/misc   /etc/auto.misc --timeout=60
#/net   /etc/auto.net
__________________________________

cat auto.misc
__________________________________
#
# $Id: auto.misc,v 1.2 2003/09/29 08:22:35 raven Exp $
#
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

cd              -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom

# the following entries are samples to pique your imagination
#linux          -ro,soft,intr           ftp.example.org:/pub/linux
#boot           -fstype=ext2            :/dev/hda1
#floppy         -fstype=auto            :/dev/fd0
#floppy         -fstype=ext2            :/dev/fd0
#e2floppy       -fstype=ext2            :/dev/fd0
#jaz            -fstype=ext2            :/dev/sdc1
#removable      -fstype=ext2            :/dev/hdd
usb             -fstype=auto            :/dev/sda1
usb2            -fstype=auto            :/dev/sdb1
_________________________________________________

Create a directory /misc
addition to local_conf.py:
__________________________________________________
plugin.activate('usb')
# 2 possible USB storage devices (camara and usbstick)
plugin.activate('usbstorage', type='image', args=('USB Storage', '/misc/usb'))
plugin.activate('usbstorage', type='image', args=('USB Data','/misc/usb2'))
_________________________________________________________

cd /etc/init.d
./autofs restart

This should do the job, it worked for me on freevo 1.4rc










-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to