FAM-2 ( was Re: [indiana-discuss] Indiana Problem Statement )
Tim Foster
Tim.Foster at Sun.COM
Mon Jul 2 07:20:57 PDT 2007
http://www.opensolaris.org/os/project/indiana/documents/problem_statement/
[ just to recap, FAM-2 says:
FAM-2: Provide an environment such that migrating (particularly
GNU/Linux) users will be familiar with the utilities
available, while preserving the binary compatibility
story that people want and expect. ]
On Fri, 2007-06-29 at 11:26 +0100, Alberto Ruiz wrote:
> People would expect things like tab completion in the shell (and some
> shortcuts like Ctrl+R), top, ps aux, vim, tar zxvf to work, they don't
> care if they are GNU or not. I think that we should, at least, provide
> information to the user, when usual Linux commands are typed, on how
> to get the same information. For example, typing top, we could point
> them to the equivalent tool in OpenSolaris, kind of the Google's "Did
> you mean" or the new stuff in the ubuntu shell.
Is this the sort of thing you mean:
----
timf at haiiro[880] PATH=/home/timf/command-wrapper:${PATH}
timf at haiiro[881] export PATH
timf at haiiro[882] ls -la
total 30
drwxr-xr-x 2 timf elc 512 Jul 2 15:04 .
drwxr-xr-x 123 timf elc 8192 Jul 2 15:03 ..
-rwxr-xr-x 1 timf elc 2465 Jul 2 15:03 command-wrapper.ksh
lrwxrwxrwx 1 timf elc 19 Jul 2 14:54 ps -> command-wrapper.ksh
lrwxrwxrwx 1 timf elc 19 Jul 2 14:54 tar -> command-wrapper.ksh
lrwxrwxrwx 1 timf elc 19 Jul 2 14:59 top -> command-wrapper.ksh
timf at haiiro[883] ps aux
The command "ps aux" is unavailable or has different
syntax in OpenSolaris.
You might want to use the following instead -
Example: ps -ef
See the ps(1) or pargs(1) man page for more information.
timf at haiiro[884] top
The command "top" has is unavailable or has different
syntax in OpenSolaris.
You might want to use the following instead -
Example: prstat 1
see the prstat(1m) man page for more information.
------
A gross hack, and doesn't work if people run /usr/bin/tar, for example,
but it that enough, or do we require people put /usr/gnu or /usr/sfw/ in
their paths and be done with it ?
I prefer the idea of a GNU zone, _iff_ there could be seamless desktop
integration with the zone, so at desktop session startup time, the user
actually gets presented a VNC session into a zone that's configured
appropriately to provide that GNU-like environment, rather than a
Solaris environment.
I believe that would keep everyone happy - then at installtime, you
should be able to choose whether you want Solaris installed as the main
userland personality, with a GNU zone, or the other way around.
I'm interested in how we could plan to solve this problem.
cheers,
tim
[ I looked at this sort of stuff a year ago, with a slightly different
gross hack,
http://mail.opensolaris.org/pipermail/approach-discuss/2006-July/000186.html - never really took the idea any further ]
--
Tim Foster, Sun Microsystems Inc, Solaris Engineering Ops
http://blogs.sun.com/timf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: command-wrapper.ksh
Type: application/x-shellscript
Size: 2501 bytes
Desc: not available
URL: <http://mail.opensolaris.org/pipermail/indiana-discuss/attachments/20070702/07c9850b/attachment.bin>
More information about the indiana-discuss
mailing list