Is there any way to always mount with -o force?
Dan Farrell
dan at spore.ath.cx
Mon May 19 18:15:04 UTC 2008
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.
More information about the ubuntu-users
mailing list