NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NFS



On Fri, 10 Jul 2009, Antti Kantee wrote:

        Could I ask if there is an obvious trick to using sshfs
        that I'm missing? - I tried playing with it and it seems
        to mount and let me read and rename files fine, but I can't
        create any new files... :/

There are no tricks that I am aware of.  What command are you executing
and what's the error message?

        I've tried the mount as:
            sshfs ${user}@${host}:/files/netbsd /mnt
        and
            sshfs -o workaround=all -o sshfs_debug -o idmap=user 
${user}@${host}:/files/netbsd /mnt

        Client and server are both NetBSD/i386 5.0_STABLE from within
        the last week.

        I'm using fuse-sshfs-1.4nb1 from pkgsrc but with the
        bluez-libs/buildlink3.mk removed and pkg-config added to USE_TOOLS

        'mv' of an existing file works fine, but 'touch /mnt/moo' fails with:

 26361      1 touch    CALL  __stat30(0xbfbff96e,0xbfbfe790)
 26361      1 touch    NAMI  "/mnt/moo"
 26361      1 touch    RET   __stat30 -1 errno 2 No such file or directory
 26361      1 touch    CALL  open(0xbfbff96e,0x201,0x1b6)
 26361      1 touch    NAMI  "/mnt/moo"
 26361      1 touch    RET   open -1 errno 2 No such file or directory
 26361      1 touch    CALL  write(2,0xbfbfdf40,7)


--
                David/absolute       -- www.NetBSD.org: No hype required --


Home | Main Index | Thread Index | Old Index