これは少し複雑で、最善の方法ではない可能性があることを認めます。より良い解決策があれば教えてください...
lubuntu 14.4を置いた「サーバー」があります。ext3 にフォーマットされた外部 hdd をフォルダー /home/external に接続しようとしています。これにより、ftp ユーザーは /home ディレクトリを離れずにファイルにアクセスできるようになります (そこに「チェーン」/chroot されています)。 .
hdd は、自動マウント オプションを使用して正常に (エラーなしで) マウントされます。しかし、マウントポイントを /media//external 以外に変更しようとするたびに、次のようになります。
Error mounting system-managed device /dev/sdd1: Command-line `mount "/mnt/
external"' exited with non-zero exit status 32: mount: wrong fs type, bad option,
bad superblock on /dev/sdd1
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
(udisks-error-quark, 0)
私が知る限り、どこにマウントしようとしても、 /mnt/external を試しても同じ結果が得られました。
dmesg | の出力 テール (マウント変更前):
sd 6:0:0:0: [sdd] Write Protect is off
sd 6:0:0:0: [sdd] Mode Sense: 23 00 00 00
sd 6:0:0:0: [sdd] No Caching mode page found
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sdd: sdd1
sd 6:0:0:0: [sdd] Attached SCSI disk
EXT4-fs (sdd1): mounting ext3 file system using the ext4 subsystem
EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null)
dmesg | の出力 尻尾 (マウント変更後):
sd 6:0:0:0: [sdd] Mode Sense: 23 00 00 00
sd 6:0:0:0: [sdd] No Caching mode page found
sd 6:0:0:0: [sdd] Assuming drive cache: write through
sdd: sdd1
sd 6:0:0:0: [sdd] Attached SCSI disk
EXT4-fs (sdd1): mounting ext3 file system using the ext4 subsystem
EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (sdd1): Unrecognized mount option "x-gvfs-show" or missing value