Sample Header Ad - 728x90

Why to use udev rule to insure persistent naming/permission instead of mknod?

3 votes
2 answers
1206 views
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 "create an alias", something like it: [root@dbnode1 disks]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdd 8:48 0 160M 0 disk mknod /disks/QUORUML b 8 48 Now I'd like to know why to use udev rules instead of mknod, since mknod is very simple to use. My main point is insure persistent naming and permission.
Asked by Astora (509 rep)
Jun 25, 2022, 08:09 PM
Last activity: Jun 25, 2022, 09:00 PM