Ferenc Wagner wrote:
> 
> Mi ebben a kusza?  A feltett kérdésre (fdisk -l) teljesen korrekt
> választ adott.  Szerintem.

Izlesek es pofonok. man fdisk:

-l
     List the partition tables for the specified devices and then exit. 
If no devices are given, those mentioned in /proc/partitions (if that 
exists) are used.

userland toool, imho nem az a dolga, hogy a kernelinternalst vagy a 
fellelheto osszes blockdevicet reportolja a usernek. Nezd meg esetleg ezt:

sk8n:~# fdisk -l

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot      Start         End      Blocks  Id System
/dev/sda1               1         250     2008093+ fd Linux raid autodetect
/dev/sda2             251         375     1004062+ fd Linux raid autodetect
/dev/sda3             376         500     1004062+ fd Linux raid autodetect
/dev/sda4             501       24321   191342182+  5 Extended
/dev/sda5             501        2493    16008741  fd Linux raid autodetect
/dev/sda6            2494        3490     8008371  fd Linux raid autodetect
/dev/sda7            3491        3989     4008186  fd Linux raid autodetect
/dev/sda8            3990        4488     4008186  fd Linux raid autodetect
/dev/sda9            4489       24321   159308541  fd Linux raid autodetect

Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot      Start         End      Blocks  Id System
/dev/sdb1               1         250     2008093+ fd Linux raid autodetect
/dev/sdb2             251         375     1004062+ fd Linux raid autodetect
/dev/sdb3             376         500     1004062+ fd Linux raid autodetect
/dev/sdb4             501       24321   191342182+  5 Extended
/dev/sdb5             501        2493    16008741  fd Linux raid autodetect
/dev/sdb6            2494        3490     8008371  fd Linux raid autodetect
/dev/sdb7            3491        3989     4008186  fd Linux raid autodetect
/dev/sdb8            3990        4488     4008186  fd Linux raid autodetect
/dev/sdb9            4489       24321   159308541  fd Linux raid autodetect

Disk /dev/sdc: 131 MB, 131072000 bytes
5 heads, 50 sectors/track, 1024 cylinders
Units = cylinders of 250 * 512 = 128000 bytes

    Device Boot      Start         End      Blocks  Id System
/dev/sdc1               1        1024      127975   c Win95 FAT32 (LBA)
sk8n:~# mount
rootfs on / type rootfs (rw)
/dev/root on /initrd type minix (rw)
/dev/md0 on / type reiserfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/md1 on /tmp type reiserfs (rw)
/dev/md3 on /usr type reiserfs (rw)
/dev/md4 on /usr/local type reiserfs (rw)
/dev/md5 on /var type reiserfs (rw)
/dev/md6 on /var/log type reiserfs (rw)
/dev/md7 on /home type reiserfs (rw)
/dev/sdc1 on /boot type vfat 
(rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,quiet)


-- 
Gabor HALASZ <[email protected]>

_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz