Re: [Freevo-users] usb mass storage help please

2004-04-20 Thread Daniel Caujolle-Bert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le mardi 20 Avril 2004 01:20, Mick a écrit :
 On Tue, 2004-04-20 at 08:14, Mick wrote:
 mount it 'sync' and 'noatime', also.
 
  OK, I've read the man pages on mount and I'm not sure what these to do
  to USB FS's.
 
  sync is related to I/O control, I gather that, but is is faster? Slower?
  Varified?

 OK, according to google its alot slower.. Supermount is looking like the
 'fastest' way to acheive the same/similar results.  Only, its another
 patch to a kernel on a headless box, So i'm not to keen to do it till I
 have to..

if you don't mount it sync, you can't unplug it safely your 
usb(key,whatever) , since copied data could not be flushed to the disk 
(remember floppy under linux, when you umount it).

It's not slower, it's just it write the data immediately on the device.

Cheers.
- -- 
73's de Daniel Der Schreckliche, F1RMB.

 -=- Daniel Caujolle-Bert -=- [EMAIL PROTECTED] -=-
-=- http://naboo.homelinux.org -=-
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAhSphLToa6iW5KUsRAuKWAJ4gl7A4bk4+cJbXHbBbWgdZO1a5QgCglhu9
GGYb7fjfvgj96EEeLNNa+WQ=
=N6ww
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] usb mass storage help please

2004-04-20 Thread Daniel Caujolle-Bert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le mardi 20 Avril 2004 02:10, Mick a écrit :
  mount it 'sync' and 'noatime', also.

 And for atime, see http://www.linuxjournal.com/article.php?sid=6867

 So this makes sense for usbdisks and the like using flash memory, but I
 don't see the need to do so on a portable hard disk..

yes, of course it's save for memory device only (camera, usbkey and such 
things).

Cheers.
- -- 
73's de Daniel Der Schreckliche, F1RMB.

 -=- Daniel Caujolle-Bert -=- [EMAIL PROTECTED] -=-
-=- http://naboo.homelinux.org -=-
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAhSqgLToa6iW5KUsRAq4yAJ9wjgi+rQhqez5UYOJv9fI8GM3SQgCdEkZ2
fXzxmBBH8Z499S7wV3ymls8=
=H06R
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] usb mass storage help please

2004-04-19 Thread Daniel Caujolle-Bert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le dimanche 18 Avril 2004 15:37, Jaap Struyk a écrit :
 Op zo 18-04-2004, om 15:44 schreef Mick:
  Feel free to offer me some advice on what YOUR doing..  As I'm fairly new
  to USB storage and don't know what path to take..

 I had some problems with that too, as workaround I used supermount to
 mount my digicam instead.
 http://supermount-ng.sourceforge.net/
 supermount is the standard Mandrake way of supporting removeable media,
 now idea what distro's support it too.
 I patched my kernel to support it, and added the following in my fstab:
 /dev/sda1 /mnt/digicam supermount fs=vfat,dev=/dev/sda1 0 0
 and off-course added /mnt/digicam to the IMAGE_ITEMS section of
 local_conf.py

mount it 'sync' and 'noatime', also.

Cheers.
- -- 
73's de Daniel Der Schreckliche, F1RMB.

 -=- Daniel Caujolle-Bert -=- [EMAIL PROTECTED] -=-
-=- http://naboo.homelinux.org -=-
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAg8XhLToa6iW5KUsRAloxAKCG2CroLj7OXywHEO3HRumgowPJMwCfTKKi
HbRK/sULA/ptFBooCOOPjSw=
=ipkV
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] usb mass storage help please

2004-04-19 Thread Mick
   mount it 'sync' and 'noatime', also.
 
OK, I've read the man pages on mount and I'm not sure what these to do
to USB FS's.

sync is related to I/O control, I gather that, but is is faster? Slower?
Varified?

Mick


 Cheers.
 - -- 
 73's de Daniel Der Schreckliche, F1RMB.
 
  -=- Daniel Caujolle-Bert -=- [EMAIL PROTECTED] -=-
 -=- http://naboo.homelinux.org -=-
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.3 (GNU/Linux)
 
 iD8DBQFAg8XhLToa6iW5KUsRAloxAKCG2CroLj7OXywHEO3HRumgowPJMwCfTKKi
 HbRK/sULA/ptFBooCOOPjSw=
 =ipkV
 -END PGP SIGNATURE-
 
 
 ---
 This SF.Net email is sponsored by: IBM Linux Tutorials
 Free Linux tutorial presented by Daniel Robbins, President and CEO of
 GenToo technologies. Learn everything from fundamentals to system
 administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/freevo-users


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] usb mass storage help please

2004-04-19 Thread Mick

   mount it 'sync' and 'noatime', also.
 
And for atime, see http://www.linuxjournal.com/article.php?sid=6867

So this makes sense for usbdisks and the like using flash memory, but I
don't see the need to do so on a portable hard disk..

Mick


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


RE: [Freevo-users] usb mass storage help please

2004-04-18 Thread Mick
Is anyone using the mass storage plugin?  I'm getting a little frustrated
not being able to work it out..

I've found now there are automounting services that can be hacked to do the
same thing..  Like hotplug on gentoo.

Feel free to offer me some advice on what YOUR doing..  As I'm fairly new to
USB storage and don't know what path to take..

What I really want is for the features that I thought were in usbstorage, to
'add' and 'remove' the given directory when the device is available.
Thinking about this, this would be good for network /smb mounts also.

Maybe I should start ot dig around there..

Mick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mick
Sent: Sunday, 18 April 2004 12:09 AM
To: [EMAIL PROTECTED]
Subject: RE: [Freevo-users] usb mass storage help please


A little further on..

I can see usb.py is seeing the device..
usb.py: removed device 0402:5621
usb.py: new device 0402:5621

Is anyone using the mass storage plugin?  I guess for now a shortcut is to
use usb.py to mount the drives and just hardcode the mount dirs to the video
items..

FYI:  This is what my config looks like..
plugin.activate('usb')
USB_HOTPLUG = [ ('0402:5621', 'Mounting USB-1', 'mount /mnt/USB-1
/mnt/USB-2') ]
plugin.activate('usbstorage', type='video', args=('0402:5621',
'/mnt/USB-1'))

reading usbstorage.py, it looks like '0402:5621' is the name given to the
menu item, but i left the USB device ID there just in case i'mmissing
something..

Only issue with this is that they don't unmount when they are removed..
Maybe there's sometheing to add to the usb plugin: ie app to call when
device x is removed..  OK.  Ive done this now. Send to freevo-develif anyone
interested.

Mick



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mick
Sent: Saturday, 17 April 2004 11:00 AM
To: Freevo-Users
Subject: [Freevo-users] usb mass storage help please


I'm strugling with the usb settings in 1.5pre1.

here are the relavent bits from my config..

plugin.activate('usb')
plugin.activate('usbstorage', type='video', args=('USB 1st', '/mnt/USB-1'))

And fstab:
/dev/sda1   /mnt/USB-1  vfatnoatime,users
0 1

It mounts fine with:
mount -v /mnt/USB-1
/dev/sda1 on /mnt/USB-1 type vfat (rw,noexec,nosuid,nodev,noatime)

However, i'm not sure what to look for in terms of logs to find out what
stage i'm getting to in freevo..

I have 1 40G USB HDD with 2 Parts each set to 20g.  I would like to have
these both automount when plugged in.

Is this what the automount plugin is for?  I'm loathing booting up the
laptop to ssh in and mount them manually ATM.

Cheers,
Mick



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


RE: [Freevo-users] usb mass storage help please

2004-04-18 Thread Jaap Struyk
Op zo 18-04-2004, om 15:44 schreef Mick:

 Feel free to offer me some advice on what YOUR doing..  As I'm fairly new to
 USB storage and don't know what path to take..

I had some problems with that too, as workaround I used supermount to
mount my digicam instead.
http://supermount-ng.sourceforge.net/
supermount is the standard Mandrake way of supporting removeable media,
now idea what distro's support it too.
I patched my kernel to support it, and added the following in my fstab:
/dev/sda1 /mnt/digicam supermount fs=vfat,dev=/dev/sda1 0 0
and off-course added /mnt/digicam to the IMAGE_ITEMS section of
local_conf.py
-- 
Groetjes Japie



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] usb mass storage help please

2004-04-18 Thread Robert Winder
Mick,

Oh sorry i totally misread your post .. you already got it working, heh.

With older version it wasn't needed to use USB_HOTPLUG= and mount the
device with a custom command, it already did it automatically. And i am
fairly sure dischi didn't intended to mount a device semi manually
with the USB_HOTPLUG option.

And not sure what happens if one uses multiple usb storage devices
without the use of the USB_ID.

But i could be wrong of course, again. ;-)


 /Robert 

Sunday, April 18, 2004, 5:30:25 PM, Robert wrote:

 Mick,

 I used the USB plugin last year with an older version of Freevo with
 succes. Haven't used it since. I saw dischi made some changes in this
 plugin but i shall try again and hookup my digicam and let you know
 if i get it going again. It could be that you need some additional
 usb kernel stuff to get it going.

  /Robert 

 Sunday, April 18, 2004, 3:44:11 PM, Mick wrote:

 Is anyone using the mass storage plugin?  I'm getting a little frustrated
 not being able to work it out..

 I've found now there are automounting services that can be hacked to do the
 same thing..  Like hotplug on gentoo.

 Feel free to offer me some advice on what YOUR doing..  As I'm fairly new to
 USB storage and don't know what path to take..

 What I really want is for the features that I thought were in usbstorage, to
 'add' and 'remove' the given directory when the device is available.
 Thinking about this, this would be good for network /smb mounts also.

 Maybe I should start ot dig around there..

 Mick

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Mick
 Sent: Sunday, 18 April 2004 12:09 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [Freevo-users] usb mass storage help please


 A little further on..

 I can see usb.py is seeing the device..
 usb.py: removed device 0402:5621
 usb.py: new device 0402:5621

 Is anyone using the mass storage plugin?  I guess for now a shortcut is to
 use usb.py to mount the drives and just hardcode the mount dirs to the video
 items..

 FYI:  This is what my config looks like..
 plugin.activate('usb')
 USB_HOTPLUG = [ ('0402:5621', 'Mounting USB-1', 'mount /mnt/USB-1
 /mnt/USB-2') ]
 plugin.activate('usbstorage', type='video', args=('0402:5621',
 '/mnt/USB-1'))

 reading usbstorage.py, it looks like '0402:5621' is the name given to the
 menu item, but i left the USB device ID there just in case i'mmissing
 something..

 Only issue with this is that they don't unmount when they are removed..
 Maybe there's sometheing to add to the usb plugin: ie app to call when
 device x is removed..  OK.  Ive done this now. Send to freevo-develif anyone
 interested.

 Mick



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Mick
 Sent: Saturday, 17 April 2004 11:00 AM
 To: Freevo-Users
 Subject: [Freevo-users] usb mass storage help please


 I'm strugling with the usb settings in 1.5pre1.

 here are the relavent bits from my config..

 plugin.activate('usb')
 plugin.activate('usbstorage', type='video', args=('USB 1st', '/mnt/USB-1'))

 And fstab:
 /dev/sda1   /mnt/USB-1  vfatnoatime,users
 0 1

 It mounts fine with:
 mount -v /mnt/USB-1
 /dev/sda1 on /mnt/USB-1 type vfat (rw,noexec,nosuid,nodev,noatime)

 However, i'm not sure what to look for in terms of logs to find out what
 stage i'm getting to in freevo..

 I have 1 40G USB HDD with 2 Parts each set to 20g.  I would like to have
 these both automount when plugged in.

 Is this what the automount plugin is for?  I'm loathing booting up the
 laptop to ssh in and mount them manually ATM.

 Cheers,
 Mick



 ---
 This SF.Net email is sponsored by: IBM Linux Tutorials
 Free Linux tutorial presented by Daniel Robbins, President and CEO of
 GenToo technologies. Learn everything from fundamentals to system
 administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/freevo-users



 ---
 This SF.Net email is sponsored by: IBM Linux Tutorials
 Free Linux tutorial presented by Daniel Robbins, President and CEO of
 GenToo technologies. Learn everything from fundamentals to system
 administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/freevo-users



 ---
 This SF.Net email is sponsored by: IBM Linux Tutorials
 Free Linux tutorial presented by Daniel Robbins, President and CEO of
 GenToo technologies. Learn everything from fundamentals to system
 administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
 ___
 Freevo-users

Re: [Freevo-users] usb mass storage help please [attn Dischi]

2004-04-18 Thread Mick
On Mon, 2004-04-19 at 03:16, Robert Winder wrote:
 Mick,
 
 Oh sorry i totally misread your post .. you already got it working, heh.
 
 With older version it wasn't needed to use USB_HOTPLUG= and mount the
 device with a custom command, it already did it automatically. And i am
 fairly sure dischi didn't intended to mount a device semi manually
 with the USB_HOTPLUG option.

Dischi,

Can you please explain to me how usbtorage.py is meant to funtion with
refference to usb.py?

I can't see any refference to calling mount or umount..  I'm happy to
make this my first contribution, but need your advice as to how its
meant to work..

Its such a simple process that I don't see the need to patch a kernel or
install another dependancy to get it going..

Mick
 
 And not sure what happens if one uses multiple usb storage devices
 without the use of the USB_ID.

This should be easy enough to hack once I know *how* its meant to work
;-)
 
 But i could be wrong of course, again. ;-)
 
 
  /Robert 
 
 Sunday, April 18, 2004, 5:30:25 PM, Robert wrote:
 
  Mick,
 
  I used the USB plugin last year with an older version of Freevo with
  succes. Haven't used it since. I saw dischi made some changes in this
  plugin but i shall try again and hookup my digicam and let you know
  if i get it going again. It could be that you need some additional
  usb kernel stuff to get it going.
 
   /Robert 
 
  Sunday, April 18, 2004, 3:44:11 PM, Mick wrote:
 
  Is anyone using the mass storage plugin?  I'm getting a little frustrated
  not being able to work it out..
 
  I've found now there are automounting services that can be hacked to do the
  same thing..  Like hotplug on gentoo.
 
  Feel free to offer me some advice on what YOUR doing..  As I'm fairly new to
  USB storage and don't know what path to take..
 
  What I really want is for the features that I thought were in usbstorage, to
  'add' and 'remove' the given directory when the device is available.
  Thinking about this, this would be good for network /smb mounts also.
 
  Maybe I should start ot dig around there..
 
  Mick
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Mick
  Sent: Sunday, 18 April 2004 12:09 AM
  To: [EMAIL PROTECTED]
  Subject: RE: [Freevo-users] usb mass storage help please
 
 
  A little further on..
 
  I can see usb.py is seeing the device..
  usb.py: removed device 0402:5621
  usb.py: new device 0402:5621
 
  Is anyone using the mass storage plugin?  I guess for now a shortcut is to
  use usb.py to mount the drives and just hardcode the mount dirs to the video
  items..
 
  FYI:  This is what my config looks like..
  plugin.activate('usb')
  USB_HOTPLUG = [ ('0402:5621', 'Mounting USB-1', 'mount /mnt/USB-1
  /mnt/USB-2') ]
  plugin.activate('usbstorage', type='video', args=('0402:5621',
  '/mnt/USB-1'))
 
  reading usbstorage.py, it looks like '0402:5621' is the name given to the
  menu item, but i left the USB device ID there just in case i'mmissing
  something..
 
  Only issue with this is that they don't unmount when they are removed..
  Maybe there's sometheing to add to the usb plugin: ie app to call when
  device x is removed..  OK.  Ive done this now. Send to freevo-develif anyone
  interested.
 
  Mick
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Mick
  Sent: Saturday, 17 April 2004 11:00 AM
  To: Freevo-Users
  Subject: [Freevo-users] usb mass storage help please
 
 
  I'm strugling with the usb settings in 1.5pre1.
 
  here are the relavent bits from my config..
 
  plugin.activate('usb')
  plugin.activate('usbstorage', type='video', args=('USB 1st', '/mnt/USB-1'))
 
  And fstab:
  /dev/sda1   /mnt/USB-1  vfatnoatime,users
  0 1
 
  It mounts fine with:
  mount -v /mnt/USB-1
  /dev/sda1 on /mnt/USB-1 type vfat (rw,noexec,nosuid,nodev,noatime)
 
  However, i'm not sure what to look for in terms of logs to find out what
  stage i'm getting to in freevo..
 
  I have 1 40G USB HDD with 2 Parts each set to 20g.  I would like to have
  these both automount when plugged in.
 
  Is this what the automount plugin is for?  I'm loathing booting up the
  laptop to ssh in and mount them manually ATM.
 
  Cheers,
  Mick
 
 
 
  ---
  This SF.Net email is sponsored by: IBM Linux Tutorials
  Free Linux tutorial presented by Daniel Robbins, President and CEO of
  GenToo technologies. Learn everything from fundamentals to system
  administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
  ___
  Freevo-users mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/freevo-users
 
 
 
  ---
  This SF.Net email is sponsored by: IBM Linux Tutorials
  Free Linux tutorial presented by Daniel Robbins, President and CEO of
  GenToo technologies. Learn