Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Need help with finding info on pcode-interpreters-virtual machines Post 302538381 by drl on Tuesday 12th of July 2011 09:09:01 PM
Old 07-12-2011
Hi.

A recent article from the IEEE discusses the background:
Java's Forgotten Forbear - IEEE Spectrum

A search in wikipedia for pcode yields about 1000 hits, the first 10 of which seem on-target, for example:
Code:
P-code machine
In computer programming , a p-code machine, or portable code machine is a virtual machine designed to execute p-code (the ...
11 KB (1,614 words) - 20:07, 12 May 2011

Best wishes ... cheers, drl
This User Gave Thanks to drl For This Post:
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Finding system info

Can someone tell me the command to display the info about the CPU? I need the CPI id.. of my SUN box. Solaris 8. It's some totally un-intuitive command, and i can't recall it. tnx. (3 Replies)
Discussion started by: ireeneek
3 Replies

2. Windows & DOS: Issues & Discussions

Backing up virtual machines - opinions/suggestions needed.

Hi, I was required to do a backup of a virtual machine that runs on vmware. The guest operating system is windows, and the host is windows too. I have to backup the whole directory of the virtual machine (say in linux it'll be in /var/lib/vmware/virtual machines/) to a linux server. Initially... (0 Replies)
Discussion started by: 60doses
0 Replies

3. Linux

Routing via several interfaces for hosted virtual machines

My setup consists of a hardware node, which hosts several virtual machines (OpenVZ, to be precise). The hardware node has two network interfaces (<ifA>, <ifB>) connected to different subnets (<networkA>, <networkB>). I want to route the traffic of certain VEs over <ifB> while routing the other VEs... (0 Replies)
Discussion started by: bakunin
0 Replies

4. Virtualization and Cloud Computing

Virtual machines in vmware requires reset of the vlan

I have virtual machines in the vmware environment that run either windows or linux that loose conncetivity and every time i have to change their vlan to vm network and latter join them to original vlan to gain connectivity. Advice (0 Replies)
Discussion started by: amwai
0 Replies

5. Ubuntu

Ping between two virtual machines

Hello, I installed two virtual machines ubuntu10 on VM VirtualBox . Please, what are the steps to make a ping from one of these two machines on the other (the configurations )? Thank you. (4 Replies)
Discussion started by: chercheur111
4 Replies

6. UNIX and Linux Applications

Help with Install KVM and Create Virtual Machines VMWare In PC

Help with Install KVM and Create Virtual Machines VMWare In PC. I want to lean KVM bios Logical Volume Management by KVM and other problem fix remotely.So,I want to practice on my PC.It,s Possible then how? Thank you (0 Replies)
Discussion started by: domaingood
0 Replies

7. UNIX for Beginners Questions & Answers

Providing virtual machine priority in kvm based virtual machines

Hi All, Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines? Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies
vfs(n)																	    vfs(n)

__________________________________________________________________________________________________________________________________________________

NAME
vfs - Filesystem management in Tcl SYNOPSIS
package require Tcl 8.4 package require vfs ?1.2.1? vfs::filesystem mount ?-volume? path command vfs::filesystem unmount path vfs::filesystem info ?path? vfs::filesystem fullynormalize path vfs::filesystem posixerror int vfs::filesystem internalerror command _________________________________________________________________ DESCRIPTION
The package vfs provides commands to query, mount and unmount virtual filesystems implemented in Tcl. This is further facilitated through the provison of helper commands in a tcl script library. See section "HANDLER ENVIRONMENT" of vfs-fsapi for more information. Once a virtual filesystem is in place, the standard Tcl commands, like file, glob, cd, pwd, open, including all their C APIs in the Tcl library (e.g. Tcl_FSOpenFileChannel, Tcl_FSMatchInDirectory, extensions such as Tk which may open or read files will also transparently access the virtual filesystem). Because all of Tcl's filesystem activity passes through a single layer, every operation can be intercepted. This package does just that. This is also quite different from simply overloading the file command in Tcl. We are actually providing replacements for C commands like access, stat, etc. By implementing a small number of low-level commands we ensure that all commands at higher levels will function irre- spective of what is going on inside the filesystem layer. Tcl's filesystem hooks operate on a per-process basis. This means every Tcl interpreter in the same process/application will see the same filesystem, including any virtual filesystems. To access this package use the command package require vfs. This automatically registers the vfs hooks into Tcl's filesystem and provides the command vfs::filesystem. The latter allows the registration of actual virtual filesystems. More in the upcoming section API. The hooks will not be removed until Tcl exits. If desired, control over this could be exposed to Tcl in the future. By and in itself the command above will have no further effect. Only after filesystem implementations have been registered and filesystems using them been mounted filesystem commands will actually be intercepted, and handled by the Tcl code of the mounted virtual filesystem. API
vfs::filesystem mount ?-volume? path command Mounts a virtual filesystem at path, making it useable. After completion of the call any access to a subdirectory of path will be handled by that filesystem. The filesystem is represented here by the command prefix which will be executed whenever an operation on a file or directory within path has to be performed. Whether the command is implemented in C or Tcl is of no relevance as long as it adheres to the API specified in vfs-fsapi and is present in the interpreter where the mount operation is executed. If the option -volume is specified the new mount point is also registered with Tcl as a new volume and will therefore from then on appear in the output of the command file volumes. This is useful (and required for reasonable operation) for mounts like ftp://. It should not be used for paths mounted inside the native filesystem. The new filesystem mounts will be observed immediately in all interpreters in the current process. If the interpreter is later deleted, all mounts which are intercepted by it will be automatically removed (and will therefore affect the view of the filesystem seen by all interpreters). vfs::filesystem unmount path This unmounts the virtual filesystem which was mounted at path. An error is thrown if no filesystem was mounted there. After the completion of the operation the filesystem is not visible anymore, and any previous filesystem accessible through this path becomes accessible again. vfs::filesystem info ?path? A list of all filesystems mounted in all interpreters is returned, if no path argument was specified. Else the filesystem responsi- ble for that path is examined and the command prefix used to handle all filesystem operations returned. An error is thrown if no filesystem is mounted for that path. There is currently no facility for examining in which interpreter each command will be evaluated. vfs::filesystem fullynormalize path Performs a full expansion of path, (as per file normalize). This includes the following of any links in the last element of path. vfs::filesystem posixerror int This command can be called by filesystem implementations during the execution of a filesystem operation to signal the posix error code of a failure. See also vfs-fsapi. vfs::filesystem internalerror command When used the specified command is registerd as the command to trap and report any internal errors thrown by filesystem implementa- tions. LIMITATIONS
The code of the package vfs has only a few limitations. [1] One subtlety one has to be aware of is that mixing case-(in)sensitive filesystems and application code may yield unexpected results. For example mounting a case-sensitive virtual filesystem into a case-insensitive system (like the standard Windows or MacOS filesys- tems) and then using this with code relying on case-insensitivity problems will appear when accessing the virtual filesystem. Note that application code relying on case-insensitivity will not under Unix either, i.e. is inherently non-portable, and should be fixed. [2] The C-API's for link and lstat are currently not exposed to the Tcl level. This may be done in the future to allow virtual filesys- tems implemented in Tcl to support the reading and writing of links. [3] The public C-API filesystem function Tcl_FSMatchInDirectory is given a variety of type information in a Tcl_GlobTypeData structure. Currently only the type field of said strcuture is exposed to the tcl-level. Fields like permissions and MacOS type/creator are ignored. SEE ALSO
vfs-filesystems, vfs-fsapi KEYWORDS
file, filesystem, vfs COPYRIGHT
Copyright (c) 2001-2003 Vince Darley <vincentdarley@users.sourceforge.net> Copyright (c) 2003 Andreas Kupries <andreas_kupries@users.sourceforge.net> Tcl-level Virtual Filesystems 1.0 vfs(n)
All times are GMT -4. The time now is 05:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy