Is it possible to create a directory under /dev?
Norberto Meijome
freebsd at meijome.net
Fri May 23 01:33:07 UTC 2008
On Thu, 22 May 2008 10:02:08 +0300
Andriy Gapon <avg at icyb.net.ua> wrote:
> But, by the way, there is a (slightly) more valid reason to want to
> create a directory under /dev, I recently had it. For one non-standard
> third-party application I needed to create a link to existing device in
> a certain subdirectory. I.e.:
> /dev/subdirX/device -> /dev/deviceX
> And I couldn't do that.
> Or maybe link operation for devfs just needs to be taught about creating
> subdirectories on demand. I don't know.
you can create links with devfs - man devfs.conf
[...]
link This action creates a symbolic link named arg that points to
devname, the name of the device created by devfs(5).
[..]
B
_________________________
{Beto|Norberto|Numard} Meijome
...using the internet as it was originally intended... for the further research of pornography and pipebombs.
I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.
More information about the freebsd-stable
mailing list