[X-Unix] /dev basics
John Harrold
jmh17 at pitt.edu
Tue May 10 05:50:47 PDT 2005
Sometime in May Kuestner, Bjoern assaulted the keyboard and produced:
| MAKEDEV seems standard in Linux and is also referenced in OS X's man page
| for mknod (not to imply that I really know what it is). But it's not there.
You use mknod to create the entries in /dev. It's quite handy. For example,
say I'm in linux and I've booted off of a recovery cd and I want to mount
hda1. If the recovery cd didn't create any entries in /dev I can create my
own in say /tmp and work from there:
cd /tmp
mknod hda1 c 3 1
mkdir mydisk
mount /tmp/hda1 /tmp/mydisk
Of course things like knoppix do all the hard work for you now, but back in
the day...
--
----------------------------------------------------------
| /"\
john harrold | \ / ASCII ribbon campaign
jmh at member.fsf.org | X against HTML mail
the most useful idiot | / \
----------------------------------------------------------
What difference does it make to the dead, the orphans,
and the homeless, whether the mad destruction is brought
under the name of totalitarianism or the holy name of
liberty and democracy?
--Gandhi
----------------------------------------------------------
gpg --keyserver pgp.mit.edu --recv-key B23241CB
----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://listserver.themacintoshguy.com/pipermail/x-unix/attachments/20050510/3384dac7/attachment.bin
More information about the X-Unix
mailing list