Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 5039  / 3 Years ago, thu, september 2, 2021, 8:21:55

So I have navigated to the network share via Nautilus, but now I want to make it a permanent mount that is maintained between reboots. How can I easily add this share to the /etc/fstab file?



By easy I mean right clicking on the share I want to link in and choosing something like "Map Network Drive"! I don't know the details of the machine that holds this share and that is why I have been using Nautilus to browse the network for it. Right clicking on the share in Nautilus and viewing properties does not seem to give me enough information for an fstab entry.



Please can you tell me how to achieve this?


More From » 11.10

 Answers
7

It sounds like what you actually want is the ability to quickly access a particular network mount? If so, simply right-click on the network mount and select "Add Bookmark", you'll then be able to access that mount from the bookmark link on subsequent boots.



That is a much safer option that modifying your systems /etc/fstab file: if /etc/fstab gets corrupted, you may end up with a system that won't boot. And even if you do update /etc/fstab correctly for the mount in question, you will potentially impact boot performance by specifying a network (non-local) mount there.



If you really, really want to update /etc/fstab, there is a command-line tool that will show mount details for nautilus mounts:



gvfs-mount -l


Or for more details:



gvfs-mount -li

[#41701] Friday, September 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pardsea

Total Points: 290
Total Questions: 115
Total Answers: 98

Location: Svalbard and Jan Mayen
Member since Sun, Sep 25, 2022
2 Years ago
;