[clug] Desktop commandline & remote embedded device
Bryan Kilgallin
bryan at netspeed.com.au
Sat Nov 15 04:11:32 MST 2014
Thanks Hal:
> Connect nautilus to your phone over ssh.
Just now I had a terminal window with SSH to the phone.
> At the prompt type "mount"
> to see all the mounted filesystems and pick the one that looks most
> like the phone.
I got the following list. And I recognised /proc, having been in an
error message from a previous attempt to use lscpu.
Whereas I hadn't intuitively tweaked that /proc was wherein lay info
about the CPU, which was what I had been looking for!
rootfs on / type rootfs (rw)
/dev/root on / type jffs2 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
shmfs on /dev/shm type tmpfs (rw)
volatile on /var/volatile type tmpfs (rw)
> cd to it, go nuts.
Yes, as above, I had by retracing an lscpu error message found the
cpuinfo file in /proc. So I had by reading that file, found the info
that I was after.
What I had been hoping for, was some general-purpose method of getting
my PC's command line programs to peer within the phone.
Commandline-program-ABC -> info about the PC
Commandline-program-ABC blah-phone -> info about the phone
--
www.netspeed.com.au/bryan/
More information about the linux
mailing list