Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th May 2005, 10:40 AM
Otter Offline
Registered User
 
Join Date: May 2005
Posts: 15
mknod problems

Hi,
I used mknod to create a file in /dev/, but I got the major/minor numbers wrong.

So I did rm <name> while in /dev/
It prompted, if I wanted to delete the special file, I said yes.

And I issued
mknod <name> c with the correct major and minor numbers

but mknod says
"<name>" invalid argument

<name> is not what I actually used, thats just so you see how I typed the command. The actual name was "toilet"

Any idea why mknod now will not let me create another file with that name? It does NOT say the file already exists.

Been searching the net, but can't seem to find a solution, seems most people who have any issues with mknod is from not being root. But I was logged in as root the entire time (not su)

The system is: FC3 with the latest stable kernel release from Redhat

Any thoughts or suggestions?

Thanks in advance,
Otter
Reply With Quote
  #2  
Old 6th May 2005, 11:07 AM
AndyGreen's Avatar
AndyGreen Offline
Registered User
 
Join Date: Apr 2005
Location: Northants, UK
Posts: 2,026
lol problem creating the toilet device.

Is your toilet device module in memory? Maybe that is the issue: modprobe -r it first if so.

Another shadowy hand behind this kind of inexplicable evil is often SELinux. Try turning that off temporarily.

Try creating toilet1 with the same minor and major numbers. Try creating toilet with minor number+1.
__________________
Freelance RedHat Certified Engineer - http://northantsIT.com
Reply With Quote
  #3  
Old 7th May 2005, 09:21 AM
Otter Offline
Registered User
 
Join Date: May 2005
Posts: 15
Thanks for the tip, disabling SE did it. Not sure why though

And yes, it is a toilet!

School project and I need to make sure the device name is unique! Plus the mknod problem had me down in the dumps!

Joking aside, was fun learning about Linux, only had Fedora 3 installed for about 4 days, so the system is quite a bit different than winXP. Luckly it has a command line, and you can't beat the linux cmd line.

Thanks for your time!
Reply With Quote
Reply

Tags
mknod, problems

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What package is mknod in? CD-RW Using Fedora 2 15th January 2009 08:11 PM
need to reinstall mknod newusermike Using Fedora 2 13th August 2005 06:06 PM


Current GMT-time: 10:13 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat