How to Set "<options>" in fstab - Manual Mounting is Successfull
Posted
by
nicorellius
on Super User
See other posts from Super User
or by nicorellius
Published on 2010-12-28T17:32:03Z
Indexed on
2010/12/28
17:56 UTC
Read the original article
Hit count: 267
I am not real familiar with fstab yet, so I have a couple questions. When I use this command to mount devices:
sudo mount -t cifs -o username=admin //192.168.1.134/share_name /mnt/share_name
With passwords: sudo="local user password" password="password for device"
How do I translate that into an fstab entry? So far, I have tried this in the fstab and mounting fails:
//192.168.1.134/share_name /mnt/share_name cifs default 0 0
This is where the question comes in. Where I have default
, should there be something instead, indicating username=admin
, etc?
© Super User or respective owner