Sponsored Content
Top Forums UNIX for Advanced & Expert Users translating device to filesystem in solaris10 Post 302276308 by p4cldba on Tuesday 13th of January 2009 12:32:33 PM
Old 01-13-2009
somehow i do not see the reference for ssd430 in /etc/vfstab.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

device to filesystem?

On a HP-UX box, I can execute the sar command which will give me the device, %busy, etc. I would like to know how to take a given device name and determine on which filesystem it's located when I do a bdf. I've done some searching through the posts but so far have not had any luck in... (2 Replies)
Discussion started by: jimedwards
2 Replies

2. Shell Programming and Scripting

Translating/Replacing characters in a file

Hi, i have a given file named hugo.dat. In this file there are several lines that contain characters like } and ~ Now, i need a script that replaces the character } to ü and character ~ to ß Can anyone help for a working ksh script? Kind Regards FranzB (3 Replies)
Discussion started by: FranzB
3 Replies

3. UNIX for Dummies Questions & Answers

Translating the same file

I want to strip off '\032' character from a file using: tr -d '\032' < oldfile > newfile this outputs the contents of oldfile to newfile, but I wanna do that in the same file i.e. remove the \032 character from the old file. I tried: tr -d '\032' < oldfile > oldfile But the... (3 Replies)
Discussion started by: gagan8877
3 Replies

4. UNIX for Dummies Questions & Answers

translating physical/virtual addresses

Hi all, I am new to Linux kernel/user space programming having been an assembly programmer in my previous life. I am now using 2.6.x kernel on an embedded CPU that has a few dedicated hardware blocks (including more CPU running just C-code, i.e., no operating system). There is a single DRAM... (1 Reply)
Discussion started by: agaurav
1 Replies

5. Shell Programming and Scripting

Please help translating this to shell

Hello Im new here, I just got my first VPS and I really need help converting this .bat to shell script so i can run my program. @echo off @title DiamondMS v117 set CLASSPATH=.;dist\* java -client -Dnet.sf.odinms.wzpath=wz server.Start pause I have no idea what im doing to convert this... (12 Replies)
Discussion started by: valleric
12 Replies

6. Debian

Device error 71, won't mount root filesystem

I have a Debian OpenBox that boots from any usb port. The Debian LXDE will only boot from one specific port. It needs to look at all of them to find and be root, and mount the root filesystem by UUID. Both are full installs to 16GB flash drives. That is not being done. It says during boot... (0 Replies)
Discussion started by: patrick013
0 Replies

7. Shell Programming and Scripting

Translating script to perl

awk/shell: UWARNING=90 UCRITICAL=97 PXNAME=$(echo $line | awk -F, '{print $1}') SVNAME=$(echo $line | awk -F, '{print $2}') FRUPERCENT=$(echo $line | awk -F, '{print ($5 / $7) * 100}') ... (6 Replies)
Discussion started by: SkySmart
6 Replies

8. Solaris

Solaris 10 swap device and filesystem

Hi all, Q1) Due to application requirement, i am required to have more swap space. Currently my swap is on a partition with 32GB. I have another partition with 100GB, but it already has a UFS filesystem on it. Can i just swap -d /dev/dsk/current32gb and swap -a /dev/dsk/ufs100gb ? Will... (17 Replies)
Discussion started by: javanoob
17 Replies

9. Shell Programming and Scripting

Portable way of translating epoch time

echo $(date +%s) | awk '{ print strftime("%c", $2"-"$3"-"$NF"/"$4); }' The above command only seems to work on newer versions of awk or systems with gawk installed. how can i translate the epoch time into a human readable format using a portable method? also, date -d@$epochtime does not... (3 Replies)
Discussion started by: SkySmart
3 Replies
devinfo(1M)                                               System Administration Commands                                               devinfo(1M)

NAME
devinfo - print device specific information SYNOPSIS
/usr/sbin/devinfo -i device /usr/sbin/devinfo -p device DESCRIPTION
The devinfo command is used to print device specific information about disk devices on standard out. The command can only be used by the superuser. OPTIONS
-i Prints the following device information: o Device name o Software version (not supported and prints as 0) o Drive id number (not supported and prints as 0) o Device blocks per cylinder o Device bytes per block o Number of device partitions with a block size greater than zero -p Prints the following device partition information: o Device name o Device major and minor numbers (in hexadecimal) o Partition start block o Number of blocks allocated to the partition o Partition flag o Partition tag This command is used by various other commands to obtain device specific information for the making of file systems and determining parti- tion information. If the device cannot be opened, an error message is reported. OPERANDS
device Device name. EXIT STATUS
0 Successful operation. 2 Operation failed. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
prtvtoc(1M), attributes(5) SunOS 5.10 8 May 1997 devinfo(1M)
All times are GMT -4. The time now is 05:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy