LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Creating device nodes to point to arbitrary locations on a hard drive (http://www.linuxquestions.org/questions/linux-general-1/creating-device-nodes-to-point-to-arbitrary-locations-on-a-hard-drive-944501/)

1veedo 05-11-2012 09:59 PM

Creating device nodes to point to arbitrary locations on a hard drive
 
Without really considering that windows uses 2 partitions when you install it I ended up allocating all 4 of my primary partitions, but with unused free space at the end. I've had this configuration for at least a year and I don't really need the space but I thought it would be fun to see if it was possible to generate an arbitrary device node (ie with mknod or something) that would point to the free space left on the drive.

So is it possible to generate a device node yourself to essentially emulate the existence of a partition?

Ser Olmy 05-11-2012 10:15 PM

No, that is not possible. A device node for a partition points to a structure in the kernel, not to an area on the disk.


All times are GMT -5. The time now is 08:57 AM.