2001-10-22 10:59:07

by Stephan von Krawczynski

[permalink] [raw]
Subject: nfs mount of msdos fs?

Hello,

I just found out, that msdos-type fs cannot be exported via nfs. Disregarding
the security problems with msdos fs, how can I export it anyway via nfs? Is
this possible at all? I tried with 2.2.19 kernel and kernel nfs.

Regards,
Stephan


2001-10-22 14:30:59

by Stephan von Krawczynski

[permalink] [raw]
Subject: Re: nfs mount of msdos fs?

On Mon, 22 Oct 2001 10:15:34 -0400 (EDT) Mark Hahn <[email protected]>
wrote:

> > I just found out, that msdos-type fs cannot be exported via nfs.
Disregarding
> > the security problems with msdos fs, how can I export it anyway via nfs? Is
> > this possible at all? I tried with 2.2.19 kernel and kernel nfs.
>
> I'm guessing because msdos doesn't have inode numbers,
> and nfsd wants them to make stable cookies.

Works under 2.4, btw. Unfortunately I cannot use 2.4 in this special case. But
to make it clear:
server is 2.2.19, client is 2.4.4

Regards,
Stephan

2001-10-22 21:20:20

by Gregory Ade

[permalink] [raw]
Subject: Re: nfs mount of msdos fs?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Well, it's a really roundabout insecure way to do it, but you might
be able to get away with sharing it via samba, mounting it on the server
and then exporting that mount via NFS.... (samba client and server and nfs
server all running on same machine).

It might work... Actually, you can save some security hassle by making
the samba service listen on the loopback address only (127.0.0.1)... but
then, every block of data has to go through that many more layers before
getting where it belongs...

On Mon, 22 Oct 2001, Stephan von Krawczynski wrote:

> > > I just found out, that msdos-type fs cannot be exported via nfs.
> Disregarding
> > > the security problems with msdos fs, how can I export it anyway via nfs? Is
> > > this possible at all? I tried with 2.2.19 kernel and kernel nfs.
> >
> > I'm guessing because msdos doesn't have inode numbers,
> > and nfsd wants them to make stable cookies.
>
> Works under 2.4, btw. Unfortunately I cannot use 2.4 in this special case. But
> to make it clear:
> server is 2.2.19, client is 2.4.4

- --
Gregory K. Ade <[email protected]>
http://unnerving.org/~gkade
OpenPGP Key ID: EAF4844B keyserver: pgpkeys.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE71I2ceQUEYOr0hEsRAsFAAJ9Rs2ZJzrFrjx8D3C0T1G9o6rgDDQCgk4V/
0rQZ/YRWQ7Mw+iZ2egxdrYQ=
=SRQs
-----END PGP SIGNATURE-----