Is it possible to change the device name?

  • Follow


Hi,

I have a very basic question...

I have the following existing devices:
c0t0d0
c0t1d0
fd0
c0t2d0

Is it possible in some way to change the name from c0t0d0 to say xyz?

Would this device be recognized?

Would I be able to partition it?

Thanks and Regards,
Mala
0
Reply nmala 6/17/2004 4:31:18 PM

On 17 Jun 2004 09:31:18 -0700, nmala@mail.com (Mala) wrote:

>Hi,
>
>I have a very basic question...
>
>I have the following existing devices:
>c0t0d0
>c0t1d0
>fd0
>c0t2d0
>
>Is it possible in some way to change the name from c0t0d0 to say xyz?
>
>Would this device be recognized?
>
>Would I be able to partition it?

Why would you want to? 
  
0
Reply Gary 6/17/2004 5:16:29 PM


On Thu, 17 Jun 2004, Mala wrote:

> c0t1d0
> fd0
> c0t2d0
>
> Is it possible in some way to change the name from c0t0d0 to say xyz?

In priciple you could, becuase the entries in /dev are just
symbolic links to /devices.  But why on earth would you want to?

I can't think of a single good reason ("security by obscurity"
is NOT a good reason).

WHy make life difficult for yourself - and doubtless, your replacement
if you actually tried such a stunt on a production machine?

-- 
Rich Teer, SCNA, SCSA

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-online.net
0
Reply Rich 6/17/2004 5:45:59 PM

In article <f622d373.0406170831.169d35c7@posting.google.com>,
 nmala@mail.com (Mala) wrote:

> Hi,
> 
> I have a very basic question...
> 
> I have the following existing devices:
> c0t0d0
> c0t1d0
> fd0
> c0t2d0
> 
> Is it possible in some way to change the name from c0t0d0 to say xyz?
> 
> Would this device be recognized?

Devices are recognized by their major and minor device numbers, the 
names are just mnemonics for users.

However, there may be some utilities that look for the standard device 
names.

You could keep the standard names, and create symlinks with the names 
you like:

ln -s /dev/dsk/c0t0d0 /dev/xyz

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
0
Reply Barry 6/17/2004 5:52:59 PM

3 Replies
397 Views

(page loaded in 0.679 seconds)

Similiar Articles:













7/26/2012 12:58:13 AM


Reply: