Dave Miner wrote: >>> 106: this ought to be inside the block at 108 >>> >>> >> I am inclined to keep it here since the next two statement describe the >> action i.e, stripping >> out the :raw and printing. >> > > Just in case you didn't quite understand my point, there's no reason to > strip the raw part if you're not going to print it. It's not wrong, > just inefficient.
I admit I don't get it. Block and char devices are being printed. The printf at line 109 is has two arguments, The truncated mpath which is the block device and mnp , which is the raw device. Since di_devfs_minor_node_path returns just the device name "/devices", it is appended in the printf. -Sanjay > Dave > > > _______________________________________________ > caiman-discuss mailing list > caiman-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/caiman-discuss >
