HVOL(1) General Commands Manual HVOL(1)NAME
hvol - display or change the current HFS volume
SYNOPSIS
hvol [volume-or-path]
DESCRIPTION
With no arguments, hvol displays the name and path to the "current" HFS volume as well as the names and paths of all previously mounted
("known") volumes.
With an argument, hvol changes the current volume to be the one specified. Either the name of the volume or the path to its UNIX source can
be specified. The volume must have been previously mounted using hmount.
A separate "current working directory" is maintained for each mounted volume. This information is kept in a file named .hcwd in the user's
home directory.
SEE ALSO hfsutils(1), hmount(1), humount(1)FILES
$HOME/.hcwd
AUTHOR
Robert Leslie <rob@mars.org>
HFSUTILS 21-Apr-1996 HVOL(1)
Check Out this Related Man Page
HMOUNT(1) General Commands Manual HMOUNT(1)NAME
hmount - introduce a new HFS volume and make it current
SYNOPSIS
hmount source-path [partition-no]
DESCRIPTION
hmount is used to introduce a new HFS volume. A UNIX pathname to the volume's source must be specified. The source may be a block device or
a regular file containing an HFS volume image.
If the source medium is partitioned, one partition must be selected to be mounted. If there is only one HFS partition on the medium, it
will be selected by default. Otherwise, the desired partition number must be specified (as the ordinal nth HFS partition) on the command-
line. Partition number 0 can be specified to refer to the entire medium, ignoring what might otherwise be perceived as a partition map,
although in practice this is probably only useful if you want this command to fail when the medium is partitioned.
The mounted volume becomes "current" so subsequent commands will refer to it. The current working directory for the volume is set to the
root of the volume. This information is kept in a file named .hcwd in the user's home directory.
If the source medium is changed (e.g. floppy or CD-ROM disc exchanged) after hmount has been called, subsequent HFS commands will fail
until the original medium is replaced or a different volume is made current. To use the same source path with the different medium, reissue
the hmount command.
EXAMPLES
% hmount /dev/fd0
If a Macintosh floppy disk is available as /dev/fd0, this command makes the floppy current for other HFS commands such as hls(1),
hcd(1), hcopy(1), etc.
% hmount /dev/sd2 1
If a SCSI disk is available as /dev/sd2, this command finds the first HFS partition on the medium and makes it available for other
HFS operations.
NOTES
hmount does not actually mount an HFS partition over a UNIX directory in the traditional mount(8) sense. It is merely a "virtual" mount, as
a point of convenience for future HFS operations. Each HFS command independently opens, operates on, and closes the named source path given
to hmount.
SEE ALSO hfsutils(1), hformat(1), humount(1), hvol(1)FILES
$HOME/.hcwd
AUTHOR
Robert Leslie <rob@mars.org>
HFSUTILS 08-Nov-1997 HMOUNT(1)
Hi,
One of our application is producing log files. But if we open the log file in vi or less or view mode, it shows all the special characters in it. The 'cat' shows correctly but it shows only last page. If I do 'cat' <file_name> | more, then again it shows special characters.
... (1 Reply)
Hey there,
I am trying to move zipped text files from a remote server to a remote tape storage facility, through my home directory. What I want to do is get the zip file (using scp), unzip it, copy the output text file which was inside (using rfcp) to the tape storage server, and then delete... (3 Replies)
I need to write a unix shell script to connect to oracle database and retrieve data from a table, the script should count the total number of rows till date in that table
number of rows which are getting filled per hour on current day and the peak hour of the current day
number of rows which are... (5 Replies)
Hi all,
I have a bit of a vexing issue here and I'm not certain how best to go about it. Basically, I want to run a shell script and automate the user prompt of hitting 1 to fully uninstall Symantec Anti-Virus for OS X.
Would expect be the best way to do this? (5 Replies)
I want to recursively cat the content of files in a directory e.g.
find /etc -type f -exec cat {} \;
But I want it to print the file name first and then the content. For example let's say /etc/statetab and /etc/colord.conf will be printed first then I want the output to look something like;
... (6 Replies)
group by RQO_ORG
Union
select '4' AS ORG, 0 AS AUTHVOL
from sysibm.sysdummy1
union
select '26' AS ORG, 0 AS AUTHVOL
from sysibm.sysdummy1
union
select '30' AS ORG, 0 AS AUTHVOL
from... (2 Replies)
Hi,
Here is this weird thing happening here. I mounted RHEL 6.6 DVD on a directoy /a, I am trying to copy it's content to another folder by using command:
cp -pr /a/* /new/folder
But while I run ls -lrt on both locations it show me difference in number of files. Any specific reason for that.... (5 Replies)
Hi
I want to create a shell script with the following awk command & also get the filenames in output.
awk '/<catetcsecuretty0>/ {p=1} /<catvarlogmessages0>/ {p=0} p' *.xml
As there will be multiple outputs related to many xml files I cannot identify which output belongs to which file
... (5 Replies)