Skip to content

Instantly share code, notes, and snippets.

@nikuyoshi
Created April 24, 2014 16:12
Show Gist options
  • Save nikuyoshi/11260222 to your computer and use it in GitHub Desktop.
Save nikuyoshi/11260222 to your computer and use it in GitHub Desktop.
RHEL5.8にNAS(CIFS)をマウントする時のコマンド

下記のコマンドを叩けばOK。 ReadOnlyでマウントしたいので、roをつけている。

mount -t cifs //172.168.0.1/hoge /fuga -o ro,username=root

作業後は必ずアンマウントすること。

umount /fuga
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment