Anyone know how to automatically mount a harddisk and how to make it writable ?
My harddrive is netdisk (ximeta)
and my partition is ntfs
I use debian
Here is my command line to mount my drive :
mount /dev/uba1 /mnt/disk
/etc/init.d/autofs restart
Here is what I have done to mount automatically my harddrive :
============================================
/etc/auto.master
/mnt/removable /etc/auto.removable --timeout=10
/mnt/disk /etc/auto.win --timeout=60
/etc/auto.removable
usbdrive -fstype=vfat,uid=diwaker,gid=users,rw,umask=002 :/dev/uba1
/etc/init.d/autofs restart
But...I can't see my harddrive in /mnt/disk
============================================
I found a script (USBMOUNT) that could do that thing for me but when I try to dpkg -i the .deb, the system throw me an error. Here is the script :
http://usbmount.alioth.debian.org/
root@mythtv:~# dpkg -i usbmount_0.0.11_all.deb
Selecting previously deselected package usbmount.
(Reading database ... 54575 files and directories currently installed.)
Unpacking usbmount (from usbmount_0.0.11_all.deb) ...
dpkg: dependency problems prevent configuration of usbmount:
usbmount depends on udev (>= 0.053-1); however:
Package udev is not installed.
dpkg: error processing usbmount (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
usbmount