IRC channel logs

2025-01-18.log

back to list of logs

<gfleury>Hi
<gfleury>youpi: which hearder file to import for gnu_dev_major
<youpi>manpage says <sys/sysmacros.h>
<gfleury>thanks
<gfleury>youpi: i saw psame_inode check for st_dev and st_ino. It fails i think bc st_ino is 0. With the patch i sent it was by lucky, setting st_rdev to a different value than 0 like 259(1,3) makes the inode of /dev/null to be filled into st_ino
<youpi>doesn't it just compare the values without caring if it's 0 or not?
<gfleury>It compare in all case. But that was i first saw. I wonder why st_ino is 0 when st_rdev equal 0
<gfleury>It's a macro that do xor and | . Let me check it
<gfleury> https://termbin.com/5zfz
<diegonc>hello :)
<diegonc>anyone knows how to set up /dev/null? I did `settrans -g /dev/null` (silly me) and know it doesn't work (fsysopts shows ext2fs in charge and I actually can write and read from it)
<diegonc>nevermind, `MAKEDEV null` gave me a hint to set it to /hurd/null (or actually running `MAKEDEV /dev/null`)
<diegonc>now after a reboot everything is working again \o/