#mount /dev/cdrom /mnt/cdrom
出现如下错误提示:
mount: you must specify the filesystem type。
只需要在mount 后加上参数t指定挂载类型即可。光驱是iso9660
正确命令如下:
#mount -t iso9660 /dev/cdrom /mnt/cdrom
挂载成功提示如下:
mount: block device /dev/sr0 is write-protected, mounting read-only。
/dev/sro即光驱。
让光驱自动挂载,修改/etc/fstab文件,添加如下行:
2.修改/etc/fstab文件。在该文件最后按顺序添加如下内容:(未经证实)
/dev/cdrom /mnt/cdrom auto exec 0 0
没有评论:
发表评论