On Tue, 2006-10-24 at 20:35 -0400, Patrick Shanahan wrote:
* Hans du Plooy <koffiejunkielistlurker@koffiejunkie.za.net> [10-24-06 20:31]:
I added this line to /etc/fstab:
LABEL=EXT320 /media/EXT320 ext2 auto,hotplug,defaults 1 2
...
Now the problem is, /bin/mount -a fails, because the mount point hadn't been created. KDE's automount system somehow checks the label of the disc ("EXT320" in this case) and mkdir the mountpoint ("/media/EXT320" in this case), and then mounts it.
I'm missing the making the mountpoint part. How do I do this?
mkdir /media/EXT320
Patrick, sorry, let me rephrase: How do I get udev to make the mountpoint, and delete it again when the device is unmounted? When I load KDE again, it will mount the drive, but when I remove it, it removes the mountpoint, meaning I have to make it manually each time after using KDE. Thanks Hans