I'm trying to set up automounting with udev in latest cooking. I've wrote such file with udev rules:
# Automount USB devices
SUBSYSTEM!="block", GOTO="automount_end"
KERNEL!="sd[a-z][0-9]", GOTO="automount_end"
IMPORT{program}="/sbin/blkid -o udev -p %N"
ENV{ID_FS_LABEL}!="", ENV{MOUNT_POINT}="%E{ID_FS_LABEL}"
ENV{ID_FS_LABEL}=="", ENV{MOUNT_POINT}="%E{ID_MODEL}_%n"
ACTION!="add", GOTO="automount_add_end"
ENV{ID_FS_TYPE}=="ntfs|vfat", RUN+="/bin/mkdir -p /media/usb/%E{MOUNT_POINT}"
ENV{ID_FS_TYPE}=="vfat", RUN+="/bin/mount -o uid=1000,utf8,nosuid,nodev,fmask=0022,dmask=0022 /dev/%k /media/usb/%E{MOUNT_POINT}"
ENV{ID_FS_TYPE}=="ntfs", RUN+="/bin/mount -t ntfs-3g /dev/%k /media/usb/%E{MOUNT_POINT}"
LABEL="automount_add_end"
ACTION!="remove", GOTO="automount_end"
RUN+="/bin/umount -lf /media/usb/%E{MOUNT_POINT}"
RUN+="/bin/rmdir /media/usb/%E{MOUNT_POINT}"
LABEL="automount_end"
Ok, flash with FAT filesystem work correctly, but devices with NTFS doesn't mounting. udev create new directory with fs label as name, but doesn't mount filesystem to it. Where is the problem? Why mounting FAT partitions work from udev, but mounting NTFS doesn't work?