This is my newbi question. I have HP-UX on a MO drive, need to backup that MO in case of damaging the original. Therefor I need a copy on server and be able to put that copy onto a blank MO to recreate a working bootable disc. This what I did.
First I tried to make a copy with dd
dd... (0 Replies)
Anyone know how I can map a windows drive to an apache shared drive?
In my httpd.conf file, I have:
Alias /merc_rpts/ "/u/merc_rpts/"
<Directory "/u/merc_rpts">
Options Indexes
</Directory>
I'm able to bring up a browser and see the contents of this folder.
In... (0 Replies)
Hello,
I'm still learning unix and I have what is probably a simple question but I can't seem to find the question to. I have an Ultra 10 Sparc Server running solaris 8 and the drive may have crashed (I hope not). Currently, it appears some files in the /etc folder are missing. I have a backup... (1 Reply)
I have a 320 GB drive which dual boots Windows and Debian:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal):... (0 Replies)
Hi
I've added a second hard drive to my computer. I had no problem using GParted to partition and format it as an ext4 partition, and it's visible as an extra device. But when I try to read from the drive, I get "Folder contents could not be displayed, You do not have permission". When I... (1 Reply)
Hi all,
I ended up replacing a failed disk drive on my power 7. I had a few issues with unmirroring as it had a stale logical volume. I ended up finally getting it to unmirror the rootvg. I had an empty space in slot 3 so I ended up putting the new disk in slot 3. It configured to hdisk0 with no... (2 Replies)
Hi Guys,
Can any one help me on this.
I need help to move .csv/.xls file from unix path to windows shared drive or c:\ drive?
Regards,
LKR (1 Reply)
Discussion started by: lakshmanraok117
1 Replies
LEARN ABOUT OPENSOLARIS
eject
eject(1) User Commands eject(1)NAME
eject - eject media such as CD-ROM and floppy from drive
SYNOPSIS
eject [-dflqt] [ [device | nickname]]
DESCRIPTION
The eject utility is used for those removable media devices that do not have a manual eject button, or for those that might be locked due
to, for instance, being mounted. The device may be specified by its name or by a nickname. If no device is specified, the default device is
used.
Only devices that support eject under program control respond to this command.
When eject is used on media that can only be ejected manually, it does everything except remove the media, including unmounting the file
system if it is mounted. In this case, eject displays a message that the media can now be manually ejected.
Do not physically eject media from a device that contains mounted file systems. eject automatically searches for any mounted file systems
that reside on the device, and attempts to umount them prior to ejecting the media. See mount(1M). If the unmount operation fails, eject
prints a warning message and exits. The -f option can be used to specify an eject even if the device contains mounted partitions.
If you have inserted a floppy diskette, you might need to use volcheck(1) before ejecting the media to inform the system the floppy's pres-
ence.
OPTIONS
The following options are supported:
-d Display the name of the default device to be ejected.
-f Force the device to eject even if it is busy.
-l Display paths and nicknames of ejectable devices.
-q Query to see if the media is present.
-t Issues the drive a CD-ROM tray close command.
Not all devices support this command.
OPERANDS
The following operands are supported:
device Specifies which device to eject, by the name it appears in the directory /dev.
nickname Specifies which device to eject, by its nickname as known to this command.
Volume label or device type (for example, cdrom or floppy0) can be used as a nickname.
EXAMPLES
Example 1 Ejecting Media
The following example ejects media by its volume label:
example> eject 'My Pictures'
Example 2 Ejecting a Floppy Disk
The following example ejects a floppy disk from the first floppy drive:
example> eject floppy0
EXIT STATUS
The following exit codes are returned:
0 The operation was successful or, with the -q option, the media is in the drive.
1 The operation was unsuccessful or, with the -q option, the media is not in the drive.
2 Invalid options were specified.
3 An ioctl() request failed.
4 Manually ejectable media is now okay to remove.
FILES
/dev/diskette0 default diskette file
/dev/sr0 default CD-ROM file (deprecated)
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO volcheck(1), mount(1M), rmmount(1M), ioctl(2), attributes(5)SunOS 5.11 18 Sep 2006 eject(1)