Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #162750
| From | mudongliang <mudongliangabcd@hotmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: fstab syntax question |
| Date | 2016-01-07 08:20 +0100 |
| Message-ID | <qOd1v-4IS-13@gated-at.bofh.it> (permalink) |
| References | <qO04j-4bH-9@gated-at.bofh.it> <qO0QG-4Ih-11@gated-at.bofh.it> <qObsJ-3Dn-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Maybe a little later. However, I think man pages for fstab is great.
Refer to "man fstab".
- mudongliang
On 01/07/2016 01:33 PM, Steve Matzura wrote:
> Thanks Gary. I was overdoing it (as usual). I put in things like the
> `-t' in front of `cifs' and the `-o' in front of the options list. All
> fixed now.
>
> On Wed, 6 Jan 2016 13:13:31 -0500, you wrote:
>
>> On 06/01/16 12:25 PM, Steve Matzura wrote:
>>> I have two things that need to go into /etc/fstab. One's a network
>>> share with a username and password. The other is a Windows share which
>>> is public, no username and password for that one. Both shares will
>>> bmnounted on the Debian system read-only. I know how to do this with
>>> mount and the -t switch, and the options for the -o switch to make
>>> them read-only and provide a username and password. What I don't know
>>> is what is supposed to go into fstab. I've tried a few different
>>> syntaxes, but so far none have worked. The networked drive is called
>>> //DISKSTATION1/BigVol1. The Windows share is //box1/e (drive "E:" on
>>> the system calling itself `box1'.
>>>
>>> Thanks in advance.
>>>
>> the lines are almost identical to the mount command.
>> <share to be mounted> <mount point> <file system> <options> 0 0
>>
>> for options you probably need ro,username=<whatever>,password=<whatever>
>> for the one that needs the username and password. For the other, ro is
>> probably sufficient.
>>
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
fstab syntax question Steve Matzura <sm@noisynotes.com> - 2016-01-06 18:30 +0100
Re: fstab syntax question Gary Dale <garydale@torfree.net> - 2016-01-06 19:20 +0100
Re: fstab syntax question Steve Matzura <sm@noisynotes.com> - 2016-01-07 06:40 +0100
Re: fstab syntax question mudongliang <mudongliangabcd@hotmail.com> - 2016-01-07 08:20 +0100
Re: fstab syntax question Steve Matzura <sm@noisynotes.com> - 2016-01-07 13:40 +0100
csiph-web