hack のためのネタ帳, etc,,,

タグ検索でmount4件見つかりました。

20200605: mount.cifs - credentials を script から拾いたい

未解決案件 * 状況 mount.cifs で username と password を入れるのが面倒臭いんだけど、credentials に平文で password 書いとくのはなんか抵抗がある。 そこで、何らかの keyring 系のサービスから credentials に username と password を流し込みたい。 ところが、bash の Process Substitution である /dev/pts/0 lrwx------ 1 kou kou 64 6月 5 10:0…

https://seesaawiki.jp/w/kou1okada/d/20200605%3a%20... - 2020年06月05日更新

20200317: Linux で FreeBSD の whole disk image を mount

isk image を Linux で mount しようとしたんだけど、 BSD は disklabel とか slice とか partition の概念が Linux と違ってるので、 =|| kpartx -a disk.img ||= みたいにしても loop[0-9]p1 に partition a: しか拾ってくれず、 残りのパーティションを簡単には mount 出来ない。 * FreeBSD のパーティション まず、MBR (MSDOS) 方式のパーティションテーブルを使っているのは L…

https://seesaawiki.jp/w/kou1okada/d/20200317%3a%20... - 2020年03月17日更新

20191124: mout.cifs で mount 出来ない

0 Pro 1809 の共有フォルダを mount しようとしたら以下のようにエラーになった。 =|| $ sudo mount -t cifs //xxxxxxxxxxxx/Users xxxxxxxxxxxx Password for root@//xxxxxxxxxxxx/Users: ******* mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) ||=…

https://seesaawiki.jp/w/kou1okada/d/20191124%3a%20... - 2019年11月24日更新

findmnt

u 16.04.4 LTS ではなぜか mount パッケージに含まれる。 * 公式ページ等 - The util-linux code repository / tree / misc-utils / [[findmnt.c>https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/tree/misc-utils/findmnt.c]] - GitHub / karelzak / util-linux / misc-utils /…

https://seesaawiki.jp/w/kou1okada/d/findmnt... - 2018年04月21日更新

ai(22) android(29) bash(40) c++(52) cxx(54) cygwin(128) debian(39) deeplearning(32) diary(766) excel(21) font(30) free-book(47) git(21) github(28) gnu-r(77) google(26) hdd(22) html(25) java(26) javascript(121) keyboard(21) latex(57) lcd(22) library(24) linux(97) machinelearning(31) memo(463) microsoft(42) oss(25) pdf(38) powershell(65) programming(32) proxy(24) python(100) r-lang(47) ruby(86) security(72) ssh(34) tex(37) tips(398) troubleshooting(443) ubuntu(114) unicode(22) usb(21) virtualization(24) vscode(29) windows(127) windows10(50) wsl(26) zfs(32)

管理人/副管理人のみ編集できます