10-11-2012
i attempted to make a partition initially, but it kept coming back saying it couldn't partition the usb, so no.
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 CENTOS
kpartx
KPARTX(8) Linux Administrator's Manual KPARTX(8)
NAME
kpartx - Create device maps from partition tables
SYNOPSIS
kpartx [-a | -d | -l] [-v] wholedisk
DESCRIPTION
This tool, derived from util-linux' partx, reads partition tables on specified device and create device maps over partitions segments
detected. It is called from hotplug upon device maps creation and deletion.
OPTIONS
-a Add partition mappings
-r Read-only partition mappings
-d Delete partition mappings
-u Update partition mappings
-l List partition mappings that would be added -a
-p set device name-partition number delimiter
-f force creation of mappings; overrides 'no_partitions' feature
-g force GUID partition table (GPT)
-v Operate verbosely
-s Sync mode. Don't return until the partitions are created
EXAMPLE
To mount all the partitions in a raw disk image:
kpartx -av disk.img
This will output lines such as:
loop3p1 : 0 20964762 /dev/loop3 63
The loop3p1 is the name of a device file under /dev/mapper which you can use to access the partition, for example to fsck it:
fsck /dev/mapper/loop3p1
When you're done, you need to remove the devices:
kpartx -d disk.img
SEE ALSO
multipath(8) multipathd(8) hotplug(8)
AUTHORS
This man page was assembled By Patrick Caulfield for the Debian project. From documentation provided by the multipath author Christophe
Varoqui, <christophe.varoqui@opensvc.com> and others.
July 2006 KPARTX(8)