Is there any way to always mount with -o force?

Rustam Ershtukaev samuraiche at gmail.com
Mon May 19 23:40:18 UTC 2008


On Mon, 2008-05-19 at 13:15 -0500, Dan Farrell wrote:
> On Mon, 19 May 2008 19:02:58 +0200
> Rustam Ershtukaev <samuraiche at gmail.com> wrote:
> 
> > Hi guys,
> > 
> > I have been looking for a possibility to mount my external harddrive
> > automatically with "-o force",but found nothing.I have a windows
> > machine and an Ubuntu on which i currenly am.When i use my external
> > hard drive with windows and then try to plug it in ubuntu I always
> > get the message that the hard drive wasn't properly unmounted. So I
> > have to type all commandos over and over again like "mount
> > -t /dev/sda1 /media/disk-1 -o force". I initially wanted to add a
> > line in /etc/fstab to enable auto mount,but I don't always have my HD
> > plugged in. Is there any way to tell my ubuntu to always use the "-o
> > force" option when using external HD?
> > 
> > 
> > Thnx,
> >    
> > 
> 
> I think you should figure out why it isn't properly being unmounted.
> Are you stopping the removable device in windows before removing it?
> If not, that's probably the cause.  
> 
> /etc/fstab might allow you to set 'force' in the options, I don't know
> but it's  a natural place to start.  
> 

No, i'm not stopping it, i just plug it out. And indeed this is the
cause, but when doing the same with ubuntu i can mount it afterward with
no prob without using -o force.





More information about the ubuntu-users mailing list