FlyingHavoc

Results 7 comments of FlyingHavoc

pi@raspberrypi  ~  realpath $(cat /etc/mtab |grep ' / ' | cut -f1 -d" ") /dev/root pi@raspberrypi  ~  ls /sys/block loop0 loop4 ram0 ram12 ram2 ram6 sda...

@aristocratos So real path is /dev/root But it is /sys/block/sda There is stat file for it pi@raspberrypi  ~  ls /sys/block/sda alignment_offset ext_range ro bdi hidden sda1 capability holders...

> @FlyingHavoc > > Yeah, the issue seems to be that the link `/dev/root` doesn't resolve down to `/dev/sda`, so btop has no way of knowing which device to get...

@aristocratos pi@raspberrypi  ~  mount /dev/sda2 on / type ext4 (rw,noatime) devtmpfs on /dev type devtmpfs (rw,relatime,size=3834052k,nr_inodes=958513,mode=755) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,relatime)

@aristocratos root@raspberrypi:/dev# cd /sys/block/ root@raspberrypi:/sys/block# l total 0 .. lrwxrwxrwx 1 root root 0 Nov 14 20:27 sda -> ../devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/block/sda root@raspberrypi:/sys/block# l ../devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/block/sda total 0 -r--r--r-- 1 root root 4096...

@Crilum Yes, I'm using USB SSD to boot my pi4. Why one wouldn't? (It gives incredible speed & IO performance, at the same time it doesn't degrade and fail like...

@aristocratos @Crilum I've made a symlink too and it's working! `$ sudo ln -s /sys/block/sda /dev/root` `$ ls -al /dev/root` `lrwxrwxrwx 1 root root 14 Nov 26 22:27 /dev/root ->...