|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Saving to usb
Greetings.
I am trying to save a file to a usb from solaris 10. If I do rmformat, I see my usb, but can't find a location to tell things to save to or figure out how to save/view the files on the disk. Any help/thoughts/etc would be appreciated. Thanks! ~K |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
What filesystem is the drive formatted to? Solaris probably can't understand NTFS.
|
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Yup. Didn't think of that.
Am i wrong in thinking that once it recognizes the device, a folder should be listed where I can move files to? |
|
#4
|
|||
|
|||
|
There was a thread on this but I can't find it. I think so but aren't 100% sure. Make sure it's FAT, then try again, and post what happens...
|
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
It depends on whether you are purely backing up to USB (ie, a Solaris filesystem on the USB is what you want) or you want to move files to a Windows filesystem format on the USB for transportation to another (Windows) system. For a Solaris filesystem the basic steps are:- 1. Code:
rmformat -l To see whether the hardware device is seem by the system. (you've already done that). This gives you the device name, /dev/rdsk/<whatever> 2. You need to stop the automatic volume management services while you manipulate the USB device On Solaris 10: (post if you have a prior version) Code:
svcadm disable volfs 3. Create a partition on the USB device using: Quote:
Code:
newfs /dev/rdsk/<whatever> 5. Create an arbitary mount point (typically a top level directory using mkdir) eg. Code:
mkdir usbstick 6. Mount the USB filesystem under this mount point Code:
mount /dev/dsk/<whatever> /usbstick You can then copy stuff to your new USB based filesystem under the /usbstick directory. After you're done you can sync and umount the filesystem and remove the stick. If the USB device is already formatted with another filesystem eg. NTFS, then you should be able to just do steps 5 & 6. Hope that helps. Post back any questions. ---------- Post updated 11-10-12 at 09:32 AM ---------- Previous update was 10-10-12 at 07:33 PM ---------- Forgot to say that if the USB device is preformatted on another system eg, fat32, you will need to tell the mount command (in step 5) that it's not a native Solaris filesystem by using the -F switch on mount (see man pages). For example: Code:
mount -F pcfs /dev/dsk/c5t0d0s0 /mnt or whatever suitable -F argument to tell Solaris what format to look for. |
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
I had found another article and followed the directions on it. It can find the usb, I have the directory showing (it said to do mount /dev/dsk/<blahblah> /mnt. I'm not having any errors returned, but it's not saving to the usb.
Is there a way to start over and follow hicksd8? (It's an FAT usb, btw) (Have I mentioned that the first time I used Solaris was when they said "Congrats! Here's your lab, now go make it work") Thanks! ~K |
| Sponsored Links | |
|
|
#7
|
|||
|
|||
|
I think that you might need to format it fat32 (on another machine).
If the mount command gives you no errors, you should be able to see it listed in the output of the command: Quote:
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Saving files | j_panky | Shell Programming and Scripting | 4 | 04-20-2011 04:30 AM |
| Saving value as default value | Moumou | Shell Programming and Scripting | 4 | 07-20-2009 08:50 AM |
| saving a vi session | ajcannon | Shell Programming and Scripting | 0 | 09-20-2007 04:07 AM |
| saving macros for VIM | yngwie | UNIX for Dummies Questions & Answers | 3 | 05-14-2007 12:26 AM |
| saving from unix into pc | alikun | UNIX for Dummies Questions & Answers | 6 | 03-28-2007 02:03 AM |
|
|