您的位置:首页 > 其它

Auto mount iso image via /etc/fstab

2008-12-08 14:44 381 查看
So, you have a cd image and want to mount automatically every time you start your linux? Here, I’ll show you how to do it.

 

First step is, put your file at some place where you will not move it again. Why? Because you’ll have to adjust your /etc/fstab entry if you move the file. For this tutorial, we will call it /home/cd_images/some_cd.iso

Then, create a folder where you want it mounted. Let’s call it /home/m_images/mounted.

Next step, open up /etc/fstab. Issue this command on terminal: sudo gedit /etc/fstab.

Add this line to /etc/fstab:
/home/cd_images/some_cd.iso /home/m_images/mounted udf,iso9660 user,loop 0 0
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息