you_hikoの技術メモ - mount

mount

CIFS

Windows共有フォルダをマウントする
# mount -t cifs //xxx.xxx.xxx.xxx/share /mnt/share -o username=user
mount: ブロックデバイス //***.***.***.***/share は書き込み禁止です、読込み専用でマウントします、mount: ブロックデバイス //***.***.***.***/share を読込み専用でマウントできませんと出る場合

cifs-utilsをインストールする
# yum install cifs-utils**NFS
# mount -t nfs 192.168.0.1:/export/share /export

ISO

# mount -t iso9660 -o loop CentOS-5.6-i386-bin-DVD.iso /export/install/CentOS56

NTFS

# yum install ntfs-3g --enablerepo=epel
# mount -t ntfs /dev/sdb1 /export/disk1