[mntent]: /etc/fstab の 15 行目に問題があります。

[mntent]: /etc/fstab の 15 行目に問題があります。

CLI で手動インストールが正常に動作します。

しかし走るとき

sudo mount -a 

fstabを編集した後にエラーが発生しました。これは私に合うようです。誰でも提案をすることができますか?

私のfstabは次のようになります

# /etc/fstab: static file system information.                                                       
#                                                                                                   
# Use 'blkid' to print the universally unique identifier for a                                      
# device; this may be used with UUID= as a more robust way to name devices                          
# that works even if disks are added and removed. See fstab(5).                                     
#                                                                                                   
# <file system> <mount point>   <type>  <options>       <dump>  <pass>                              
proc            /proc           proc    nodev,noexec,nosuid 0       0                               
# / was on /dev/sda1 during installation                                                            
UUID=31c241fa-8ce7-4ddf-a11b-c1bb7214b9ff /               ext4    errors=remount-ro 0       1       
# swap was on /dev/sda5 during installation                                                         
UUID=f6adc6f2-a8ac-46cc-a167-fd5bdb985ca7 none            swap    sw              0       0         
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0                          

//megaboxy/inetpub /mnt/megabo cifs username=admin, password=passwd 0 0                 
//megaboxz/inetpub /mnt/megab cifs username=admin, password=passwd 0 0                 
//10.0.0.15/Share  /mnt/CodeS cifs username=admin, password=passwd 0 0                
//210.0.0.1/inetpub   /mnt/webse cifs username=admin, password=passwd 0 0                
//10.0.0.120/Kabura-Projects  /mnt/Projects  cifs username=admin, password=passwd 0 0     

ベストアンサー1

//megaboxy/inetpub /mnt/megabo cifs username=admin, password=passwd 0 0
                                                   ^ this is a problem

オプション間にスペースを追加することはできません。これを削除するとエラーが消えます。

おすすめ記事