Re: [PATCH] private mounts

From: maciek
Date: Sun Apr 24 2005 - 17:07:30 EST


Hi, Jamie Lokier napisaÅ(a):

Al Viro wrote:


On Sun, Apr 24, 2005 at 11:15:35PM +0200, Miklos Szeredi wrote:


No. You can't set "mount environment" in scp.


Of course you can. It does execute the obvious set of rc files.



It doesn't work for the specified use-scenario. The reason is that
there is no command or system call that can be executed from those rc
files to join an existing namespace.

He wants to do this:

1. From client, login to server and do a usermount on $HOME/private.

2. From client, login to server and read the files previously mounted.

-- Jamie


Maybe, pam_mount would be the solution?

http://www.flyn.org/projects/pam_mount/

it provides mounting a filesystem when logging in, and unmounting on
exit, just set the mount options.

Maciek Stopa


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/