Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Yet another new inxi feature: disk speeds!

Message
Author
User avatar
rokytnji.1
Forum Regular
Forum Regular
Posts: 736
Joined: Sun Apr 13, 2014 9:06 pm

Re: Yet another new inxi feature: disk speeds!

#51 Post by rokytnji.1 » Thu Jun 07, 2018 9:38 pm

Finally broke my chromebook out of storage. Made pinxi current. Made AntiX current. Now for the meat and potato's.

Code: Select all

harry@biker:~
$  pinxi -Mdxxxzy80
Machine:
  Type: Desktop System: Google product: Parrot v: 1.0 serial: <filter> 
  Chassis: type: 3 serial: <filter> 
  Mobo: Google model: Parrot v: 1.0 serial: <filter> BIOS: coreboot 
  v: 4.0-6588-g4acd8ea-dirty date: 09/04/2014 
Drives:
  HDD Total Size: 44.64 GiB used: 25.83 GiB (57.9%) 
  ID-1: /dev/mmcblk0 model: SD32G size: 29.72 GiB serial: <filter> scheme: MBR 
  ID-2: /dev/sda vendor: SanDisk model: SSD U100 16GB size: 14.91 GiB 
  speed: 3.0 Gb/s serial: <filter> rev: 6.14 scheme: MBR 
  Message: No Optical or Floppy data was found. 
harry@biker:~
$ 
I use a sd card as a symlink to my /home. Kinda cheat instead of using it as a separate /home partition. It works like a seperate /home partition. But it aint one. Don't ask me how I did this. It was done personal like and I don/t remember how I did it.

Code: Select all

harry@biker:~
$ sudo parted -l
Model: ATA SanDisk SSD U100 (scsi)
Disk /dev/sda: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  16.0GB  16.0GB  primary  ext4


Model: SD SD32G (sd/mmc)
Disk /dev/mmcblk0: 31.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  31.9GB  31.9GB  primary  fat32


harry@biker:~
$ sudo blkid
/dev/sda1: LABEL="rootantiX" UUID="ea719934-26e3-4f25-af62-4f54438f456d" TYPE="ext4" PARTUUID="5a6d0bed-01"
/dev/mmcblk0p1: UUID="E10C-A032" TYPE="vfat" PARTUUID="0005e83f-01"
/dev/mmcblk0: PTUUID="0005e83f" PTTYPE="dos"
harry@biker:~
$ ls -l
total 36
drwxr-xr-x  2 harry harry 4096 Mar  9 19:18 Bank
drwxr-xr-x  9 harry harry 4096 Jan 30  2017 Claws_Themes
drwxr-xr-x  2 harry users 4096 Feb 28 22:08 Desktop
drwxr-xr-x  2 harry users 4096 Jun  7 19:35 Documents
drwxr-xr-x  2 harry users 4096 Mar  2 21:19 Downloads
drwx------ 11 harry harry 4096 Mar  1 12:59 hkhmjar@windstream.net
lrwxrwxrwx  1 harry harry   27 Feb 28 23:04 Icons -> ../../media/E10C-A032/Icons
lrwxrwxrwx  1 harry harry   28 Feb 28 23:04 Images -> ../../media/E10C-A032/Images
lrwxrwxrwx  1 harry harry   26 Feb 28 23:04 Isos -> ../../media/E10C-A032/Isos
drwxr-xr-x  2 harry users 4096 Feb 28 23:02 Music
drwxr-xr-x  4 harry users 4096 Mar 20 17:36 Pictures
lrwxrwxrwx  1 harry harry   30 Feb 28 23:04 Scrennys -> ../../media/E10C-A032/Scrennys
drwxr-xr-x  2 harry users 4096 Feb 28 23:03 Videos
lrwxrwxrwx  1 harry harry   31 Feb 28 23:03 Wallpaper -> ../../media/E10C-A032/Wallpaper
harry@biker:~
$ ls -la
total 284
drwxr-xr-x 35 harry users  4096 Jun  7 19:50 .
drwxr-xr-x  3 root  root   4096 Feb 28 22:20 ..
drwx------  3 harry harry  4096 Mar  1 00:24 .adobe
-rw-r--r--  1 harry harry   840 Feb 28 23:39 .alsaequal.bin
drwxr-xr-x  2 harry harry  4096 Mar  9 19:18 Bank
-rw-r--r--  1 harry users  7542 Jun  7 20:11 .bash_history
-rw-r--r--  1 harry users   220 May 15  2017 .bash_logout
-rwxr-xr-x  1 harry users  3851 Oct 24  2017 .bashrc
drwx------  6 harry harry  4096 Jun  7 19:52 .cache
drwx------ 12 harry harry  4096 Mar 20 13:49 .claws-mail
drwxr-xr-x  9 harry harry  4096 Jan 30  2017 Claws_Themes
drwxr-xr-x 28 harry users  4096 Mar 20 13:49 .config
-rwxr-xr-x  1 harry users 12177 Oct 24  2017 .conkyrc
-rw-r--r--  1 harry users  2744 Feb 24  2017 .conkyrc-lua
drwx------  3 harry harry  4096 Feb 28 22:21 .dbus
drwxr-xr-x  2 harry users  4096 Feb 28 22:08 Desktop
drwxr-xr-x  2 harry users  4096 Jun  7 19:50 .desktop-session
drwxr-xr-x  2 harry users  4096 Oct 24  2017 .dillo
drwxr-xr-x  2 harry users  4096 Jun  7 19:35 Documents
drwxr-xr-x  2 harry users  4096 Mar  2 21:19 Downloads
-rwxr-xr--  1 harry users   101 Jun  7 19:50 .fehbg
drwxr-xr-x  2 harry users  4096 Oct 24  2017 .fluxbox
drwxr-xr-x  2 harry users  4096 Oct 24  2017 .foxrc
drwxr-xr-x  3 harry users  4096 Jun  7 19:52 .gconf
-rw-r--r--  1 harry users    58 Dec  5  2009 .gexec
-rw-r--r--  1 harry harry     8 Mar  3 10:48 .gexec_history
-rw-r-----  1 harry harry     0 Jun  7 20:28 .gksu.lock
drwx------  3 harry harry  4096 Mar  2 21:20 .gnome
-rw-r--r--  1 harry harry    29 Feb 28 23:20 .gtk-bookmarks
-rw-r--r--  1 harry users   287 Apr 15  2007 .gtkrc
-rw-r--r--  1 harry harry   583 Feb 28 23:47 .gtkrc-2.0
-rw-r--r--  1 harry users    26 Oct 31  2013 .gtkrc-2.0.mine
drwx------ 11 harry harry  4096 Mar  1 12:59 hkhmjar@windstream.net
drwxr-xr-x  3 harry users  4096 Mar 21 18:57 .icewm
drwxr-xr-x  3 harry users  4096 Feb 28 23:22 .icons
lrwxrwxrwx  1 harry harry    27 Feb 28 23:04 Icons -> ../../media/E10C-A032/Icons
lrwxrwxrwx  1 harry harry    28 Feb 28 23:04 Images -> ../../media/E10C-A032/Images
lrwxrwxrwx  1 harry harry    26 Feb 28 23:04 Isos -> ../../media/E10C-A032/Isos
drwxr-xr-x  3 harry users  4096 Oct 24  2017 .jwm
-rw-r--r--  1 harry users   919 Dec 28  2014 .jwmrc
drwxr-xr-x  3 harry users  4096 Oct 24  2017 .local
drwx------  3 harry harry  4096 Mar  1 00:24 .macromedia
drwxr-xr-x  2 harry users  4096 Oct 24  2017 .mcthemes
drwx------  4 harry harry  4096 Feb 28 22:21 .mozilla
-rw-r--r--  1 harry harry   211 Mar 20 17:16 .mtpaint
drwxr-xr-x  2 harry users  4096 Feb 28 23:02 Music
-rw-r--r--  1 harry users 25148 Apr 26  2006 .nanorc
drwxr-xr-x  2 harry users  4096 Oct 24  2017 .newsbeuter
drwxr-xr-x  4 harry users  4096 Mar 20 17:36 Pictures
drwx------  3 harry harry  4096 Mar  2 21:20 .pki
-rw-r--r--  1 harry users   675 May 15  2017 .profile
drwx------  4 harry users  4096 Jun  7 20:11 .run
lrwxrwxrwx  1 harry harry    30 Feb 28 23:04 Scrennys -> ../../media/E10C-A032/Scrennys
-rw-r--r--  1 harry users 11921 May 13  2009 .smb.conf
-rw-r--r--  1 harry users  8104 Apr 25  2009 .smbnetfs.conf
drwx------  3 harry harry  4096 Feb 28 22:57 .thumbnails
-rw-r--r--  1 harry harry  1179 Mar 20 17:27 .tintii
drwxr-xr-x  2 harry users  4096 Feb 28 23:03 Videos
lrwxrwxrwx  1 harry harry    31 Feb 28 23:03 Wallpaper -> ../../media/E10C-A032/Wallpaper
-rw-r--r--  1 root  root    215 Mar  9 07:06 .wget-hsts
drwxr-xr-x  2 harry users  4096 Feb 28 22:08 .wicd
-rw-------  1 harry harry    50 Jun  7 19:50 .Xauthority
-rw-r--r--  1 harry harry    16 Mar  3 10:34 .Xdefaults
drwxr-xr-x  4 harry users  4096 Feb 28 23:42 .xmms
-rw-r--r--  1 harry users   138 Jun 13  2016 .Xresources
harry@biker:~
$ 

Code: Select all

harry@biker:~
$ cat /etc/fstab
# /etc/fstab: static file system information
#
# Created by make-fstab on Wed Feb 28 22:18:35 CST 2018

# <file system>                            <mount point>                               <type>     <options>                       <dump/pass>

#-> /dev/sda1  label=rootantiX
UUID=ea719934-26e3-4f25-af62-4f54438f456d  /                                           ext4       defaults                        1 1
#-> /dev/mmcblk0p1
UUID=E10C-A032                             /media/E10C-A032                            vfat       noauto,uid=1000,gid=users,dmask=002,fmask=113,users  0 0
harry@biker:~
Anyways. This works fine and dandy for me. :crossfingers:

User avatar
oops
Forum Regular
Forum Regular
Posts: 203
Joined: Tue Apr 10, 2018 5:07 pm

Re: Yet another new inxi feature: disk speeds!

#52 Post by oops » Fri Jun 08, 2018 4:09 am

h2-1 wrote:
Thu Jun 07, 2018 8:05 pm
oops I'm curious if you or someone else here can run the same test to see if there is other bootloaders detected the same way, I think arch linux uses one for ueft boots for example, not grub, and of course, the bsds use different ones, and arm uses at least 2 common ones, aside from grub.
Hello,
FYI: Into an other PC I have (for Grub only, I only have grub into my MBRs, and rEFIND (EFI)+Grub into one ) :

Code: Select all

sudo od -tx1z -Ax -N 512 /dev/sda |grep -i -A1 -B1 rub
 ... 
000170 26 5a 7c be 8e 7d eb 03 be 9d 7d e8 34 00 be a2  >&Z|..}....}.4...<
000180 7d e8 2e 00 cd 18 eb fe 47 52 55 42 20 00 47 65  >}.......GRUB .Ge<
000190 6f 6d 00 48 61 72 64 20 44 69 73 6b 00 52 65 61  >om.Hard Disk.Rea<


# instead:
#od -tx1z -Ax -N 512 /dev/sda |grep -i -A1 -B1 rub
#000170 06 be 94 7d e8 30 00 be 99 7d e8 2a 00 eb fe 47  >...}.0...}.*...G<
#000180 52 55 42 20 00 47 65 6f 6d 00 48 61 72 64 20 44  >RUB .Geom.Hard D<
#000190 69 73 6b 00 52 65 61 64 00 20 45 72 72 6f 72 00  >isk.Read. Error.<
This one is with rEFIND + Grub

Code: Select all

od -tx1z -Ax -N 512 /dev/sda
000000 eb 63 90 00 00 00 00 00 00 00 00 00 00 00 00 00  >.c..............<
000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
*
000050 00 00 00 00 00 00 00 00 00 00 00 80 f8 a9 81 28  >...............(<
000060 00 00 00 00 ff fa 90 90 f6 c2 80 74 05 f6 c2 70  >...........t...p<
000070 74 02 b2 80 ea 79 7c 00 00 31 c0 8e d8 8e d0 bc  >t....y|..1......<
000080 00 20 fb a0 64 7c 3c ff 74 02 88 c2 52 bb 17 04  >. ..d|<.t...R...<
000090 f6 07 03 74 06 be 88 7d e8 17 01 be 05 7c b4 41  >...t...}.....|.A<
0000a0 bb aa 55 cd 13 5a 52 72 3d 81 fb 55 aa 75 37 83  >..U..ZRr=..U.u7.<
0000b0 e1 01 74 32 31 c0 89 44 04 40 88 44 ff 89 44 02  >..t21..D.@.D..D.<
0000c0 c7 04 10 00 66 8b 1e 5c 7c 66 89 5c 08 66 8b 1e  >....f..\|f.\.f..<
0000d0 60 7c 66 89 5c 0c c7 44 06 00 70 b4 42 cd 13 72  >`|f.\..D..p.B..r<
0000e0 05 bb 00 70 eb 76 b4 08 cd 13 73 0d 5a 84 d2 0f  >...p.v....s.Z...<
0000f0 83 d0 00 be 93 7d e9 82 00 66 0f b6 c6 88 64 ff  >.....}...f....d.<
000100 40 66 89 44 04 0f b6 d1 c1 e2 02 88 e8 88 f4 40  >@f.D...........@<
000110 89 44 08 0f b6 c2 c0 e8 02 66 89 04 66 a1 60 7c  >.D.......f..f.`|<
000120 66 09 c0 75 4e 66 a1 5c 7c 66 31 d2 66 f7 34 88  >f..uNf.\|f1.f.4.<
000130 d1 31 d2 66 f7 74 04 3b 44 08 7d 37 fe c1 88 c5  >.1.f.t.;D.}7....<
000140 30 c0 c1 e8 02 08 c1 88 d0 5a 88 c6 bb 00 70 8e  >0........Z....p.<
000150 c3 31 db b8 01 02 cd 13 72 1e 8c c3 60 1e b9 00  >.1......r...`...<
000160 01 8e db 31 f6 bf 00 80 8e c6 fc f3 a5 1f 61 ff  >...1..........a.<
000170 26 5a 7c be 8e 7d eb 03 be 9d 7d e8 34 00 be a2  >&Z|..}....}.4...<
000180 7d e8 2e 00 cd 18 eb fe 47 52 55 42 20 00 47 65  >}.......GRUB .Ge<
000190 6f 6d 00 48 61 72 64 20 44 69 73 6b 00 52 65 61  >om.Hard Disk.Rea<
0001a0 64 00 20 45 72 72 6f 72 0d 0a 00 bb 01 00 b4 0e  >d. Error........<
0001b0 cd 10 ac 3c 00 75 f4 c3 60 75 f3 21 00 00 00 00  >...<.u..`u.!....<
0001c0 01 00 ee fe ff ff 01 00 00 00 af 6d 70 74 00 00  >...........mpt..<
0001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
*
0001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa  >..............U.<
000200
$ inxi -S : System: Host:XEON Kernel: 4.16.0-xeon-01.efi x86_64 bits: 64 Desktop: Xfce 4.12.3 - Distro: MX-17.1_x64 Horizon


Post Reply

Return to “antiX”