9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] cdrom floppy tape etc, media mount point
Date: Mon, 15 Jul 2002 17:45:38 +0100	[thread overview]
Message-ID: <f92eb7a06c32cc832bc06c0b80319801@vitanuova.com> (raw)

> >The /n vs /mnt thing is just a convention.
> 
> Yes, I know it.  However, it's not easy to explain this to my naive
> students.  
> You, probably  many others?, don't want to have many directory 
> in /, don't you?

personally, i'd like to get rid of /mnt entirely.  i much prefer it
when things are in /n, mainly because it's so much easier to type!

i recently knocked up a little filesystem as in inferno as an
experiment (it was actually to test a new library interface), which
acts as a kind of auto mountpoint directory.

in this directory, a walk to any name will succeed, and will walk to
an empty directory of that name.  a read of the original will now show
the new name.

thus, having done:

	autodir /n

you can do, say:

	mount /srv/factotum /n/bletheridoo

and it will work - the destination mount point is created on demand
(and deleted when there are no more references to it).

i haven't used it in earnest, but it always seemed a bit unnatural
to have to pre-create mount points for all future services;
perhaps there's a place for something like this under plan 9?
(it's only a couple of hours work).

  cheers,
    rog.



             reply	other threads:[~2002-07-15 16:45 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-15 16:45 rog [this message]
2002-07-15 16:02 ` Sam
2002-07-15 16:52 ` Lucio De Re
2002-07-15 19:21 ` Scott Schwartz
2002-07-16 12:26 ` Martin C.Atkins
  -- strict thread matches above, loose matches on Subject: below --
2002-07-30 11:45 Russ Cox
2002-07-18 11:19 rog
2002-07-16 16:09 rog
2002-07-16 15:35 rog
2002-07-16 14:42 ` Sam
2002-07-16 15:39 ` Scott Schwartz
2002-07-16 13:34 rog
2002-07-16 15:19 ` Scott Schwartz
2002-07-18  9:50 ` Ben
2002-07-18 16:06   ` Jack Johnson
2002-07-16  7:39 Fco.J.Ballesteros
2002-07-15 16:33 okamoto
2002-07-12 16:16 anothy
2002-07-12 10:44 okamoto
2002-07-12 10:37 Fco.J.Ballesteros
2002-07-12 10:32 okamoto
2002-07-12 10:20 Fco.J.Ballesteros
2002-07-15  9:30 ` Ben
2002-07-12 10:15 okamoto
2002-07-12  7:40 Fco.J.Ballesteros
2002-07-12  2:47 okamoto
2002-07-12  2:17 anothy
2002-07-12  2:07 okamoto
2002-07-12  9:03 ` Don

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=f92eb7a06c32cc832bc06c0b80319801@vitanuova.com \
    --to=rog@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    /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).