Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mount loop

Status
Not open for further replies.

tcpipv6

IS-IT--Management
Nov 22, 2007
91
AR
hi all,
I mount an ISO mount -o loop every time i reboot i loose the mount i did how can i make this permanent?

Regards
 
In order to make mounts permanent, you need to add them to the fstab.
 
Noway2,

mkisofs -o rpm.iso /media/cdrom/Server/

how would i put this in the fstab?

regards
 
Sorry, but I missed the ISO part in my original reply. Normally, one would add an entry to fstab to make a mount permanent, such as if you had an external hard drive that could be removed but usually wasn't.

The mkisofs is a little different. It creates an iso image that is stored in your current working directory.

I think in order to do this you would need to make a short script file (starting with #!/bin/sh) that has that command in it. Then call that script file from one a locations such as rc.local that is called upon start up.


 
thanks man i will work on my scripts.
thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top