9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: miller@hamnavoe.demon.co.uk miller@hamnavoe.demon.co.uk
Subject: unmounting
Date: Thu, 21 Nov 1996 11:41:12 +0000	[thread overview]
Message-ID: <19961121114112.KKtyLCKrCGtvYdP9-SbzpF24ThEirOMxROxnGsnpSfY@z> (raw)

A clue to the reason why 

	bind -a '#|' /net
	unmount '#|' /net

gives the result

	unmount: not in union

can be found by performing the experiment

	ls -qd '#c'; ls -qd '#c'; ls -qd '#|'; ls -qd '#|'

which gives the result

	80000000 0 .
	80000000 0 .
	80002e00 0 pipe
	80002e40 0 pipe

Note that the qid (which uniquely identifies a file on a given server)
is consistent for the console device, but different each time for the
pipe device.  Each reference to '#|' is creating a new pipe, which
is why the unmount doesn't work -- the '#|' in the unmount command 
refers to a different file from the '#|' in the mount command.

-- Richard Miller




             reply	other threads:[~1996-11-21 11:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-21 11:41 miller [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-11-21  9:00 unmounting Nigel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19961121114112.KKtyLCKrCGtvYdP9-SbzpF24ThEirOMxROxnGsnpSfY@z \
    --to=miller@hamnavoe.demon.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).