The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
RipCode builds video transcoding device on Linux base iBot UNIX and Linux RSS News 0 08-06-2008 01:20 PM
Computer makers push device builders for Linux-compatible hardware iBot UNIX and Linux RSS News 0 05-02-2008 11:20 AM
Need Book for Linux Basics and Linux device driver. sundar.lsr UNIX for Dummies Questions & Answers 0 02-22-2008 11:30 PM
LOM device bubba112557 SUN Solaris 2 09-12-2005 11:39 PM
Linux Device Drivers Perderabo High Level Programming 0 07-22-2004 08:01 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-18-2008
Registered User
 

Join Date: Sep 2008
Posts: 1
raw device in Linux

Hello group,

Is it possible to use partition on a disk as a raw device? I have a LUN on a SAN which I would like to partition and use those partitions as raw device.

If it is feasable, how do I bind them to a device?

For example, say sdd has 3 partitions on it, sdd1, sdd2 and sdd3. Can I bind them in the following manner:

raw /dev/raw/raw1 /dev/sdd1
raw /dev/raw/raw2 /dev/sdd2
raw /dev/raw/raw3 /dev/sdd3


Thanks in advance,
Bernard
Reply With Quote
Forum Sponsor
  #2  
Old 09-18-2008
otheus's Avatar
Moderator ala Mode
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 605
Use them directly as /dev/sdd1. These ARE the raw devices (Linux doesn't make a distinction between "raw" block device and anything else.) If you want to access the entire device, sans partitions, just access /dev/sdd. If you want to RENAME the devices, that's okay too, but better yet, use "mknod" to reproduce links to those devices, (or just create softlinks to the /dev/ entries).
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:44 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0