Groups | Search | Server Info | Login | Register


Groups > comp.protocols.nfs > #36

Re: Mounting files instead of directories?

X-Received by 10.157.51.3 with SMTP id f3mr10896639otc.30.1474057726327; Fri, 16 Sep 2016 13:28:46 -0700 (PDT)
X-Received by 10.36.50.145 with SMTP id j139mr597277ita.9.1474057726303; Fri, 16 Sep 2016 13:28:46 -0700 (PDT)
Path csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!x192no1269266itb.0!news-out.google.com!w143ni3226itb.0!nntp.google.com!u18no1135906ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.protocols.nfs
Date Fri, 16 Sep 2016 13:28:45 -0700 (PDT)
In-Reply-To <dd5dd771-b113-4023-a909-c16fc5c13ed4@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=2601:602:9700:f645:c123:5593:6b6f:6a05; posting-account=EzOFVAoAAABATDVUycHRcOAo-F7Fum8s
NNTP-Posting-Host 2601:602:9700:f645:c123:5593:6b6f:6a05
References <57788725-e7aa-474c-91f8-b7768c6f2e30@googlegroups.com> <nrgijd$8n1$1@remote5bge0.ripco.com> <57dbd14c$0$868$e4fe514c@news.xs4all.nl> <f4d3d199-928d-47b7-b4db-ba41b2ae7fc3@googlegroups.com> <57dbf387$0$823$e4fe514c@news.xs4all.nl> <dd5dd771-b113-4023-a909-c16fc5c13ed4@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <5662af1a-aae3-4dbb-af50-c16b9235116c@googlegroups.com> (permalink)
Subject Re: Mounting files instead of directories?
From herrmannsfeldt@gmail.com
Injection-Date Fri, 16 Sep 2016 20:28:46 +0000
Content-Type text/plain; charset=UTF-8
Xref csiph.com comp.protocols.nfs:36

Show key headers only | View raw


On Friday, September 16, 2016 at 12:56:42 PM UTC-7, herrman...@gmail.com wrote:

(snip)

> But when it boots, it notes that there is 0K swap space, if I put the
> name of the directory in the swap= parameter in bootparams.
> If I put the file name, the mount fails. 

OK, got that one to work.

Turns out that you can mount files, but can't export them.

Also, FreeBSD has different rules on what you can export. 

You can either export some directories (that aren't children of other
exported directories) or export one directory with -alldirs, which allows
mounting of any subdirectory.  You can't export two directories with -alldirs,
and you can't export files.  Without -alldirs, you can't mount a child
directory of an exported directory.

So, I moved things around so I can export one directory with both 
the root and swap directory in it, and the swapfile inside the swap
directory.

Now I need init in /sbin.  Seems not to like to start if it isn't there.

thanks!

-- glen

Back to comp.protocols.nfs | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Mounting files instead of directories? herrmannsfeldt@gmail.com - 2016-09-15 09:59 -0700
  Re: Mounting files instead of directories? "J.O. Aho" <user@example.net> - 2016-09-15 23:19 +0200
    Re: Mounting files instead of directories? herrmannsfeldt@gmail.com - 2016-09-15 14:32 -0700
      Re: Mounting files instead of directories? "J.O. Aho" <user@example.net> - 2016-09-16 07:56 +0200
  Re: Mounting files instead of directories? Bruce Esquibel <bje@ripco.com> - 2016-09-16 10:47 +0000
    Re: Mounting files instead of directories? Casper H.S. Dik <Casper.Dik@OrSPaMcle.COM> - 2016-09-16 11:02 +0000
      Re: Mounting files instead of directories? herrmannsfeldt@gmail.com - 2016-09-16 06:22 -0700
        Re: Mounting files instead of directories? Casper H.S. Dik <Casper.Dik@OrSPaMcle.COM> - 2016-09-16 13:28 +0000
          Re: Mounting files instead of directories? herrmannsfeldt@gmail.com - 2016-09-16 12:56 -0700
            Re: Mounting files instead of directories? herrmannsfeldt@gmail.com - 2016-09-16 13:28 -0700
              Re: Mounting files instead of directories? herrmannsfeldt@gmail.com - 2016-09-16 14:39 -0700

csiph-web