Trashcan support on NTFS volumes: Difference between revisions

From WickyWiki
No edit summary
No edit summary
Line 44: Line 44:
...
...
# NTFS Partitions
# NTFS Partitions
UUID=45645645645645645 /media/DATA ntfs-3g noauto,defaults,uid=1000,locale=en_US.UTF-8 0 0
UUID=45645645645645645 /media/DATA ntfs-3g defaults,noauto,uid=1000,locale=en_US.UTF-8 0 0
...
...
</pre>
</pre>

Revision as of 07:21, 11 January 2012


To enable Trash can support on a NTFS partition you will have to make an entry in your /etc/fstab file. You must specify the drive by UUID and assign a userid.

To find the correct UUID:

sudo blkid

Returns:

...
/dev/sda2: LABEL="Ubuntu" UUID="12312312312312312" TYPE="ext4" 
/dev/sda3: LABEL="Data" UUID="45645645645645645" TYPE="ntfs" 
...

Now edit fstab:

sudo gedit /etc/fstab

Add the following lines:

...
# NTFS Partitions
UUID=45645645645645645 /media/DATA ntfs-3g defaults,uid=1000,locale=en_US.UTF-8 0 0
...

To prevent automatic mounting add 'noauto':

...
# NTFS Partitions
UUID=45645645645645645 /media/DATA ntfs-3g defaults,noauto,uid=1000,locale=en_US.UTF-8 0 0
...

Now remount the partitions.

sudo umount -a
sudo mount -a