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

Rustam Ershtukaev samuraiche at gmail.com
Mon May 19 17:02:58 UTC 2008


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,
   





More information about the ubuntu-users mailing list