I'm just getting started with unix and would like to know 1) how to tell how big the harddrive is 2) how to tell if there are multiple harddrive installed on the machine 3) a relitavely easy way to tell what programs are installed on the machine.
I'm using Sun OS 5.6
Thanks (3 Replies)
Hello
I used to Red Hat and the common Linux commands, but now I have to deal with a SCO-Unix (Unix Ware 7).
I have to find information about the hardware.
What networkcard is installed?
What graphiccard is installed?
Which SCSI-Adapter and what kind of harddisks?
What software is... (3 Replies)
I am trying to install a new AIX server and I am migrating off of an older AIX server. Does anyone have a quick and easy method for getting the static route information from the old server so I can just maybe copy a file over to the new server ? (1 Reply)
Hi experts,
I have the file with these lines:
var1=thu_13:12:32,var2=Microsoft,var3=240ms,var4=Mozilla/4.0_(sun;_MSIR_3-4;_windows.;_NET_1.1323.53
var1=thu_13:13:32,var2=Microsoft,var3=213ms,var4=Mozilla/4.0_(sun;_MSIR_3-4;_windows.;_NET_1.1323.53... (9 Replies)
Can someone point me in the right direction as to where I can find information on how to cleanly disconnect my AIX 5.3 host from our DS/4200 SAN. I have to do a firmware upgrade on the SAN.
-Thanks (2 Replies)
Hi, all
I want to make a bash script that print all users from a system using last command.
I want to print the number of user's login in the format (descending order):
5 user1 address1
4 user2 address2
I am trying the command
last | awk '{print $1 " " $3}' | sort | uniq
... (9 Replies)
Hi all,
I was wondering how to find interesting information inside the assembly code. As example, I've been trying something at smashthestack wargame. After viewing the assembly code via disassemble main command, I'm not sure what else to do. Hopefully someone can guide me here.
This is... (2 Replies)
Hi,
I would like to do some research on the Linux kernel. Where can I find information about the current kernel development, who is working on the kernel. I looked up the change log on the kernels main page, but that doesn't help either. My goal is to find out where the focus of the current... (3 Replies)
How do you find the maximum file size with the following information -:
A unix filesystem has 1024 bytes block size with 32-bit address. The i-node has 12 direct and 1 indirect, 1 double indirect, and 1 triple indirect addresses. What is the maximum file size it can access ?
What is the... (1 Reply)
Hello guys.
I wanted to find the System Configuration and Hardware Information on one of my servers. Here is part of the cpu info:
CPU core info:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU... (2 Replies)
Discussion started by: Ymir
2 Replies
LEARN ABOUT NETBSD
rump_etfs
RUMP_ETFS(3) BSD Library Functions Manual RUMP_ETFS(3)NAME
rump_etfs -- rump host file system interface
LIBRARY
rump kernel (librump, -lrump)
SYNOPSIS
#include <rump/rump.h>
int
rump_pub_etfs_register(const char *key, const char *hostpath, enum rump_etfs_type ftype);
int
rump_pub_etfs_register_withsize(const char *key, const char *hostpath, enum rump_etfs_type ftype, uint64_t begin, uint64_t size);
int
rump_pub_etfs_remove(const char *key);
DESCRIPTION
The rump ExtraTerrestrial File System (rump_etfs) is used to provide access to the host file system namespace within a rump kernel.
The operation is based on registered key values which each map to a hostpath. A key must be an absolute path (i.e. begin with ``/''). Mul-
tiple leading slashes are collapsed to one (i.e. ``/key'' is the same as ``//key''). The rest of the path, including slashes, is compared
verbatim (i.e. ``/key/path'' does not match ``/key//path'').
The hostpath is interpreted in host system context for the current working directory and can be either absolute or relative.
The ftype parameter specifies how etfs file will be presented and does not have to match the host type, although some limitations apply.
Possible values are:
RUMP_ETFS_REG regular file.
RUMP_ETFS_BLK block device. This is often used when mapping file system images.
RUMP_ETFS_CHR character device.
RUMP_ETFS_DIR directory. This option is valid only when hostpath is a directory. The immediate children of the host directory
will be accessible inside a rump kernel.
RUMP_ETFS_DIR_SUBDIRS directory. This option is valid only when hostpath is a directory. This option recursively applies to all subdi-
rectories, and allows a rump kernel to access an entire directory tree.
The interfaces are:
rump_pub_etfs_register(key, hostpath, ftype)
Map key to a file of type ftype with the contents of hostpath.
rump_pub_etfs_register_withsize(key, hostpath, ftype, begin, size)
Like the above, but map only [begin, begin+size] from hostpath. This is useful when mapping disk images where only one partition is
relevant to the application. If size is given the special value RUMP_ETFS_SIZE_ENDOFF, the underlying file is mapped from begin to the
end of the file.
rump_pub_etfs_remove(key)
Remove etfs mapping for key. This routine may be called only if the file related to the mapping is not in use.
EXAMPLES
Map a host image file to a mountable /dev/harddisk path using window offsets from the disklabel.
rump_pub_etfs_register_withsize("/dev/harddisk", "disk.img",
RUMP_ETFS_BLK,
pp->p_offset << DEV_BSHIFT, pp->p_size << DEV_BSHIFT);
Make the host kernel module directory hierarchy available within the rump kernel.
rump_pub_etfs_register("/stand/i386/5.99.41",
"/stand/i386/5.99.41", RUMP_ETFS_DIR_SUBDIRS);
SEE ALSO rump(3)HISTORY
rump_etfs first appeared in NetBSD 6.0.
BSD February 3, 2011 BSD