I’m not very familiar with udev so it is possible that I am doing something wrong. But I am looking for some help getting my usb stick renamed so that it has a static name when I mount it or when I try to navigate it. Here are the steps that I am doing:
ls -ld /dev/usb*
drwxr-xr-x 2 root root 60 Aug 22 09:32 /dev/usb
lrwxrwxrwx 1 root root 3 Aug 22 09:32 /dev/usb1 -> sdb
Does this mean my udev rule worked? If so, why is it when I do df I don’t see “usb1” anywhere? I thought the point of this is so when I mount my device I can just call it usb1 instead of trying to figure out what the other name is
As @papajoke told you, df works on mounted file systems.
You can, but you didn’t issue a mount command (where /dev/usb1 would be “usable”) but a whole other command which only works on already mounted filesystems.
No, but for automatic mounting one wouldn’t have adjusted the device name. That’s only needed for us humans…
Anyways, see this for automatic mounting:
and of course there is the arch wiki with its /etc/fstab article (which nowadays gets parsed and translated to those mount units mentioned above): https://wiki.archlinux.org/title/fstab