Unix Technical Forum

where is MAKEDEV in slackware 12

This is a discussion on where is MAKEDEV in slackware 12 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> hello I need to create some sd* devices for usb disks but somehow MAKEDEV is nowhere to be found ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-28-2008, 09:21 AM
=SERGE=
 
Posts: n/a
Default where is MAKEDEV in slackware 12

hello

I need to create some sd* devices for usb disks but somehow MAKEDEV is
nowhere to be found


root@slack_server:/dev# locate MAKEDEV
/usr/src/linux-2.6.21.5/Documentation/video4linux/bttv/MAKEDEV
/usr/man/man8/MAKEDEV.8.gz
root@slack_server:/dev#

I went through /dev dir also. There is no script.

Is it ok or I do sth wrong?

Thank you


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-28-2008, 09:21 AM
Helmut Hullen
 
Posts: n/a
Default Re: where is MAKEDEV in slackware 12

Hallo, =SERGE=,

Du meintest am 28.06.08:

> I need to create some sd* devices for usb disks but somehow MAKEDEV
> is nowhere to be found


You find it in the "a/devs" package.

But "udev" deletes the program - I've moved it to "/usr/sbin" on my
system.

Viele Gruesse
Helmut

"Ubuntu" - an African word, meaning "Slackware is too hard for me".

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-29-2008, 08:47 AM
~kurt
 
Posts: n/a
Default Re: where is MAKEDEV in slackware 12

Helmut Hullen <helmut@hullen.de> wrote:
>
> But "udev" deletes the program - I've moved it to "/usr/sbin" on my
> system.
>


Is it even necessary with udev?

- Kurt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-29-2008, 08:47 AM
Helmut Hullen
 
Posts: n/a
Default Re: where is MAKEDEV in slackware 12

Hallo, ~kurt,

Du meintest am 28.06.08:

>> But "udev" deletes the program - I've moved it to "/usr/sbin" on my
>> system.


> Is it even necessary with udev?


It is. Some devices have to be present before "udev" runs, and "udev"
doesn't make all necessary devices (p.e. ISDN devices).

Viele Gruesse
Helmut

"Ubuntu" - an African word, meaning "Slackware is too hard for me".

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-29-2008, 08:47 AM
Robby Workman
 
Posts: n/a
Default Re: where is MAKEDEV in slackware 12

On 2008-06-28, Helmut Hullen <helmut@hullen.de> wrote:
> Hallo, ~kurt,
>
> Du meintest am 28.06.08:
>
>>> But "udev" deletes the program - I've moved it to "/usr/sbin" on my
>>> system.

>
>> Is it even necessary with udev?

>
> It is. Some devices have to be present before "udev" runs, and "udev"
> doesn't make all necessary devices (p.e. ISDN devices).



Then copy them to /lib/udev/devices/ and you won't have to make them
manually any more.

-RW
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-29-2008, 08:47 AM
=SERGE=
 
Posts: n/a
Default Re: where is MAKEDEV in slackware 12

Well Old habits die hard you know...
"~kurt" <actinouranium@earthlink.net> wrote in message
news:ftydnSWMMJ0f9vvVnZ2dnUVZ_trinZ2d@earthlink.co m...
> Helmut Hullen <helmut@hullen.de> wrote:
>>
>> But "udev" deletes the program - I've moved it to "/usr/sbin" on my
>> system.
>>

>
> Is it even necessary with udev?
>
> - Kurt
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-01-2008, 07:08 AM
Ron Gibson
 
Posts: n/a
Default Re: where is MAKEDEV in slackware 12

On Sat, 28 Jun 2008 11:49:06 -0500, ~kurt wrote:

>> But "udev" deletes the program - I've moved it to "/usr/sbin" on my
>> system.


> Is it even necessary with udev?


No assuming udev works properly. Sometime back Gentoo was using a
hybrid setup where udev would do it's thing but the system would also
pack and archive the /dev directory just in case.

Also sometimes I've ran into problems trying to chroot to a mounted
distro from another distro. It would fail because the proper device
wasn't there. A lot of distros only make 16 IDE nodes by default. Since
when you chroot you don't actually run the init scripts for udev on the
mounted partition you may end up without a node if you have a partition
greater than 16, e.g., /dev/hde18

If you have a archive for /dev/you can simply copy the node you need
over to the device tree and then you can chroot to the target distro.

BTW, just upgraded from 11 to 12.1 and am loving it. Fastest upgrade I
ever have done (I got a lot of stuff). And for once TT fonts didn't
take a ton of hacking to get them to look right. In fact this is the
best my browser fonts have ever looked and it's more or less straight
out of the box.

--
Email - rsgibson@verizon.borg
Replace borg with net
"Ubuntu" - an African word, meaning "Slackware is too hard for me".

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-01-2008, 12:02 PM
Eef Hartman
 
Posts: n/a
Default Re: where is MAKEDEV in slackware 12

Helmut Hullen <helmut@hullen.de> wrote:
> But "udev" deletes the program - I've moved it to "/usr/sbin" on my
> system.


It doesn't "delete" it, but the "udev" filesystem is mounted OVER the
original contents of /dev, so the installed files (and devices) are
only visible as long as udev is NOT running.

When you stop udev you will see the original contents of /dev again.
--
************************************************** ******************
** Eef Hartman, Delft University of Technology, dept. EWI/TW **
** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
************************************************** ******************
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-01-2008, 06:02 PM
+Alan Hicks+
 
Posts: n/a
Default Re: where is MAKEDEV in slackware 12

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2008-07-01, Ron Gibson <rsgibson@verizon.net> wrote:
> If you have a archive for /dev/you can simply copy the node you need
> over to the device tree and then you can chroot to the target distro.


Or you could just bind mount it.

mount /dev /new/dev -o bind

- --
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhqRN8ACgkQrZS6hX/gvjpelwCglid+mJy0VW0xxuq4ASlAwKRM
UvgAn159Sw9BVLSd2cmNOptrl5CZoviY
=h2Nv
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:45 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com