Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 1995 21:30:01 -0400 (EDT)
From:      A boy and his worm gear <wpaul@skynet.ctr.columbia.edu>
To:        freebsd-current@freebsd.org
Subject:   Proposal for mountd change
Message-ID:  <199506270130.VAA02111@skynet.ctr.columbia.edu>

next in thread | raw e-mail | index | archive | help
Hello there:

Not too long ago, somebody sent a message to the bugs list about
a problem using a FreeBSD machine as a boot server for a diskless
Sun client. The problem is that Suns try to directly mount their
swap devices as plain files rather than mounting the filesystem
containing the swap file and then getting a file handle for the
swap file once the mount of the filesystem has succeeded. As it
happens, mountd is designed (yes David G., the word is designed,
not 'architected' -- there's no such word as 'architected') to check
the mount path supplied by the client and reject anything that isn't
a directory, including plain files.

This makes it impossible to use FreeBSD to completely support diskless 
booting of SunOS 4.x machines (I'm not sure if Solaris 2.x has the
same requirements).

Anyway, I'd like to find a way around this. I'm wondering if it
would be possible to add a run-time option to mountd to loosen
the 'directories only' restriction to include plain files. This is
just an idea at this point -- I haven't had the chance to test it.
I'm not even certain that twisting mountd's arm is the only thing
that's required.

Suggestions or comments would be appreciated. I'll have a chance
to test this notion sometime this coming weekend.

-Bill
 
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Bill Paul            (212) 854-6020 | System Manager
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Møøse Illuminati: ignore it and be confused, or join it and be confusing!
~~~~~~ "Welcome to All Things BSDish! If it's not BSDish, it's crap!" ~~~~~~~



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506270130.VAA02111>