-
devfs and /etc/fstab
Hi,
I would like to provide a minimal set of devices in a chroot'ed (not
jail'ed) place using /etc/fstab. I can provide the standard ruleset by
devfs /var/spool/postfix/dev devfs rw 0 0
but how can I provide a limited set of devices, e.g. only null, zero,
crypto, random and urandom?
Thanks, Helmut
--
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn
-
Re: devfs and /etc/fstab
On May 6, 1:20 pm, "Helmut Schneider" <jumpe...@gmx.de> wrote:[color=blue]
> Hi,
>
> I would like to provide a minimal set of devices in a chroot'ed (not
> jail'ed) place using /etc/fstab. I can provide the standard ruleset by
>
> devfs /var/spool/postfix/dev devfs rw 0 0
>
> but how can I provide a limited set of devices, e.g. only null, zero,
> crypto, random and urandom?
>
> Thanks, Helmut
>
> --
> No Swen today, my love has gone away
> My mailbox stands for lorn, a symbol of the dawn[/color]
Unless I'm misunderstanding the question, check devfs(8):
devfs -m /chroot/env/dev rule -s 20 applyset
-
Re: devfs and /etc/fstab
Pete <news@redlamb.net> wrote:[color=blue]
> On May 6, 1:20 pm, "Helmut Schneider" <jumpe...@gmx.de> wrote:[color=green]
>> Hi,
>>
>> I would like to provide a minimal set of devices in a chroot'ed (not
>> jail'ed) place using /etc/fstab. I can provide the standard ruleset by
>>
>> devfs /var/spool/postfix/dev devfs rw 0 0
>>
>> but how can I provide a limited set of devices, e.g. only null, zero,
>> crypto, random and urandom?[/color]
>
> Unless I'm misunderstanding the question, check devfs(8):
>
> devfs -m /chroot/env/dev rule -s 20 applyset[/color]
And the fstab-part?! :)
--
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn