rem: BString		mounted_at	=	"                 "; BVolume		volume (dev_num); BDirectory	vol_dir; volume.GetRootDirectory(& vol_dir); BPath	path	(& vol_dir, NULL); mounted_at.Insert(path.Path(), 0);
add: char mount[B_PATH_NAME_LENGTH]; mount[0] = '\0';  BVolume	volume(device); BDirectory root; if (volume.GetRootDirectory(&root) == B_OK) { BPath path(&root, NULL); strlcpy(mount, path.Path(), sizeof(mount)); }
context: void PrintMountPoint (dev_t dev_num, bool verbose){	BString		mounted_at	=	"                 ";	BVolume		volume (dev_num);	BDirectory	vol_dir;	volume.GetRootDirectory(& vol_dir);	BPath	path	(& vol_dir, NULL);	mounted_at.Insert(path.Path(), 0);	if (verbose)	{		printf("Mounted at: %s\n", mounted_at.String());	}	else	{		mounted_at.Truncate(17);		printf("%s", mounted_at.String());	}}