The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unable to check / filesystem ahsen SUN Solaris 6 08-01-2008 05:18 AM
Script to Check for Unix/Linux Passwords lucknowm Shell Programming and Scripting 1 05-29-2008 09:08 PM
Urgent:FileSystem Check Script Openware Shell Programming and Scripting 1 04-25-2008 12:32 PM
Creating a shell script to check filesystem space heprox AIX 10 06-18-2006 10:07 PM
Linux filesystem gkrishn Linux 1 02-18-2006 05:37 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-24-2009
tonijel tonijel is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 26
How can I check if I have raw filesystem on unix/linux

Hello again.
Please can someone tell me how can i check if my filesystem is raw on unix/linux ?
Is there some file to check or something like that to be sure ?

also ,
when i do :


$ ls -l /dev/rdisk

i get among other things , this also(there resides are oracle related files) :

Code:
crw-r-----   1 oracle     dba         23 0x0000ae Mar 24 15:35 disk161
crw-r-----   1 oracle     dba         23 0x0000af Mar 24 15:35 disk162
crw-r-----   1 oracle     dba         23 0x0000b0 Mar 24 15:35 disk163
crw-r-----   1 oracle     dba         23 0x0000b1 Mar 24 15:35 disk164
crw-r-----   1 oracle     dba         23 0x0000b2 Mar 24 15:35 disk165
crw-r-----   1 oracle     dba         23 0x0000b3 Mar 24 15:35 disk166
crw-r-----   1 oracle     dba         23 0x0000b4 Mar 24 15:35 disk167
crw-r-----   1 oracle     dba         23 0x0000b5 Mar 24 15:35 disk168
can just by this output of this ls -l be known that those are raw filesystems ?
  #2 (permalink)  
Old 03-24-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,717
try
Code:
# list raw devices
ls -lR /dev/raw*
# and show bound raw devices
raw -qa
I thought Linux raw devices were deprecated - being phased out....
  #3 (permalink)  
Old 03-25-2009
tonijel tonijel is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 26
Quote:
Originally Posted by jim mcnamara View Post
try
Code:
# list raw devices
ls -lR /dev/raw*
# and show bound raw devices
raw -qa
I thought Linux raw devices were deprecated - being phased out....
thx for reply ...

i got this :

Code:
$ ls -lR /dev/raw*
crw-rw-rw-   1 root       root        72 0x00004d Mar 19 16:17 /dev/rawip
crw-rw-rw-   1 root       root        72 0x00004e Mar 19 16:17 /dev/rawip6
$ raw -qa
ksh: raw:  not found
$ bash
bash-3.2$ raw -qa
bash: raw: command not found
bash-3.2$
can i say then those listed above by ls -l /dev/rdisk (..disk167..) are not raw devices ?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:04 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0