Well, Linux native and Linux Swap partition types are independent from the
DASD layout. Both, cdl and ldl DASDs could have Linux native partitions.
The DASD layout tells you how many partitions are possible (ldl - one,
cdl - up to three). The partition type (e.g. 0x82 for Linux native) tells
you, what kind of partition you have.
One big difference between cdl and ldl is the volume label, cdl has VOL1
and ldl uses LNX1. But the easiest way to find out is dasdview:

[EMAIL PROTECTED] root]# dasdview -x -f /dev/dasdb

--- general DASD information
--------------------------------------------------
device node            : /dev/dasdb
busid                  : 0.0.d033
type                   : ECKD
device type            : hex 3390       dec 13200

--- DASD geometry
-------------------------------------------------------------
number of cylinders    : hex d0b        dec 3339
tracks per cylinder    : hex f          dec 15
blocks per track       : hex c          dec 12
blocksize              : hex 1000       dec 4096

--- extended DASD information
-------------------------------------------------
real device number     : hex 2020100    dec 33685760
...
format                 : hex 2          dec 2           CDL formatted
...

regards,
Volker

Linux on zSeries Development
Tel.: +49-(0)7031-16-2019
IBM Deutschland Entwicklung GmbH

Linux on 390 Port <[email protected]> wrote on 06.01.2005 03:01:41:

> Mark:
> This is what I got when I did fdasd. Looks like it did not complain, but
> it seems to imply Linux Native partition. Is that 'ldl' then, rather than
> 'cdl'? Thanks
> ================ fdasd session output ==============
>
> device           : /dev/dasdk
> volume label     : VOL1
> volume identifier: 0X0160
>
> WARNING: This mapping may be NOT up-to-date,
>          if you have NOT saved your last changes!
>
> /dev/dasdk1  -  LINUX.V0X0160.PART0001.NATIVE
>
> . . . . . .
>
> Command (m for help): t
>
> Disk /dev/dasdk:
>     3338 cylinders,
>       15 tracks per cylinder,
>       12 blocks per track
>     4096 bytes  per block
> volume label: VOL1, volume identifier: 0X0160
> maximum partition number: 3
>
>  ------------------------------- tracks -------------------------------
>                Device      start      end   length   Id  System
>           /dev/dasdk1          2    50069    50068    1  Linux native
>
> change partition type
> partition id (use 0 to exit): 1
>
> current partition type is: Linux native
>
>    1  Linux native
>    2  Linux swap
>
> ==============================

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to