01-17-2005
Note: the partitions Id on the disk, from that I want to read data, is 63hex, it's GNU Hard partitions type,I think
10 More Discussions You Might Find Interesting
1. Linux
Hello
I am trying to read from a small disk , 256 MB , removable sandisk.I am not able to access the device. The system does not recognise my disk to copy file s from the disk.
Please post your solution in this issue.
Thanks (2 Replies)
Discussion started by: singh85
2 Replies
2. SCO
I have formatted a floppy disk under SCO unix.
Is there a way I could read this disk under another
operating system e.g. Windows or Linux? (1 Reply)
Discussion started by: sgertsos
1 Replies
3. UNIX for Advanced & Expert Users
I have 3 columns in an excel sheet.
c1 c2 c3
EIP_ACCOUNT SMALL_TS_01 select A.* from acc;
All the above 3 col shoud be passed a variable in the unix code.
1.How to read an excel file
2.How to pass these data as variable to the unic script (1 Reply)
Discussion started by: Anne Grace
1 Replies
4. SCO
i was installing i my computer windows xp and sco
when i use knoppix5.0 live to read scsi partition wish sco was installing
show me message that i have not permission to acces in scsi hard drive
help me please (1 Reply)
Discussion started by: walidfinder
1 Replies
5. Solaris
Hi
I am using Solaris8.I want to find the total disk space of my server.Can anyone please tell that which field in below mentioned code signifies the disk space and whether this space is in Mb or GB.
c11t0d52 <EMC-SYMMETRIX-5264 cyl 4 alt 2 hd 15 sec 64>
... (4 Replies)
Discussion started by: sharmaankur85
4 Replies
6. Filesystems, Disks and Memory
Being a novice user to linux i m little unaware of how would i check disk read write speed.
One of my mate is suggesting to create a file using dd command and check how much time it takes to create a 30 gb file .
I think this has a little sense however i would also like to take your reviews... (5 Replies)
Discussion started by: pinga123
5 Replies
7. UNIX for Dummies Questions & Answers
Hi there,
I'm wondering how to display a disk label (why not edit it but I don't need that yet).
I found several commands on forums like disklabel and diskinfo but I can't find them on my system and don't know the package they belong to.
Can you help me?
Cheers
Santiago (2 Replies)
Discussion started by: chebarbudo
2 Replies
8. Solaris
Would simply like to write data (no audio) to a CD/RW disk. The disk drive states CD/RW on the front but don't know for sure if the software is configured to recognize it as a writable disk. I can read/move data from the disk to the hard drive with no issue from the disk. Any help in this... (4 Replies)
Discussion started by: jes1trish
4 Replies
9. Shell Programming and Scripting
We have the data looks like below in a log file.
I want to generat files based on the string between two hash(#) symbol like below
Source:
#ext1#test1.tale2 drop
#ext1#test11.tale21 drop
#ext1#test123.tale21 drop
#ext2#test1.tale21 drop
#ext2#test12.tale21 drop
#ext3#test11.tale21 drop... (5 Replies)
Discussion started by: Sanjeev G
5 Replies
10. Solaris
Good Afternoon,
I am setting up a SunBlade 2000 with Solaris 9. I have a hard drive of unknown condition installed in the bottom slot. The machine powers up to the {ok}
I'm trying to boot cdrom -sthe CDROM "Solaris 9 Operating Environment" so I can format the hard drive. I get: Error:... (13 Replies)
Discussion started by: Stellaman1977
13 Replies
PARTX(8) System Administration PARTX(8)
NAME
partx - tell the Linux kernel about the presence and numbering of on-disk partitions
SYNOPSIS
partx [-a|-d|-s] [-t TYPE] [-n M:N] [-] disk
partx [-a|-d|-s] [-t TYPE] partition [disk]
DESCRIPTION
Given a device or disk-image, partx tries to parse the partition table and list its contents. It optionally adds or removes partitions.
The disk argument is optional when a partition argument is provided. To force scanning a partition as if it were a whole disk (for example
to list nested subpartitions), use the argument "-". For example:
partx --show - /dev/sda3
This will see sda3 as a whole-disk rather than a partition.
This is not an fdisk program -- adding and removing partitions does not change the disk, it just tells the kernel about the presence and
numbering of on-disk partitions.
OPTIONS
-a, --add
Add the specified partitions, or read the disk and add all partitions.
-b, --bytes
Print the SIZE column in bytes rather than in human-readable format.
-d, --delete
Delete the specified partitions or all partitions.
-g, --noheadings
Do not print a header line.
-l, --list
List the partitions. Note that all numbers are in 512-byte sectors. This output format is DEPRECATED in favour of --show. Don't
use it in newly written scripts.
-o, --output list
Define the output columns to use for --show and --raw output. If no output arrangement is specified, then a default set is used.
Use --help to get list of all supported columns.
-r, --raw
Use the raw output format.
-s, --show
List the partitions. All numbers (except SIZE) are in 512-byte sectors. The output columns can be rearranged with the --output
option.
-t, --type type
Specify the partition table type -- aix, bsd, dos, gpt, mac, minix, sgi, solaris_x86, sun, ultrix or unixware.
-n, --nr M:N
Specify the range of partitions. For backward compatibility also the format <M-N> is supported. The range may contain negative
numbers, for example "--nr :-1" means the last partition, and "--nr -2:-1" means the last two partitions. Supported range specifi-
cations are:
<M> Specifies just one partition (e.g. --nr 3).
<M:> Specifies lower limit only (e.g. --nr 2:).
<:N> Specifies upper limit only (e.g. --nr :4).
<M:N> or <M-N> Specifies lower and upper limits (e.g. --nr 2:4).
EXAMPLES
partx --show /dev/sdb3
partx --show --nr 3 /dev/sdb
partx --show /dev/sdb3 /dev/sdb
All three commands list partition 3 of /dev/sdb.
partx --show - /dev/sdb3
Lists all subpartitions on /dev/sdb3 (the device is used as whole-disk).
partx -o START -g --nr 3 /dev/sdb
Prints the start sector of partition 5 on /dev/sda without header.
partx -o SECTORS,SIZE /dev/sda5 /dev/sda
Lists the length in sectors and human-readable size of partition 5 on /dev/sda.
partx --add --nr 3:5 /dev/sdd
Adds all available partitions from 3 to 5 (inclusive) on /dev/sdd.
partx -d --nr :-1 /dev/sdd
Removes the last partition on /dev/sdd.
SEE ALSO
addpart(8), delpart(8), fdisk(8), parted(8), partprobe(8)
AUTHORS
Davidlohr Bueso <dave@gnu.org>
Karel Zak <kzak@redhat.com>
The original version was written by Andries E. Brouwer <aeb@cwi.nl>.
AVAILABILITY
The partx command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux February 2011 PARTX(8)