History log of /netbsd/usr.sbin/puffs/mount_psshfs/psshfs.c (Results 1 – 25 of 67)
Revision Date Author Comments
# d714e605 05-Dec-2021 msaitoh <msaitoh@NetBSD.org>

s/systme/system/ in comment.


# 808903e4 04-Nov-2012 christos <christos@NetBSD.org>

include the headers you use


# 7f26fba0 31-Aug-2011 joerg <joerg@NetBSD.org>

Use __dead


# 3db3feff 25-Aug-2011 jakllsch <jakllsch@NetBSD.org>

Bring mount_psshfs user/host/path argument processing in line with sftp(1).


# f56a5494 19-May-2011 riastradh <riastradh@NetBSD.org>

Initialize psshfs root node's readdir waiters queue.

Every other node's readder waiters queue is initialized in makenode,
but the root node is created specially.

ok pooka


# 080506bc 29-Oct-2010 pooka <pooka@NetBSD.org>

Make error message more userfriendly in cases where server does
not support sftp.


# d317936d 17-Feb-2010 pooka <pooka@NetBSD.org>

umgah. meant fts, not fsu


# 046f5845 17-Feb-2010 pooka <pooka@NetBSD.org>

Bump the initial rootdir link count guess to a ludicrous value.


# ef38ca99 12-Jan-2010 pooka <pooka@NetBSD.org>

Make r/w servers unmount themselves cleanly upon receiving SIGINT/TERM.


# eac396bb 07-Jan-2010 pooka <pooka@NetBSD.org>

errx() already contains progname ...


# 754f939d 07-Jan-2010 pooka <pooka@NetBSD.org>

Don't allow mangling of uid or gid -1, since they have a special
meaning in the sftp protocol.


# c4291c19 07-Jan-2010 pooka <pooka@NetBSD.org>

Add -u and -g, which allow to remap one (local,remote) uidgid, i.e.
umapfs without the fuss.


# de048bda 05-Nov-2009 pooka <pooka@NetBSD.org>

const woes


# d6c25c2b 20-May-2009 pooka <pooka@NetBSD.org>

wait() for dead ssh processes (but don't block, so we might have
one teeny zmobie in the system).


# b5cb6a6c 20-May-2009 pooka <pooka@NetBSD.org>

Fix SNAFU in previous: connection handshake is already handled by
the connect routine now, so we're not required/allowed to do it twice.
Makes reconnect on dead link work again.


# dac06153 20-May-2009 pooka <pooka@NetBSD.org>

Copyright year management. no functional change (unless sarah disagrees)


# 8ff91531 20-May-2009 pooka <pooka@NetBSD.org>

Introduce -c [12], which can be used to open 1 or 2 ssh connections
to the server. If "2" is specified, a separate connection is used
for data and directory operations. Using two connections can
si

Introduce -c [12], which can be used to open 1 or 2 ssh connections
to the server. If "2" is specified, a separate connection is used
for data and directory operations. Using two connections can
significantly increase directory operation performance on a saturated
link, at least up to 30x faster.

show more ...


# 72d8b8b6 23-Feb-2009 pooka <pooka@NetBSD.org>

Support statvfs@openssh.com extension where available. Makes df(1)
return something other than just 0.
caveat: statvfs is done for the mountpoint path, so might not give
the truth about a directory

Support statvfs@openssh.com extension where available. Makes df(1)
return something other than just 0.
caveat: statvfs is done for the mountpoint path, so might not give
the truth about a directory inside the mountpoint.

show more ...


# f423bfee 06-Sep-2008 pooka <pooka@NetBSD.org>

Due to a recent encounter with a sucky internet connection, add
experimental option -p, which tries to reestablish the connection
to the sftp server in case it is lost. This currently has a few
limi

Due to a recent encounter with a sucky internet connection, add
experimental option -p, which tries to reestablish the connection
to the sftp server in case it is lost. This currently has a few
limitations (found in the man page), but generally works in some
use cases.

Better support might eventually emerge, but since that requires a
plunge into the depths of puffs_framebuf, I need quite a bit of
Fernet Branca to build up my courage before attempting it.

show more ...


# 84c098fe 11-Aug-2008 pooka <pooka@NetBSD.org>

call puffs_exit()


# d96be1e1 14-Dec-2007 jmmv <jmmv@NetBSD.org>

Add a -F option to allow passing a configuration file to ssh(1), instead
of having to use multiple -O options on the command line. OKed by pooka@.


# 3fe3f654 30-Nov-2007 pooka <pooka@NetBSD.org>

Introduce the concept of lazyopens. This means that when a file
handle open is requested, it is waited for only if the node was
not previously succesfully opened. The actual wait for the file
handl

Introduce the concept of lazyopens. This means that when a file
handle open is requested, it is waited for only if the node was
not previously succesfully opened. The actual wait for the file
handle happens only when the file handle is actually needed (read
or write). This in turn has the effect that reading cached files
will be quick instead of waiting for the file handle from the sftp
server first. The wait previously could be very long if there were
serveral hundred k of outstanding requests in a limited-bandwidth
link.

The code is in some need of serious handholding, but it works, so
I'll leave that as "future work".

show more ...


# 8dd9b677 18-Nov-2007 pooka <pooka@NetBSD.org>

Don't bother tracking opencount and try to close file handles in
the close method - simply just wait for inactive and do it there.


# 4462e945 16-Nov-2007 pooka <pooka@NetBSD.org>

use puffs_daemon() instead of daemon()


# b0106b7e 11-Nov-2007 pooka <pooka@NetBSD.org>

Don't overload "attributes last read" for the symlink cache,
use a separate variable.


123