[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what is /.udev for ?

On Wed, Feb 09, 2005 at 10:46:29PM +0100, Marco d'Itri wrote:
> On Feb 09, sean finney <seanius@debian.org> wrote:
> > how does /.dev fit in with the fhs?
> It does not, but there is no other place to put it. Just do not look at
> it and it will not bother you.

Just thought there may be a better place to put it: /dev/.dev
It just takes some more fiddling to mount it there:

# mount the old /dev to /dev/.dev
# since /dev is hidden, I need to bind mount / somwhere else first
mkdir /dev/.dev /dev/.tmp
mount --bind / /dev/.tmp
mount --bind /dev/.tmp/dev /dev/.dev
# now I can remove /dev/.tmp
umount /dev/.tmp
rmdir /dev/.tmp

So, no clutter in /, and the old /dev is available in /dev/.dev, where
MAKEDEV should be able to find it, too.

$ sh -c 'kill -ALRM $$'
Der Wecker klingelt

Attachment: signature.asc
Description: Digital signature

Reply to: