Mandrake Linux Archives: cooker@mandrivalinux.org

Mandrake Linux: cooker@mandrivalinux.org


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

  • From: Pixel
  • Subject: Re: [Cooker] Adding device types to diskdrake
  • Date: 6 Jan 2006 12:01:38 -0000

Joshua Kugler <joshua.kugler@uaf.edu> writes:

> The units are listed in /dev/etherd and the have the format ex.ypz, where x is 
> the shelf number, y is the lblade number (logical blade on the unit) and z is 
> the partition number, if the blades are partitioned.  I usually format/mount 
> the whole device:
>
> mount /dev/etherd/e0.0 /mnt/etherdrive
>
> Tips or suggestions to get me started?

you have to:

- modify detect_devices.pm:
  - create a function alike getDAC960(), getATARAID() or getCompaqSmartArray()
    (please try to use /proc or /sys for detection, and not syslog)
  - modify detect_devices::get() (easy :)
- modify devices.pm
  - in function entry(), add some code alike ataraid or cciss
- you may also modify partition_table.pm
  - in function add(), set the maximal number of partitions for each disks
    (it's mostly a device naming limitation, but it exists...)

if you need more help, please ask :)

cu



Date Index | Thread Index

Search the archive:



To (un)subscribe from/to the lists:

Sympa mailing lists server.





Looking for a job?