Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 1998 12:29:38 -0800
From:      Julian Elischer <julian@whistle.com>
To:        shimon@simon-shapiro.org
Cc:        current@FreeBSD.ORG
Subject:   Re: devfs persistence
Message-ID:  <34E9F331.773C2448@whistle.com>
References:  <XFMail.980217114957.shimon@simon-shapiro.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Simon Shapiro wrote:
> 
>
> > you cannot mknod. only the drivers can make nodes.
> > (though there are ways to solve some problems you might normally
> > try use mknod for)
> 
> Ah, too bad.  This means I cannot make stupid mistakes anymore?

in theory.. in practice you can still rm /dev/rsd0s1a  :)

> 
> >> Oh, a /dev DEVFS mounted, can it create links and/or symlinks?
> >> Why not?
> >
> > The user can use ln (with or without -s)
> 
> Can the user do mkdir in /dev?
yes
The operations a user can do are:

ln
ln -s
rmdir
mv
rm
chown
chmod
chgrp
(?touch?)

> 
> So, if I create a file /etc/devfs.conf with something like :
> 
> # Sample /etc/devfs.conf
> 
[stuff removed]

yes

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34E9F331.773C2448>