09-18-2002
The best way I can describe what I am talking about is when you have any file with a .dmg on the end, Mac OSX uses a utility called Disk Copy which "mounts" the file on to your Desktop, I'm to figure out how to execute that same or a similar command in UNIX that will do the same thing. About the program which it corresponds to: I have a game that will not play unless the .dmg file is mounted onto the desktop, I am trying to figure out how to write a script or create an application in OSX that will mount the disk image and execute the game all with one command or click on an application, its basically just a little project I am trying to see if something like that is possible. Sorry its not really clear, but maybe you catch my drift.
10 More Discussions You Might Find Interesting
1. Programming
All right. Heres the deal, I need to know everysingle command or funtion there is to create a new c file (file.c). Heres the catch: I cannot use text editors!!!:mad:
I heard of a "gcc" command is that any good?:confused:
Thanks..:cool: (2 Replies)
Discussion started by: AbRa-KaDabRa
2 Replies
2. Shell Programming and Scripting
I need to automate the following process:
I have a list of ip address for printers in a file called iplist.txt, I need to take that list and run the command
snmpget -v 1 -c public ip address sysName.0
for each ip address to see if the printer is running snmp, I want to the create a file... (4 Replies)
Discussion started by: inLine6
4 Replies
3. Shell Programming and Scripting
Hi,
I need help urgently for following issue. Pls help me to resolve this issue.
I am calling sql script file(file1.sql) from UNIX Shell Script(script1.ksh) using sql plus and trying to create flat file that contains all records returned from SQL query in SQL script(file1.sql)
I given... (6 Replies)
Discussion started by: praka
6 Replies
4. Shell Programming and Scripting
Hi,
Can someone help me with creating a bash shell script.
I need to create a script that gets a positive number n as an argument.
The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies
5. Programming
Hi everyone
I’m not a programmer and my knowledge of scripting is very poor, now I’m stock in a task at work and would really appreciate it if someone could help me out.
Here is the problem:
1. I have a file with 9 million entries that look like this :
611424167
610864581
611881523
609585386... (3 Replies)
Discussion started by: hiker1064
3 Replies
6. UNIX for Dummies Questions & Answers
Alright, well I did some more research since I originally posted this thread, and as much as I'd like to delete it, I can't, so I'll just extend my initial question a little.
Right now I have 3 scripts:
1#!/bin/bash
# script1 - Write all files modfied x days ago
find .. -daystart -mtime 0... (2 Replies)
Discussion started by: Aussiemick
2 Replies
7. Shell Programming and Scripting
Hi all
i am struggling in creating a restore of env files while doing applications clone.
the first file i created for copying the important configurations file
which is running perfect
now for reverting the changes i mean when i am restoring these files to its original places
i have to do... (7 Replies)
Discussion started by: javeedkaleem
7 Replies
8. Shell Programming and Scripting
Hi all,
I have a PLSQL script which has a IN list where it takes some ids as input. For example
SELECT * FROM EMPLOYEE WHERE EMPLOYEE_ID IN (comma separated list )
I want to run this quest inside a shell script but I would like to prepare the IN list dynamically where the employee ids... (1 Reply)
Discussion started by: LoneRanger
1 Replies
9. Shell Programming and Scripting
Hi everyone,
I am completely new to this forum and I have some questions regarding a script I am writing. I would be happy if anyone could help me with the small and precise script which should include if, then, else, while until, case and select.
The scenario is as follows:
1) A user... (3 Replies)
Discussion started by: codenotfound
3 Replies
10. UNIX for Advanced & Expert Users
Hi,
I have created customized scripts to start httpd and postgres (For CentOS 6) in /etc/init.d. However for it to work even after reboot, I have to put the script in /etc/rc.d/rc0.d, rc1.d, etc.
# ls -lrt
total 60
-rwxr-xr-x 1 root root 20199 Oct 4 2017 rc.sysinit
-rwxr-xr-x 1... (6 Replies)
Discussion started by: anaigini45
6 Replies
LEARN ABOUT OSX
mount_exfat
MOUNT_EXFAT(8) BSD System Manager's Manual MOUNT_EXFAT(8)
NAME
mount_exfat -- mount an ExFAT file system
SYNOPSIS
mount_exfat [-o options] [-u uid] [-g gid] [-m mask] device directory
DESCRIPTION
The mount_exfat command mounts the ExFAT filesystem from the device device onto the directory given by directory. This command is normally
invoked by diskarbitrationd(8) as the result of detecting a device with a file system recognized as ExFAT. It can also be invoked indirectly
by executing the mount(8) command with the -t exfat option.
The options are as follows:
-o options
Use the specified mount options, as described in mount(8).
-u uid Set the owner of the files in the file system to uid. The default owner is the owner of the directory on which the file system is
being mounted.
-g gid Set the group of the files in the file system to gid. The default group is the group of the directory on which the file system is
being mounted.
-m mask
Specify the maximum file permissions for files in the file system. (For example, a mask of 755 specifies that, by default, the owner
should have read, write, and execute permissions for files, but others should only have read and execute permissions. See chmod(1)
for more information about octal file modes.) Only the nine low-order bits of mask are used. The default mask is taken from the
directory on which the file system is being mounted.
If none of the -u, -g, or -m options are given, the volume will be mounted with the MNT_UNKNOWNPERMISSIONS flag (equivalent to the -o
noowners option).
If the device is internal and not removable, the volume will be mounted with the MNT_ASYNC flag (equivalent to the -o async option) by
default. That default can be overridden with the -o noasync option. When mounted with the -o noasync option, metadata updates are synced to
disk frequently (by default, 50ms after the system call that changed the metadata returns to its caller).
SEE ALSO
fsck_exfat(8), exfat.util(8), mount(2), unmount(2), fstab(5), mount(8)
HISTORY
The mount_exfat utility first appeared in Mac OS X 10.6.3.
Darwin January 19, 2010 Darwin