LoginSignup
5
5

More than 5 years have passed since last update.

windowsの共有フォルダをマウント

Last updated at Posted at 2013-08-09

毎回ググって面倒なのでメモ。

  • cifs-utils が入っている必要あり。
$ sudo mount -t cifs -o username=kitty,password=fj23pfj //owner-pc/share /mnt

fstabに書く場合

id,passを記載したファイルを用意
$ cat > /root/credentials
username=USERNAME
password=PASSWORD
/etc/fstab
//SERVER/SHARENAME /mnt/MOUNTPOINT cifs users,credentials=/root/credentials 0 0
5
5
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5