Questions tagged [mknod]
5 questions
2
votes
2 answers
Why to use udev rule to insure persistent naming/permission instead of mknod?
I have seen some configurations using udev rule to insure the disk name and permissions in the disk. But recently I've find out a command called mknod, where it works like an alias to the block device, by specify the major:minor of the disk, we can…
Potter
- 425
- 4
- 12
2
votes
1 answer
Docker: bash: /dev/null: Permission denied
I use docker to unpack a linux chroot and then execute commands into it, but I get this inside the chroot.
echo ciao > /dev/null
bash: /dev/null: Permission denied
I thought that the null device must be corrupted so I tried something else:
rm -f…
LtWorf
- 141
- 1
- 7
2
votes
1 answer
What does mknod do?
So the mknod command, what does that do?
/dev/random$ mknod -m 666 random c 1 8
I understand that -m specifies permissions, and that mknod overall create an inode in the filesystem which can be a file, directory, device, fifo, etc...but I really…
leeand00
- 4,443
- 10
- 51
- 78
1
vote
0 answers
How to mount device that appears in /proc/devices but not /dev?
I'm using a bare bones Linux distribution running on a Phytec i.MX6 ULL SoM on the Phytec demo board for this SoM. I need to be able to copy a file from an SD card.
I flashed the SoM NAND from an SD card in the demo board SD card slot so I know the…
cdahms
- 121
- 4
0
votes
1 answer
Dumb terminal agetty keyboard layout filter
I recently acquired an old Heathkit dumb terminal, and I would like to get it working with the colemak keyboard layout. Because the terminal sends ascii codes directly over serial, I don't believe anything like loadkeys will work. (If there is a…
runrin
- 31
- 2