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
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
How do I save a script to a pen drive? (3 Replies)
Discussion started by: beginner1
3 Replies
3. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
LEARN ABOUT OPENSOLARIS
removable-media
removable-media(9P) Kernel Properties for Drivers removable-media(9P)
NAME
removable-media - removable media device property
DESCRIPTION
A device that supports removable media--such as CDROM, JAZZ, and ZIP drives--and that supports power management and expects automatic
mounting of the device via the volume manager should export the boolean (zero length) property removable-media. This property enables the
system to make the power state of the device dependent on the power state of the frame buffer and monitor. See the power.conf(4) discussion
of the device-dependency-property entry for more information.
Devices that behave like removable devices (such as PC ATA cards, where the controller and media both are removed at the same time) should
also export this property.
EXAMPLES
Example 1 removable-media Entry
An example of a removable-media entry from the .conf file of a driver is shown below.
# This entry keeps removable media from being powered down unless
# the console framebuffer and monitor are powered down
#
removable-media=1;
Example 2 Implementation in attach()
Below is an example of how the entry above would be implemented in the attach(9E) function of the driver.
xxattach(dev_info_t *dip, ddi_attach_cmd_t cmd)
{
...
if (ddi_prop_create(DDI_DEV_T_NONE, dip, DDI_PROP_CANSLEEP,
"removable-media", NULL, 0)) != DDI_PROP_SUCCESS)
goto failed;
...
}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO
power.conf(4), pm(7D), attach(9E), detach(9E), ddi_prop_create(9F)
Writing Device Drivers
SunOS 5.11 15 Jun 2001 removable-media(9P)