Re: removable devices auto umounting

2008-03-21 Thread Da Rock
On Fri, 2008-03-21 at 16:21 +0100, Tijl Coosemans wrote: > >> On Thu, Mar 20, 2008 at 11:55:32AM +1000, Da Rock wrote: > >>> I'm just looking into the removable device issue for freebsd. I can > >>> see its easy enough to auto mount a removable device (although I > >>> could use some help getting

Re: removable devices auto umounting

2008-03-21 Thread Tijl Coosemans
>> On Thu, Mar 20, 2008 at 11:55:32AM +1000, Da Rock wrote: >>> I'm just looking into the removable device issue for freebsd. I can >>> see its easy enough to auto mount a removable device (although I >>> could use some help getting sd/xd devices working with my card >>> reader), but the removal se

Re: removable devices auto umounting

2008-03-20 Thread Michael Ross
Am Fri, 21 Mar 2008 09:40:39 +1000 schrieb Da Rock <[EMAIL PROTECTED]>: > That last point would only occur if the device was still being written > to- right? No. Removing a mounted device will cause a panic, writes pending or not. Maybe look at the emulators/mtools port, which gives you access

Re: removable devices auto umounting

2008-03-20 Thread Da Rock
On Thu, 2008-03-20 at 14:14 +0100, Roland Smith wrote: > On Thu, Mar 20, 2008 at 09:55:37PM +1000, Da Rock wrote: > > > > > I'm just looking into the removable device issue for freebsd. I can see > > > > its easy enough to auto mount a removable device (although I could use > > > > some help gett

Re: removable devices auto umounting

2008-03-20 Thread Roland Smith
On Thu, Mar 20, 2008 at 09:55:37PM +1000, Da Rock wrote: > > > I'm just looking into the removable device issue for freebsd. I can see > > > its easy enough to auto mount a removable device (although I could use > > > some help getting sd/xd devices working with my card reader), but the > > > remo

Re: removable devices auto umounting

2008-03-20 Thread Da Rock
On Thu, 2008-03-20 at 08:43 +0100, Roland Smith wrote: > On Thu, Mar 20, 2008 at 11:55:32AM +1000, Da Rock wrote: > > I'm just looking into the removable device issue for freebsd. I can see > > its easy enough to auto mount a removable device (although I could use > > some help getting sd/xd devic

Re: removable devices auto umounting

2008-03-20 Thread Patrick C
What about a "Safely Remove Hardware"-style icon on your desktop, which could simply run a script to unmount (with force if the user has it open somewhere). -Patrick On 20/03/2008, Roland Smith <[EMAIL PROTECTED]> wrote: > On Thu, Mar 20, 2008 at 11:55:32AM +1000, Da Rock wrote: > > I'm just loo

Re: removable devices auto umounting

2008-03-20 Thread Roland Smith
On Thu, Mar 20, 2008 at 11:55:32AM +1000, Da Rock wrote: > I'm just looking into the removable device issue for freebsd. I can see > its easy enough to auto mount a removable device (although I could use > some help getting sd/xd devices working with my card reader), but the > removal seems to come

removable devices auto umounting

2008-03-19 Thread Da Rock
I'm just looking into the removable device issue for freebsd. I can see its easy enough to auto mount a removable device (although I could use some help getting sd/xd devices working with my card reader), but the removal seems to come unstuck. I have some barely literates on my systems, so I do ne

Properly umounting a USB HDD

2005-05-03 Thread Benjamin Keating
Hey all, I've noticed that a 'umount /mnt/portable' properly umounts the drive like it should, but when I hold the drive in my hand and give it a very gentle horizontal spin with my wrist, the reading head / platter.. something, sounds loose, as if the arm wasn't properly docked. Is there any com

Re: umounting /

2003-12-11 Thread Ian Dowse
In message <[EMAIL PROTECTED]>, Dan Strick writes: >You can't unmount the root file system. Even the mere notion makes >me feel a little queasy. There is an explicit test in the kernel that stops you from unmounting the root file system, I guess as an anti foot shooting measure. If you disable th

Re: umounting /

2003-12-11 Thread Matthew Hunt
On Thu, Dec 11, 2003 at 11:55:22AM -0800, Dan Strick wrote: > (Why did you *want* to unmount the root? To fsck it or dump it?) Forcing it to be remounted read-only may help in such cases. wopr:~# mount -u -o ro -f / wopr:~# mount /dev/da0s1a on / (ufs, local, read-only) /dev/da0s1f on /home (uf

Re: umounting /

2003-12-11 Thread Dan Strick
On Thu, 11 Dec 2003, [EMAIL PROTECTED] wrote: >>> > Is this the only way to unmount the root filesystem: > > umount -a > > When I try "umount /", I get this error: > > umount: unmount of / failed: Invalid argument > > The manpage doesn't give any hints on why that argument is invalid... >>> >From

Re: umounting /

2003-12-11 Thread Jerry McAllister
> > > Is this the only way to unmount the root filesystem: > > umount -a > > When I try "umount /", I get this error: > > umount: unmount of / failed: Invalid argument > > The manpage doesn't give any hints on why that argument is invalid... You can't un mount root. You can only reassert the

umounting /

2003-12-11 Thread Dru
Is this the only way to unmount the root filesystem: umount -a When I try "umount /", I get this error: umount: unmount of / failed: Invalid argument The manpage doesn't give any hints on why that argument is invalid... Dru ___ [EMAIL PROTECTED] mai