Add a flag for -F/--foreground

7 views
Skip to first unread message

ronnie sahlberg

unread,
Feb 20, 2025, 11:41:29 PMFeb 20
to ub...@googlegroups.com
I think it would be useful to run everything in the foreground so we can 
run it under gdb.
-f is already taken unfortunately by ublk.loop, but maybe we can add a
-F/--foreground for this.

I can add this if you want.

Ming Lei

unread,
Feb 20, 2025, 11:52:07 PMFeb 20
to ronnie sahlberg, ub...@googlegroups.com
After commit 4ac21f6 ("targets: run ublk.target in foreground"), the target is
always run in foreground by starting `./ublk.{target}`, and `ublk` just becomes
wrapper for starting `./ublk.{target}` in background.

If you think that isn't enough, we can add one argument to the `ublk`
executable.


Thanks,
Ming Lei
Reply all
Reply to author
Forward
0 new messages