👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

OpenSolaris 2009.06 - man page for volrmmount (opensolaris section 1)

volrmmount(1)				  User Commands 			    volrmmount(1)

NAME
       volrmmount - call rmmount to mount or unmount media

SYNOPSIS
       volrmmount [-i | -e] [name | nickname]

       volrmmount [-d]

DESCRIPTION
       The  volrmmount	utility calls rmmount(1M) to, in effect, simulate an insertion (-i) or an
       ejection (-e). Simulating an insertion often means that rmmount will mount the media. Con-
       versely,  simulating an ejection often means that rmmount will unmount the media. However,
       these actions can vary depending on the rmmount configuration and media type.

       For example, using default settings, if you insert a music CD, it might	not  be  mounted.
       However,  you  can  configure  rmmount  so  that  it  calls workman whenever a music CD is
       inserted.

       This command allows you to override volume management's usual handling of media (see EXAM-
       PLES below).

OPTIONS
       The following options are supported:

       -i    Simulates an insertion of the specified media by calling rmmount.

       -e    Simulates an ejection of the specified media by calling rmmount.

       -d    Displays  the  name  of  the default device for volrmmount to handle. This device is
	     used if no name or nickname is supplied.

OPERANDS
       The following operands are supported:

       name	   The name that volume management recognizes as the device's name.

       nickname    A shortened version of the device's name. Following is the list of  recognized
		   nicknames:

       +-----------------------------+-----------------------------+
       |	 Nickname	     |		  Path		   |
       +-----------------------------+-----------------------------+
       |fd			     |/dev/rdiskette		   |
       +-----------------------------+-----------------------------+
       |fd0			     |/dev/rdiskette		   |
       +-----------------------------+-----------------------------+
       |fd1			     |/dev/rdiskette1		   |
       +-----------------------------+-----------------------------+
       |diskette		     |/dev/rdiskette		   |
       +-----------------------------+-----------------------------+
       |diskette0		     |/dev/rdiskette0		   |
       +-----------------------------+-----------------------------+
       |diskette1		     |/dev/rdiskette1		   |
       +-----------------------------+-----------------------------+
       |rdiskette		     |/dev/rdiskette		   |
       +-----------------------------+-----------------------------+
       |rdiskette0		     |/dev/rdiskette0		   |
       +-----------------------------+-----------------------------+
       |rdiskette1		     |/dev/rdiskette1		   |
       +-----------------------------+-----------------------------+
       |floppy			     |/dev/rdiskette		   |
       +-----------------------------+-----------------------------+
       |floppy0 		     |/dev/rdiskette0		   |
       +-----------------------------+-----------------------------+
       |floppy1 		     |/dev/rdiskette1		   |
       +-----------------------------+-----------------------------+
       |cdrom0			     |/dev/rdsk/cXtYdZ/label	   |
       +-----------------------------+-----------------------------+
       |zip0			     |/dev/rdsk/cXtYdZ/label	   |
       +-----------------------------+-----------------------------+
       |jaz0			     |/dev/rdsk/cXtYdZ/label	   |
       +-----------------------------+-----------------------------+
       |rmdisk0 		     |/dev/rdsk/cXtYdZ/label	   |
       +-----------------------------+-----------------------------+

EXAMPLES
       Example 1 Using the volrmmount command

       When  volume  management  finds	a  floppy that contains a filesystem, it calls rmmount to
       mount it. If you wish to run tar(1) or cpio(1) on that floppy, it must first be unmounted.
       To unmount the floppy use:

	 example% volrmmount -e floppy0

       After  volrmmount unmounts the floppy, if you wish to re-mount it (rather than ejecting it
       and reinserting it) use:

	 example% volrmmount -i floppy0

       Notice that if you are using a named floppy, you can use its name in place of floppy0.

FILES
       /dev/volctl    volume management control port

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       +-----------------------------+-----------------------------+
       |      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
       +-----------------------------+-----------------------------+
       |Availability		     |SUNWvolu			   |
       +-----------------------------+-----------------------------+

SEE ALSO
       cpio(1), eject(1), tar(1), rmmount(1M), attributes(5)

SunOS 5.11				   28 Feb 2007				    volrmmount(1)


All times are GMT -4. The time now is 11:08 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?