Unix Technical Forum

/dev/sda1 not being created

This is a discussion on /dev/sda1 not being created within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Am running Slack 10 with 2.6.7 kernel. I've always mounted my compact flash reader on /dev/sda1, but when I ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 02:41 PM
chud
 
Posts: n/a
Default /dev/sda1 not being created

Am running Slack 10 with 2.6.7 kernel.

I've always mounted my compact flash reader on /dev/sda1, but when I tried
that on Slack 10 it said something like: /dev/sda1, no such file. And sure
enough there was no such file. Google provided an answer, but not an
explanation of why sda1 is missing. (The answer being to run mknod in
rc.local or someplace like that.)

What's interesting is if I have a compact flash card in the reader, and
then re-boot, something creates /dev/sda1 for me, but I can't figure out
if it's rc.udev, rc.hotplug, or something else. Wasn't there a script
called MAKEDEV that created all these device nodes? It doesn't seem to be
used on Slack 10, instead they seem to be created as needed depending on
what hardware is present. So what's going on here? Anyone else run into
this?

thanks much






Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 02:41 PM
Jeffrey Froman
 
Posts: n/a
Default Re: /dev/sda1 not being created

chud wrote:

> something creates /dev/sda1 for me, but I can't figure out
> if it's rc.udev, rc.hotplug, or something else. Wasn't there a script
> called MAKEDEV that created all these device nodes? It doesn't seem to be
> used on Slack 10, instead they seem to be created as needed depending on
> what hardware is present.


With the 2.6 kernel on Slackware 10, creating device nodes is done on the
fly by udev (as you guessed), and MAKEDEV is obsolete. That's the only clue
I can offer, though, because I don't know how you'd make sure such a device
was created when you need it. My guess would be that there's a way to
configure udev such that /dev/sda is created at boot time even though you
don't have a real device that correlates with it.

Good luck,
Jeffrey
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 10:28 AM.


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