Bug 4228 - unmounting mfs filesystem does bogus dns lookups
Summary: unmounting mfs filesystem does bogus dns lookups
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1997-08-05 01:20 UTC by Richard Tobin
Modified: 1997-08-09 15:52 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Tobin 1997-08-05 01:20:01 UTC
/tmp is a memory filesystem.  If I unmount it when I am not connected
to the Internet, unmounting takes several minutes.  ktrace indicates
that umount is looking up the name "mfs".  Presumably this is related
to the fact that mount shows the filesystem as (eg) mfs:581 which
looks like an NFS location.

How-To-Repeat: Install a nameserver on your machine.  Ensure you are not connected
to the internet.   Mount a memory filesystem.  Unmount it.  Go for
a cup of tea.
Comment 1 Joerg Wunsch 1997-08-05 07:39:52 UTC
As richard@cogsci.ed.ac.uk wrote:

> /tmp is a memory filesystem.  If I unmount it when I am not connected
> to the Internet, unmounting takes several minutes.

This has already been fixed in:

revision 1.7
date: 1997/05/16 10:27:02;  author: dfr;  state: Exp;  lines: +2 -2
Generalise the previous change so that only NFS hostnames are looked up.

PR:             bin/3588
Suggested by:   Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
----------------------------
revision 1.6
date: 1997/04/29 09:10:11;  author: dfr;  state: Exp;  lines: +2 -2
Don't try to look up unionfs' <above>, <below> keywords as hostnames.

...of umount.c.  The fix is not yet in the 2.2-stable branch, but
probably should be there.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Comment 2 Joerg Wunsch freebsd_committer freebsd_triage 1997-08-09 15:52:08 UTC
State Changed
From-To: open->closed

This has already been fixed in rev 1.6/1.7 in -current.  Fix merged into 
RELENG_2_2 in rev 1.4.6.2 as well.