Re: USB / umass / automount

2008-01-23 Thread Oliver Peter
On Tue, Jan 22, 2008 at 07:13:17PM -0500, Chris Hill wrote:
 On Tue, 22 Jan 2008, David Alanis wrote:
 Quoting Oliver Peter [EMAIL PROTECTED]:
 Hi,
 What is currently the best way to attach and detach umass-devices
 automatically?
 Bye
 Oliver
 --
 Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
 Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.
 
 Could you just edit your fstab to have:
 
 /dev/umass-device /umass /umass-type auto 0 0

 This will not make the auto-mounter daemon happen; rather, it will cause 
 the system to try to mount /dev/umass-device at boot time. If the umass 
 device is not connected at boot time, the system will need manual 
 intervention in order to boot. Probably not what the OP wants. Besides, 
 auto is the default anyway.

Thanks for your answers!

That's not exactly what I want - I thought about to plug e.g. an
usb-stick into my machine, let it mount via amd and after I detach the
device from my machine amd should umount the devices automatically.

Is this possible?

AFAIR bad things happen when a mounted usb-devices disappears...

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgpLeHUZErBaY.pgp
Description: PGP signature


Re: USB / umass / automount

2008-01-23 Thread Wojciech Puchar

device from my machine amd should umount the devices automatically.

Is this possible?


no - because there is time sequence problem.

device must be FIRST unmounted, then detached
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB / umass / automount

2008-01-22 Thread Oliver Peter
Hi,

What is currently the best way to attach and detach umass-devices
automatically?

Bye
Oliver

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.


pgp6dOGpuYMWL.pgp
Description: PGP signature


Re: USB / umass / automount

2008-01-22 Thread David Alanis

Quoting Oliver Peter [EMAIL PROTECTED]:


Hi,

What is currently the best way to attach and detach umass-devices
automatically?

Bye
Oliver

--
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
 The Queen is their slave.



Could you just edit your fstab to have:

/dev/umass-device /umass /umass-type auto 0 0

and umount /umass when ever you need to?

David


This message was sent using IMP, the Internet Messaging Program.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB / umass / automount

2008-01-22 Thread Chris Hill

On Tue, 22 Jan 2008, David Alanis wrote:


Quoting Oliver Peter [EMAIL PROTECTED]:


Hi,

What is currently the best way to attach and detach umass-devices
automatically?

Bye
Oliver

--
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave.  Even drones can fly away.
The Queen is their slave.



Could you just edit your fstab to have:

/dev/umass-device /umass /umass-type auto 0 0

   
This will not make the auto-mounter daemon happen; rather, it will cause 
the system to try to mount /dev/umass-device at boot time. If the umass 
device is not connected at boot time, the system will need manual 
intervention in order to boot. Probably not what the OP wants. Besides, 
auto is the default anyway.


--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB / umass / automount

2008-01-22 Thread Jonathan Horne
On Tuesday 22 January 2008 06:13:17 pm Chris Hill wrote:
 On Tue, 22 Jan 2008, David Alanis wrote:
  Quoting Oliver Peter [EMAIL PROTECTED]:
  Hi,
 
  What is currently the best way to attach and detach umass-devices
  automatically?
 
  Bye
  Oliver
 
  --
  Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
  Worker bees can leave.  Even drones can fly away.
  The Queen is their slave.
 
  Could you just edit your fstab to have:
 
  /dev/umass-device /umass /umass-type auto 0 0

 
 This will not make the auto-mounter daemon happen; rather, it will cause
 the system to try to mount /dev/umass-device at boot time. If the umass
 device is not connected at boot time, the system will need manual
 intervention in order to boot. Probably not what the OP wants. Besides,
 auto is the default anyway.

 --
 Chris Hill   [EMAIL PROTECTED]
 ** [ Busy Expunging | ]


sysutils/desktopbsd-tools.  not automatic, but at least there is a little tray 
icon you can click on to control the mounting/unmounting.  works well for me.

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
freebsd08 [EMAIL PROTECTED] dfwlp.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]