Re: Linux Kernel readlink equivalent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 29 Jan 2015 13:11:13 -0500, David Legault said:

> I'm working on some linux kernel driver stuff and I have a fake path called
> /dev/blah/whatever that points to /dev/block/real_device.

And *why* is kernel code trying to follow a symlink, anyhow?

(Hint:  there's probably (a) data you want at the other end of the symlink
and (b) a better kernel API for getting at that data, which is why you can't
find examples of following symlinks. ;)

Attachment: pgp7cSY0iQZ9n.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux