[mntent]:sudo mount -oを実行すると、/ etc / fstabの15行目でエラーが発生します。

[mntent]:sudo mount -oを実行すると、/ etc / fstabの15行目でエラーが発生します。

sudo mount -o rw,remount /mnt/Data を実行すると、上記のエラーが報告されます。これは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>
# / was on /dev/sda7 during installation
UUID=c8fd3429-3454-41df-ae9c-0f98615bc314 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
#UUID=1EF0-739E  /boot/efi       vfat    defaults        0       1
# swap was on /dev/sda10 during installation
UUID=47da3636-057c-4fb5-ab12-383d13d914c6 none            swap    sw              0       0
#Data
UUID=C06EDC746EDC6526 /mnt/Data ntfs-3g defaults auto umask=7770 0 1
UUID=1EF0-739E  /boot/efi       vfat    defaults        0       1

ベストアンサー1

/etc/fstabファイルの各行には、スペースまたはタブで区切られた次のフィールドが含まれています。

file_system    dir    type    options    dump    pass  

optionsカンマで区切る必要があります。

また、autoファイルシステムの種類も参照していますので、ntfs-3gの代わりにautoを使用または削除してください。

おすすめ記事