I have a NTFS drive that is mounted by root. When root logsout, the drive automatically unmounts and is not visible on the GUI. How can the drive stay mounted after root logsout?
Printable View
I have a NTFS drive that is mounted by root. When root logsout, the drive automatically unmounts and is not visible on the GUI. How can the drive stay mounted after root logsout?
Hi and welcome.
Define the mountpoint in /etc/fstab.
the drive is not identified in /etc/fstab. We mounted it after booting the system while logged on as root. When root logsout, the drive automatically unmounts. Is this normal?
I meant: Add the line to /etc/fstab.
Something like
Replace <NTFSPARTITION> with an appropiate device.Code:mkdir -p /mnt/windowsdata
In /etc/fstab:
/dev/<NTFSPARTITION> /mnt/windowsdata ntfs defaults,umask=007 0 0
Then
mount /mnt/windowsdata
Also, different/additional mountoptions like uid or gid might be of interest.
The man page has more details.