When you echo something to new_id the kernelmodule/driver that
owns/manages that "file" handles doing what echoing something to that
"file" is supposed to do.

The defined rule for new_id is it appends the new data to the current
list of pci_ids/usb_ids devices that the driver supports.

Nothing in /sys /proc is a real file and all of these "files" do not
always act exactly like a real file.

Hi Roger, the reason why I queried this was I always thought that "echo 'A' > /run/fred" would write "A" to /run/fred by overwriting /run/fred, and, to get it to append you needed to use ">>" instead of ">", hence I was surprised when I looked at the contents of the specified field and found the data seemed to be being appended.

regards,
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue
BEGIN:VCARD
VERSION:4.0
N:Morris;Stephen;;;
FN:Steve
EMAIL;PREF=1;TYPE=home:[email protected]
END:VCARD
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to