I have 2 UNIX boxes and I need to determine whether or not they possess the same tape drive. What is the hardware command to determine what type of tape drive is present? Thx in advance. (4 Replies)
I've tape which I've to use to restore data. The problem is that I don't know what type of backup I have on this type. Can someone help me and tell me how can I determine what type of backup is on the tape?
Thanks for your help. (2 Replies)
Hi,
Anyone can tell me how to get the number of NFS threads RUNNING on the system for Solaris 10? Someone told me for Solaris 9, the method is "echo "*svc$<svcpool" | adb -k. But, I've tried to google the method for Solaris 10 and did not find the corresponding method, please help... (1 Reply)
I have a directory structure with multiple sub directories. Within each directory, there are files without extensions. Is it possible to somehow tell what the file type should be by the file contents?
For example, I opened one of the files using an editor. After scrolling to the end of the... (2 Replies)
I lost my notes on the subject, but I remember running across a single Solaris command that tells you the following
Global zone vs local zone
Sparse local zone vs Whole Root local zone
Can anyone advise? Thanks-In-Advance!! (2 Replies)
I am limited to using only libraries that come with the default install of ActivePerl. I'd like to be able to determine the content type of a file on the fly. I thought CGI.pm might do it, but it looks a little weird to me from the perldoc. If someone has a quick way to determine the type of... (4 Replies)
Folks,
Again a very silly question :D Could someone tell me, how to determine the power family(540, 520, 575, 595 etc) just by looking into the model # info from prtconf/lsconf o/p of the lpar?
I dont want run a search on any search engine to find out the power family or hit IBM website to... (3 Replies)
Discussion started by: thisissouvik
3 Replies
LEARN ABOUT X11R4
fstyp
fstyp(1M) System Administration Commands fstyp(1M)NAME
fstyp - determine file system type
SYNOPSIS
fstyp [-v] special
DESCRIPTION
fstyp allows the user to determine the file system type of unmounted file systems using heuristic programs.
An fstyp module for each file system type to be checked is executed; each of these modules applies an appropriate heuristic to determine
whether the supplied special file is of the type for which it checks. If it is, the program prints on standard output the usual file sys-
tem identifier for that type (for example, ``ufs'') and exits with a return code of 0; if none of the modules succeed, the error message
unknown_fstyp (no matches) is returned and the exit status is 1. If more than one module succeeds, the error message unknown_fstyp (multi-
ple matches) is returned and the exit status is 2.
OPTIONS -v Produce verbose output. This is usually information about the file systems superblock and varies across different FSTypes. See
ufs(7FS), mkfs_ufs(1M), and tunefs(1M) for details.
USAGE
See largefile(5) for the description of the behavior of fstyp when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO mkfs_ufs(1M), tunefs(1M), attributes(5), largefile(5), hsfs(7FS), ufs(7FS), pcfs(7FS)NOTES
The use of heuristics implies that the result of fstyp is not guaranteed to be accurate.
SunOS 5.10 15 Apr 2003 fstyp(1M)