|
|
Missing /dev 's
|
|
|
|
Mac Elite
Join Date: Aug 2001
Location: Australia
Status:
Offline
|
|
Ok I have noticed this for a while now and I am not sure if it's been asked before but...
Why are there so many /dev/ 's missing in Mac OS X.
Like /dev/hd1/
/dev/mem/
There are tons of them missing.
Why is that?
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Sep 2000
Location: Springfield, MA
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by IUJHJSDHE:
<strong>Ok I have noticed this for a while now and I am not sure if it's been asked before but...
Why are there so many /dev/ 's missing in Mac OS X.
Like /dev/hd1/
/dev/mem/
There are tons of them missing.
Why is that?</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">I don't really know what you mean. Yeah, you shouldn't have a /dev/hd*, because drives show up as /dev/disk* in OS X. And I have /dev/mem on my system. I can't imagine why you wouldn't.
|
We hope your rules and wisdom choke you / Now we are one in everlasting peace
-- Radiohead, Exit Music (for a film)
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Aug 2001
Location: Australia
Status:
Offline
|
|
oops, yeah we have mem, dident notice.
dident know hd1 was disk on X
But there are still quite a few missing
<small>[ 06-27-2002, 09:31 PM: Message edited by: IUJHJSDHE ]</small>
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Sep 2000
Location: Boston, MA
Status:
Offline
|
|
it has what it needs.
what do you think it's missing?
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Sep 2000
Location: Springfield, MA
Status:
Offline
|
|
It definatly has what it needs, now that /dev/random is there. Maybe IUJHJSDHE is comparing it to a Linux system, in which case there are very few dev's.
I would say though that the only item that I would really like to see that OS X doesn't have is a /dev/audio. We are half way there, we have the man page for it <img border="0" title="" alt="[Wink]" src="wink.gif" />
Now if we only had the actual driver. Is that so much to ask?
|
We hope your rules and wisdom choke you / Now we are one in everlasting peace
-- Radiohead, Exit Music (for a film)
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Apr 2001
Location: Asheville, NC
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by IUJHJSDHE:
<strong>Ok I have noticed this for a while now and I am not sure if it's been asked before but...
Why are there so many /dev/ 's missing in Mac OS X.
Like /dev/hd1/
/dev/mem/
There are tons of them missing.
Why is that?</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">First of all, /dev is not set up even remotely like the standard Linux /dev. On Linux, /dev is a physical folder with physical files. This is, of course, unless you went through the trouble of compiling the kernel with devfs support and installed all of the necessary file--all without managing to completely fubar your system. In /dev is a link to absolutely every possible device that someone could possibly install.
Mac OS X uses devfs (i.e. it's not really there on your disk--it's dynamically created by the kernel). OS X is not Linux, so it only has the /dev references it needs (like /dev/null and hard drive references). There are other ways for programmers to access hardware.
and /dev/hd1 is a Linux convention. Run pdisk as root (don't make any changes) and give the command 'L' to see what your drives are really named (and how they are partitioned).
<small>[ 06-28-2002, 11:42 AM: Message edited by: Detrius ]</small>
|
ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|