Re: [darwin-kernel] devfs_make_node mutilates pathname on Leopard?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hello Sam, Alex Am 20.12.2007 um 02:46 schrieb Sam Vaughan: On 19/12/2007, at 10:35 AM, Terry Lambert wrote: This is probably the approach we will end up taking... just have to actually do it :) Oi! That's my code you'd be ripping out! ;o) Terry, Sam _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/below%40mac.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... do devfs_make_node did not cut off the last character of each directory name? This is why I had orginally started this therad On Dec 13, 2007, at 8:41 PM, Sam Vaughan wrote: On 14/12/2007, at 7:05 AM, Terry Lambert <tlambert@apple.com> wrote: Given that subdirectories in /dev are not supported, and may be removed, if we end up needing to do that for some technical reason, it's probably better to just go that route on both 10.4 and 10.5 instead. The reason for the subdirectories in the first place was to allow LUNs to be identified by the port and node WWNs on the host and RAID controller that uniquely described their path on the fibre channel network. The WWNs are too long to include in the one devfs node name, so the only option is to use a hierarchy. Subdirectories do not remove the node name length limit. I just got a chance to try devfs_make_node() again on Leopard and it still allows long path hierarchies just as it used to: $ find /dev/Curiosity -name Leopard -exec ls -l {} \; cr--r----- 1 root operator 17, 0 Dec 20 12:30 /dev/Curiosity/ got/the/better/of/me/so/I/dusted/off/some/old/code/to/try/a/deep/dev/ hierarchy/on/Leopard $ This email sent to below@mac.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Alexander von Below