dev_valid_name(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Okay bestie, welcome to dev_valid_name(9) from the Kernel API Manual πŸ’– β€” this function is literally here to check if name is okay for a network device. That’s the assignment, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

bool dev_valid_name (const char *name );

πŸŽ€ ARGUMENTS πŸŽ€

  • name β€” name string. That’s it, that’s the one and only argument, and yes it’s just a string 🫢

🌸 DESCRIPTION 🌸

Network device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.

So if you were thinking about sneaking some whitespace in there: absolutely not, bestie πŸ’… periodt.


πŸ‘‘ SEE ALSO πŸ‘‘

The SEE ALSO roster is giving extended-friend-group energy, and the Kernel file ./net/core/dev.c is part of the whole situation too. Obsessed πŸŽ€


Okay that’s the whole page, bestie πŸ’– big cute sign-off shoutout to the source/version ./net/core and the date October 2026 β€” dev_valid_name(9) out, mwah! πŸŽ€πŸ’…πŸ¦‹

πŸ“¦ where this page comes from