System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

fstab has extra mount points

SOLVED
Go to solution
marvin51796
Regular Advisor

fstab has extra mount points

HP-UX 11Vi3 OS,

my fstab file has an extra mount point that doesnt exist anymore. What is the best way to remove it without corrupting the etc/fstab file?

Thanks

2 REPLIES
Patrick Wallek
Honored Contributor
Solution

Re: fstab has extra mount points

The /etc/fstab file is a plain ASCII text file and can be edited with 'vi' or whatever your favorite editor is.

 

Make a backup copy of the file first, then just edit the file and remove the line with the mountpoint you want to get rid of.

Dennis Handly
Acclaimed Contributor

Re: fstab has extra entries

fstab(4) also allows a leading # to comment out the line.   All described in the man page.