Score:0

fstab error and parse error when sudo mount -a

dj flag

I have made a network mount with password but get the error:

mount: /etc/fstab: parse error at line 13 -- ignored
mount: /etc/fstab: parse error at line 14 -- ignored

and here is my fstab with the lines it is referring to:

    //unicph.domain/groupdir /media/groupdir cifs credentials=/home/fdm520/ .smbcredentials, iocharset=utf8 0 0
    //unicph.domain/users/fdm520 /media/fdm520 cifs credentials=/home/fdm520/ .smbcredentials, iocharset=utf8 0 0

what is wrong here

guiverc avatar
cn flag
You've not provided any OS/release details; but you have (*it appears to me*) too many fields in your fstab entry... The space is a special character (ie. a *delimiter*), but it could also be your formatting is poor
Raffa avatar
jp flag
Shouldn't `credentials=/home/fdm520/ .smbcredentials` be `credentials=/home/fdm520/.smbcredentials` ... removing the middle space?
hr flag
... and the space in `, iocharset` needs to go as well - options should be a strictly comma separated list
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.