bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sample command output


From: Sergey Bugaev
Subject: Sample command output
Date: Wed, 17 May 2023 20:49:24 +0300

Hello,

now that /bin/sh is working, I'm playing with the system a bit, and
thought it might be interesting to share some sample output from
various commands (I only have the Hurd itself and partly binutils
installed):

# uname -a
GNU  0.9 GNU-Mach 1.8/Hurd-0.9 x86_64-AT386 GNU

# /bin/echo --version
echo (GNU coreutils) 9.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Brian Fox and Chet Ramey.

# ls /dev
MAKEDEV
mach-console

# fsysopts /
ext2fs --readonly --relatime --store-type=device rd0

# ls -l /lib
total 12
lrwxrwxrwx 1 0 0   25 May 11 16:04 ld-x86-64.so.1 -> x86_64-gnu/ld-x86-64.so.1
drwxr-xr-x 3 0 0 4096 May 17 11:26 x86_64-gnu

# LD_TRACE_LOADED_OBJECTS=1 /hurd/ext2fs
    libdiskfs.so.0.3 => /lib/x86_64-gnu/libdiskfs.so.0.3 (0x0000000001042000)
    libpager.so.0.3 => /lib/x86_64-gnu/libpager.so.0.3 (0x0000000001079000)
    libstore.so.0.3 => /lib/x86_64-gnu/libstore.so.0.3 (0x0000000001083000)
    libports.so.0.3 => /lib/x86_64-gnu/libports.so.0.3 (0x0000000001096000)
    libihash.so.0.3 => /lib/x86_64-gnu/libihash.so.0.3 (0x00000000010a1000)
    libshouldbeinlibc.so.0.3 =>
/lib/x86_64-gnu/libshouldbeinlibc.so.0.3 (0x00000000010a5000)
    libpthread.so.0.3 => /lib/x86_64-gnu/libpthread.so.0.3 (0x00000000010b5000)
    libc.so.0.3 => /lib/x86_64-gnu/libc.so.0.3 (0x00000000010cb000)
    libfshelp.so.0.3 => /lib/x86_64-gnu/libfshelp.so.0.3 (0x000000000136b000)
    libiohelp.so.0.3 => /lib/x86_64-gnu/libiohelp.so.0.3 (0x0000000001374000)
    /lib/ld-x86-64.so.1 (0x0000000000001000)
    libmachuser.so.1 => /lib/x86_64-gnu/libmachuser.so.1 (0x0000000001378000)
    libhurduser.so.0.3 => /lib/x86_64-gnu/libhurduser.so.0.3
(0x000000000138e000)

(I cannot run full ldd because that requires bash)

# env
LD_ORIGIN_PATH=/usr/bin
PWD=/

# tty
not a ttty

(this is the Mach console device via streamio, not the Hurd console translator)

# ps-hurd 1 2 3 4 6 7 8
  PID TT STAT     TIME COMMAND
    1  - <slow 0:00.00 /bin/sh
    2  - <p    0:00.00 /hurd/startup
    3  ? D<fmo 53 years ?
    4  ? <mo  136years /hurd/proc
    6  - <o   408years ?
    7  - <o    0:00.00 /hurd/auth

(ps-hurd crashes on PID 5 for some reason, to be investigated, also those ?s)

Sergey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]