NetBSD-Users archive

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

Re: ZFS chroot cannot open dev nodes



> On 12. Feb 2020, at 14:26, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
> 
> On Wed, 12 Feb 2020 at 12:16, Roy Marples <roy%marples.name@localhost> wrote:
>> 
>> I'm experimenting with ZFS on a new server.
>> Trying to get root on ZFS, but it's not working with device nodes.
>> 
>> Here are exact steps from the real root on FFS.
>> There is a zfs mount on /tank/ROOT.
>> 
>> # cd /tmp
>> # mknod null c 2 2
>> # echo test >null
>> # cd /tank/ROOT/tmp
>> # mknod null c 2 2
>> # echo test >null
>> -sh: cannot create null: error 22
>> 
>> Any clue as to why?
>> zfs gets devices shows that every mount has it set to on and mount does not
>> report the nodev option, so it *should* work.
>> 
>> What am I missing? Does anyone else see this?
>> 
>> This is NetBSD-9.0_RC2 if that helps.
> 
> Same on -current from 15 minutes ago, but I guess it was expected.

Please try again with Rev. 1.57 of
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c

--
J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig


Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index