Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Entry not getting deleted from /etc/mnttab

Status
Not open for further replies.

krishsays

IS-IT--Management
Dec 3, 2004
45
GB
Hi

I am having problem here ...I mounted one of the directory and unmounted and deleted it , but this entry is stuck in /etc/mnttab..and not getting removed although the niether the direcory nor the mount exist. Please can somebody let me know how to remove this entry from /etc/mnttab or refresh it.

krishan
 
I am not exactly sure how you got to where you are, but the /etc/mnttab file is actually held in memory, so if all else fails, a reboot should cure the situation.

I hope that helps.

Mike
 
You sure you unmounted it before you deleted it? Try to recreate the directory and remount the filesystem, then unmount the filesystem. /etc/mnttab is a read-only filesystem so you cannot manually manipulate it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top