a13x Posted September 19, 2004 Report Share Posted September 19, 2004 (edited) I need to mount a Windows ISO that is located in a directory that has spaces in it's name. The name of the ISO also containts spaces. It all works well with the mount command if I use " " or \ , but how do I translate that to fstab ? Edited September 19, 2004 by a13x Quote Link to comment Share on other sites More sharing options...
thinkliberty Posted September 19, 2004 Report Share Posted September 19, 2004 (edited) For a file name like: this is the name.iso you would use this\ is\ the\ name.iso the back slash lets you use a space... If fstab wont mount the file because the path has spaces... try using a symlink ln -s /path/to/file /mnt/symlinktofile.iso and try mounting the symlink via fstab. The other thing to do would be write a shell script to manually mount the drive and have it run at boot (look in /etc/init.d for samples on how to write this script) If you need help writing the script let me know what the path to the iso file is and I will write it for you. Edited September 19, 2004 by thinkliberty Quote Link to comment Share on other sites More sharing options...
a13x Posted September 21, 2004 Author Report Share Posted September 21, 2004 OK I made the script, it works if I run it but how can I make Linux to automatically run it on startup ? Quote Link to comment Share on other sites More sharing options...
Guest MadDog Posted September 21, 2004 Report Share Posted September 21, 2004 Check out /etc/profile.d (top of my head)... do some googling to double-check.. There are also other locations under /etc that are processed on startup.. RUN folders.. Quote Link to comment Share on other sites More sharing options...
thinkliberty Posted September 22, 2004 Report Share Posted September 22, 2004 Place it in /etc/init.d you can go in to the services and select the runlevel you want your script to run. Quote Link to comment Share on other sites More sharing options...
a13x Posted September 22, 2004 Author Report Share Posted September 22, 2004 Ok, thx guys. Everything works now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.