Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 3159  / 3 Years ago, thu, october 7, 2021, 3:12:51

I'm using Ubuntu 12.04 with two hard drives.



The second drive is set to mount to /home/myuser/DATA and it mounts OK. However gnome shows a 'Removable Devices' item in notification area which lists my hard drive with the unmount button.



How do I make Ubuntu to treat the second hdd like the system one, without suggesting me to unmount it in the notification area?


More From » mount

 Answers
5

The solution is to change the mount point to /mnt/"something". Modify your fstab and it shouldn't show the unmount option any longer.



Then you may bind mount it to the directory you want:



UUID=your_uuid_here /mnt/DATA ext4       defaults        0       2
/mnt/DATA /home/yrogirg/DATA none bind 0 0

[#38625] Thursday, October 7, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ilityushing

Total Points: 18
Total Questions: 100
Total Answers: 113

Location: Senegal
Member since Wed, May 13, 2020
4 Years ago
;