The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 link to a program and include switches
Author: cetae 
Date:   05-11-05 18:00

How would i create a link to a program to include switches.

Ex. create a link such as mountcd, which would call: mount -t cd9660 /dev/acd0 /cdrom

i tried a symbolic link with ln but it did not work. maybe using a script? I am not sure. I have seen something similar to this at work, using find, but i do not have access to look at the file.

Thanks for any insight on this problem.

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 link to a program and include switches   new
cetae 05-11-05 18:00 
 Re: link to a program and include switches   new
halber_mensch 15-11-05 21:01 
 Re: link to a program and include switches   new
cetae 16-11-05 00:42 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org