それマグで!

知識はカップより、マグでゆっくり頂きます。 takuya_1stのブログ

習慣に早くから配慮した者は、 おそらく人生の実りも大きい。
") }) jQuery.noConflict()(document).ready(function(){ /**ページャーが気に入らないので修正**/ //やるべきこと // pre・next のいれかえ jQuery('span.pager-next').insertAfter('span.pager-prev') // pre/next に矢印を入れる jQuery('a[rel=next]').text(jQuery('a[rel=next]').text()+"> ") jQuery('a[rel=prev]').text("< "+jQuery('a[rel=prev]').text()) // pre/next をヘッダにもってくる //jQuery(".date.first").css("display","inline-block") jQuery('div.permalink.pager').clone().insertAfter(".date.first") jQuery("header .pager a").css("padding","0px 15px"); //pre/next をAjaxで取得してタイトルを取る。 //取得したタイトルをpre/next のタイトルに jQuery('span.pager-next,span.pager-prev').css("display","inline-block") jQuery('span.pager-next,span.pager-prev').css("width","250px"); jQuery('span.pager-next,span.pager-prev').css("overflow", "hidden"); jQuery('span.pager-next,span.pager-prev').css("white-space", "nowrap"); jQuery('span.pager-next,span.pager-prev').css("text-overflow", "ellipsis"); jQuery("a[rel=next],a[rel=prev]").each(function(idx,e){ var anchor = e jQuery.get(anchor.href,null,function(html){ jQuery(anchor).text() var title = jQuery("
").html(html).find(".entry-title").text().trim() jQuery(anchor).attr("title", title); text = jQuery(anchor).text() text = text.slice(0,10); text = text.replace(/の記事/, "の記事 ["+title+"] "); jQuery(anchor).text(text) }) }); }); })

WinFsp を使って ssh をネットワークドライブに割り当て。

Winfsp を使う

Winfsp はWindows File System Proxy の略で、ユーザー空間で動作するFUSEソフトウェア。

ネットワークドライブとしてドライブを任意のマッピングを提供するソフト

cgofuse で sshfs とともに使う

sshfs で使う。

sshfs で ドライブをsshでマウントする。

コマンドからやったほうが確実

UAC で Powershell を起動して

PS C:\Windows\system32> net use X: \\sshfs\[email protected]  /persistent:no /user:takuya

he password is invalid for \\sshfs\[email protected].

Enter the password for 'takuya' to connect to 'sshfs':
The command completed successfully.

取り外し

PS C:\Windows\system32> net use X: /delete
X: was deleted successfully.

SSHFSとSmaba(SMB)で速度比較する

CrystalDiskMarkはUAC制御化で起動すると、FUSEが見えなくなる。(WinSfpがユーザー空間で動作するから) UACなしで起動すると測定ができる

SSH

CIFS

同じサーバーにCIFSで接続した場合

CIFS の方がは速いな。。。

FUSE / mountはメモ書き程度の普段遣いだと気にならないかもしれない。

Windowsでリモートのマウントをするとき、SSHでポート転送してCIFSでつないだり、RDPでつなぐのならサクッと使えるので、選択肢の一つとしてはありかもしれない。

名前を間違えやすい

winSfp でも winFps でも WinSpf でもない。

略称が紛らわしいので十分に注意する。Google検索で、勝手に修正されて検索結果に出ないレベル。