WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: lsSCSI and lsdev  (Read 2570 times)

Offline madmax

  • Jr. Member
  • **
  • Posts: 98
lsSCSI and lsdev
« on: October 07, 2015, 08:22:41 PM »
Hello:

Would it be possible to get lsSCSI and lsdev for TC 6.x?

Thanks.

MM

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: lsSCSI and lsdev
« Reply #1 on: October 08, 2015, 02:41:24 AM »
lsscsi and procinfo posted

The procinfo extension contains the lsdev perl script.

Offline madmax

  • Jr. Member
  • **
  • Posts: 98
Re: lsSCSI and lsdev
« Reply #2 on: October 08, 2015, 07:36:44 AM »
Good morning:
lsscsi and procinfo posted
Thanks a lot !

Works a charm:
Code: [Select]
tc@box:~$ lsscsi -d -s
[0:0:0:0]    cd/dvd  ATAPI    DVD C  DH52C2P   MP5C  /dev/sr0 [11:0]       -
[1:0:0:0]    disk    ATA      TOSHIBA THNCF256 3.00  /dev/sda [8:0]   256MB
[2:0:0:0]    disk    Hitachi  HTS545050A7E     GG2O  /dev/sdb [8:16]   500GB
[3:0:0:0]    disk             LG External HDD  AX00  /dev/sdc [8:32]   500GB
[4:0:0:0]    disk    Multi    Flash Reader     1.00  /dev/sdd [8:48]       -
[5:0:1:0]    disk    FUJITSU  MAN3367M SUN36G  1502  /dev/sde [8:64]  36.4GB
[5:0:2:0]    disk    FUJITSU  MAN3367M SUN36G  1502  /dev/sdf [8:80]  36.4GB
[5:0:3:0]    disk    FUJITSU  MAN3184MC        5505  /dev/sdg [8:96]  18.2GB
[5:0:4:0]    disk    FUJITSU  MAN3184MC        5507  /dev/sdh [8:112]  18.2GB
[5:0:6:0]    tape    ARCHIVE  Python 03812-XXX 6270  -               -

The procinfo extension contains the lsdev perl script.
Over my head.   =-/
Will look into it.

Cheers,

MM

ps: finally got c+p to work.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: lsSCSI and lsdev
« Reply #3 on: October 08, 2015, 07:44:00 AM »
Over my head.   =-/
Will look into it.

Code: [Select]
$ tce-load -i procinfo perl5
$ lsdev

Offline madmax

  • Jr. Member
  • **
  • Posts: 98
Re: lsSCSI and lsdev
« Reply #4 on: October 08, 2015, 04:55:45 PM »
Hello Juanito:

Code: [Select]
$ tce-load -i procinfo perl5
$ lsdev
Great!
Thank a lot.

Best regards,

MM