*******************************
For auto mount network file *
*******************************
# vi /etc/fstab
Append line //ntserver/docs /mnt/samba smbfs username=docsadm,password=D1Y4×9sw 0 0, at the end your file should read as follows:
proc /proc proc defaults 0 0
/dev/hdb1 / ext3 defaults,errors=remount-ro 0 1
/dev/hdb2 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
//ntserver/docs /mnt/samba smbfs username=docsadm,password=D1Y4x
For auto mount network file *
*******************************
# vi /etc/fstab
Append line //ntserver/docs /mnt/samba smbfs username=docsadm,password=D1Y4×9sw 0 0, at the end your file should read as follows:
proc /proc proc defaults 0 0
/dev/hdb1 / ext3 defaults,errors=remount-ro 0 1
/dev/hdb2 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
//ntserver/docs /mnt/samba smbfs username=docsadm,password=D1Y4x
0 Comments