Groups | Search | Server Info | Login | Register


Groups > comp.protocols.nfs > #36

Re: Mounting files instead of directories?

Newsgroups comp.protocols.nfs
Date 2016-09-16 13:28 -0700
References (1 earlier) <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>
Message-ID <5662af1a-aae3-4dbb-af50-c16b9235116c@googlegroups.com> (permalink)
Subject Re: Mounting files instead of directories?
From herrmannsfeldt@gmail.com

Show all headers | 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