10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
In the awk I am trying to subtract the difference $3-$2 of each matching $4 before the first _ (underscore) and print that value in $13.
I think the awk will do that, but added comments. What I am not sure off is how to add a line or lines that will add sum each matching $13 value and put it in... (2 Replies)
Discussion started by: cmccabe
2 Replies
2. Programming
I think both write at the end of the file ......
but is there a sharp difference between those 2 instruction .....
thank you
this is my 3rd question today forgive me :D (1 Reply)
Discussion started by: fwrlfo
1 Replies
3. Solaris
is there any other/better way to defragment the ufs slice instead of backup+restore?
how to tell which slice needs defragmenting? (2 Replies)
Discussion started by: orange47
2 Replies
4. Solaris
Hi All,
I am installing Solaris Kernel Update Patch 2.1
When I am installing , An error message is saying that
Non Global Zones is not mounted in ufs.
I have two non global zones.
When i see in the vfstab , the filesystem in vxfs.
I dont know whether it will give any impact... (2 Replies)
Discussion started by: jegaraman
2 Replies
5. Solaris
Hi All,
I need to expand a number of Filesystems on a Sun machine running Solaris 10 OS. But first I am confused;
1. Is it possible to expand a ufs filesystem such as /dev/dsk/c1t1d0s0 (that is not managed by SVM) without lossing existing data?
2. Is it possible to have such a... (7 Replies)
Discussion started by: atogunde
7 Replies
6. AIX
Hi i have 2 know the full details of unix file systems. some one please help me (1 Reply)
Discussion started by: sathish2win
1 Replies
7. Solaris
I have a couple of servers where something weird is going on. When I run the command "mount | grep logging" I get something similair to this
/ on /dev/dsk/c0t0d0s0
read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=220000
But when I look at /etc/vfstab I dont... (6 Replies)
Discussion started by: csaunders
6 Replies
8. Solaris
Hi,
Can anyone help me.
I would like to know the ufs version on solaris 7 & 8. Also i would like to know is there any command to verify it.
Regards,
Raja (1 Reply)
Discussion started by: RajaRC
1 Replies
9. Filesystems, Disks and Memory
Hi,
Can anyone tell me the benifits of having UFS filesystem
Regards,
Raja (5 Replies)
Discussion started by: RajaRC
5 Replies
10. UNIX for Dummies Questions & Answers
Hi all, I have FreeBSD and Debian in my HD, the FreeBSD partition is very small and I'd like to change. I try to use partition magic but it does not work with UFS parition. Anyone know a good partition software? (1 Reply)
Discussion started by: SeVEn
1 Replies
FSTYP(8) BSD System Manager's Manual FSTYP(8)
NAME
fstyp -- determine filesystem type
SYNOPSIS
fstyp [-l] [-s] special
DESCRIPTION
The fstyp utility is used to determine the filesystem type on a given device. It can recognize ISO-9660, Ext2, FAT, NTFS, and UFS filesys-
tems. The filesystem name is printed to the standard output as, respectively, cd9660, ext2fs, msdosfs, ntfs, or ufs.
Because fstyp is built specifically to detect filesystem types, it differs from file(1) in several ways. The output is machine-parsable,
filesystem labels are supported, the utility runs sandboxed using capsicum(4), and does not try to recognize any file format other than
filesystems.
These options are available:
-l In addition to filesystem type, print filesystem label if available.
-s Ignore file type. By default, fstyp only works on regular files and disk-like device nodes. Trying to read other file types might have
unexpected consequences or hang indefinitely.
EXIT STATUS
The fstyp utility exits 0 on success, and >0 if an error occurs or the filesystem type is not recognized.
SEE ALSO
file(1), capsicum(4), glabel(8), mount(8)
HISTORY
The fstyp command appeared in FreeBSD 11.0.
AUTHORS
The fstyp utility was developed by Edward Tomasz Napierala <trasz@FreeBSD.org> under sponsorship from the FreeBSD Foundation.
BSD
January 14, 2015 BSD