Sponsored Content
Full Discussion: Saving to usb
Operating Systems Solaris Saving to usb Post 302713855 by jlliagre on Thursday 11th of October 2012 11:08:28 AM
Old 10-11-2012
Please provide some clues about what you are doing and how it fails.

Using an usb disk is generally quite simple, especially when the file system is fat.
- Plug the device and it is automatically mounted, "df -h" will tell you where.
- Write your file on it using the CLI or a file manager.
- Unmount the device before unplugging it to avoid media corruption and that's it.

Disabling the automounter makes thinks more complex so is generally not advisable.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Saving to a floppy

How do I save a file to a floppy. I mounted the drive and it is there. Everytime I try to save to the floppy, it tells me the resource is busy. Please advise. Thanks, (1 Reply)
Discussion started by: umether
1 Replies

2. UNIX for Dummies Questions & Answers

Saving scripts to usb device

How do I save a script to a pen drive? (3 Replies)
Discussion started by: beginner1
3 Replies

3. UNIX for Dummies Questions & Answers

saving from unix into pc

hi, i access unix through secure shell (SSH) from my pc running on windows. Can i save files from unix directly into windows-run pc?. e.g. vi files into notepad??? thanks alot, -a (6 Replies)
Discussion started by: alikun
6 Replies

4. Shell Programming and Scripting

saving a vi session

Apologies if this isn't quite the right thread I have a vi session and I have set a lot of tags with 'mx'. can I save this session preserving these tags so when I go back to the session I don't have to reset them all? cheers (0 Replies)
Discussion started by: ajcannon
0 Replies

5. Shell Programming and Scripting

Saving value as default value

Hi everybody, I have a prog who is filtering an image with a lot of parameters. The user has two choices : -Running the script with default values -Running the script manually (i.e choosing himself the parameters values) What I would like to do is that if he wants, the users can keep... (4 Replies)
Discussion started by: Moumou
4 Replies

6. Red Hat

Live-cd Saving changes

Hi all, firstly apologies if this is in the wrong category. I have been making livecds (fedora based) and to change eg the background i use below in the ks file. this works fine, however when i install the livecd it loses the changes. How can i make the changes so that they stay when... (5 Replies)
Discussion started by: davewilks
5 Replies

7. Shell Programming and Scripting

bashrc not saving changes

I am trying to do some changes at bashrc file located at /etc directory of my server. First I tried to edit bashrc via FTP downloaded on my pc changed it and loaded back, but it seems like changes are not reflecting. Therefore I tried to change it via putty shel using vim bashrc command. but... (4 Replies)
Discussion started by: ninadgac
4 Replies

8. UNIX for Dummies Questions & Answers

USB-USB cable between linux and windows computers

Is there an easy way to setup a cross-over cable (USB-USB) between a linux box and a windows PC? My 2 machines are next to each other but I really do not want to keep transfering my files using my USB drive. Thanks! (4 Replies)
Discussion started by: Xterra
4 Replies

9. Shell Programming and Scripting

Saving files

Hi all, I need to save my files at c, d or any drive location via script. Requirement. Say for example i have 10 files at location /usr/bi/ci location. 10 files naming a.ksh b,ksh c.ksh and so on I want to save the files and its content at some location (any drive on local... (4 Replies)
Discussion started by: j_panky
4 Replies
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)
All times are GMT -4. The time now is 08:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy