You are not logged in.
I have a bit similar problem to this one. When UDev upgraded a couple of months ago my ntfs partition was mounted under /media in usb-hdx mount points. I unmounted it and deleted all the usb-hdx mount points and rebooted. Everything worked fine except that the ntfs partition is mounted in the "wrong" place. In /etc/fstab I have line
UUID=35B0B3EF0CE8AC75 /mnt/mediat ntfs-3g defaults 0 0
I checked that the UUID is correct. But when I take a look at /proc/mounts, it shows
/dev/sda4 /media/mediat fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
First of all, it's under /media and not under /mnt. I'm not sure if it's relevant, but I understand it's using /dev/sda4 instead of UUID. When booting I get error in "Mounting local filesystems":
Mount is denied because the NTFS volume is already exclusively opened. The volume may be already mounted, or another software may use it which could be identified for example by the help of the ‘fuser’ command.
When I use
fuser -m /dev/sda4
I get pid 723 which refers to
root 723 1 0 21:29 ? 00:00:00 /sbin/mount.ntfs /dev/sda4 /media/mediat -o rw,relatime,utf8,gid=100,umask=002
So what could be mounting my ntfs partition prior to fstab?
Last edited by Tha-Fox (2011-06-25 17:51:42)
Offline
Watch your udev rules for automount ntfs.
Last edited by ganastasiou (2011-06-22 20:11:05)
Offline
Thanks a lot, ganastasiou! I didn't remember I copied this rule from wiki. I renamed it so that it isn't used anymore and now my ntfs partition is once again under /mnt. There is still the problem with /proc/mounts showing /dev/sda4 instead of /dev/disk/by-uuid/xxx
I can't find any rules for automounting ntfs under /lib/udev/rules.d or /etc/udev/rules.d/
Offline
If it is an internal driver, don't use udev or similar, just write a sane fstab line. Eg no user, user_id etc..
If it is external, then I would suggest using udiskie or a fm that does automounting.
Last edited by Mr.Elendig (2011-06-24 12:08:25)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Agree with Mr.Elendig
edited:cat /proc/mounts output shows the device under /dev not the uuid or label.
Last edited by ganastasiou (2011-06-24 14:58:25)
Offline
I removed all the udev rules I had created myself. Thank you both for your replies!
Offline