Making a script executable

Jim Bauer jfbauer at comcast.net
Tue Oct 5 18:11:55 MDT 2004


On Tuesday 05 October 2004 18:35, Eric D wrote:

> I've put the following into a file called mg.
>
> mount /dev/hdc7 /mnt/macosx -thfsplus
...
> 2nd question: I probably have to be root to mount a hfs+ partition... how
> can I build that into the script?
>

Add the following line to your /etc/fstab

	/dev/hdc7	/mnt/macosx		hfsplus	noauto,user

Then you should be able to run "mount /mnt/macosx" as a non-root user.



More information about the yellowdog-general mailing list