try reading kernel's documentation then
Quite funny. What a difference. You are a joker, aren't you...
No, I still don't like devfs. If I hadn't broken one arch config trying to follow "ihatedevfs", I already killed it.
I said that static /dev is best for me, I didn't say that I used it though. Currently I use what the distros use, and that's devfs.
This thread may be useful if you want to switch to a static /dev: http://bbs.archlinux.org/viewtopic.php?t=2729
I didn't try it yet, but probably will when I'm more often behind my pc.
I have to say I'm not that fond of the /dev/disks/disk0/part1 scheme either but I think its mainly because I'm used to the other. Pacman is really nice though.
i3839, (refering to you using static /dev) did you disable devfs in arch or do you use a different distro?
]]>I think this is less than helpful. Does anyone know a better source for Devfs-Whisdom?
]]>--- /etc/devfsd.conf ----
# Register palm device to /dev/pilot
REGISTER ^usb/tts/1$ CFUNCTION GLOBAL mksymlink $devname pilot
REGISTER ^usb/tts/.* PERMISSIONS root.usb 0660
REGISTER ^pilot$ PERMISSIONS root.usb 0660
UNREGISTER ^usb/tts/1$ CFUNCTION GLOBAL unlink pilot
it might work editing /etc/devfsd.conf. As usually there is only ONE psaux device, numbering it by using $1 is obsolete. Please check it, I may be wrong. Here is my tip:
# register /dev/psaux to /dev/mouse
REGISTER psaux CFUNCTION GLOBAL mksymlink $devname mouse
UNREGISTER psaux CFUNCTION GLOBAL unlink mouse
As I have no archlinux available right now, please have a look where the psaux device is located. Don't name me an idiot, it is used as /dev/psaux, so it should be placed there, where else. But if nothing works, check it. If it was inside a subfolder, f.e /dev/misc/psaux/, you should change the lines to REGISTER ^misc/psaux ... .
Btw, if you notice your devfs will not start up after changing this entry, remove it - or better find out what is wrong. In case of syntax errors, devfsd fails to start up.
Tell us if it worked or not, I am in a devfs fight, too.
]]>Devfs is obsoleted in Linux 2.6 though, udev is expected to replace it in the future (see http://www.kernel.org/pub/linux/utils/k … g/udev-FAQ for more info). I guess that Arch will switch to udev when they drop kernel 2.4 support, because devfs works with both 2.4 and 2.6, while udev works only with 2.6.
Personally I don't like devfs because of the daemon and it's naming scheme (/dev/hda1 or /dev/discs/disc0/part1, I prefer the shorter one). And if devfsd makes symlinks to the standard names you get a clutter in /dev. Udev seems great if you have all kind of usb stuff you plug in and out a lot, or change your hardware often, then a dynamic /dev is very useful, but my situation is very static, so I'd prefer a static /dev, with no devfs or udev.
]]>I was really interested in seeing how common using devfs was as I have not run across it before. Given the advantages listed I was wondering why the big distros don't seem to use it.
]]>I'm not aware of anything in the Arch docs that explain why Devfs was chosen over the more common /dev scheme, but I imagine that the reasons have to do with issues addressed in the Devfs FAQ.
]]>I had never heard of the devfs before so I probably wouldn't have gotten this on my own. I had already changed my XF86config to look for /dev/psaux before I posted but I was trying to figure out why it wouldn't work.
I'm curious, do any other distros use devfs I've tried a few of the big distros and haven't come accross it yet?
I'm also curious about the advantages of referencing partitions as /dev/discs/disc0/part3 instead of /dev/hda3 as most other distros do.
]]>ln -s /dev/psaux /dev/mouse
It creates the link at the time but the link disappears when I reboot the system.
I know I can work around this but it seems like this should work.
]]>