home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14297 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  939 b 

  1. From: dan@hpnmdla.sr.hp.com (Dan Pleasant)
  2. Date: Thu, 20 Aug 1992 19:53:38 GMT
  3. Subject: Can't rename disk under system 6?
  4. Message-ID: <450021@hpnmdla.sr.hp.com>
  5. Organization: Hewlett-Packard, Santa Rosa, CA
  6. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!sdd.hp.com!hpscdc!hplextra!hpl-opus!hpnmdla!dan
  7. Newsgroups: comp.sys.mac.programmer
  8. Lines: 18
  9.  
  10. Here's a strange situation, but I'll bet that somebody has run across
  11. it before...
  12.  
  13. I'm calling PBHGetVolInfo to get a floppy disk's volume info.  Then I
  14. change the ioNamePtr field to a different name (and set the
  15. ioCompletion field to NULL) and call PBSetVolInfo.  This should change
  16. the name of the disk, right?
  17.  
  18. Well, under system 7 it works like a champ.  Under system 6.0.7/multifinder
  19. it doesn't work.  Actually, PBSetVolInfo returns noErr, but the name of
  20. the floppy disk never gets changed anyway!
  21.  
  22. Anybody know what's going on here?
  23.  
  24. Thanks to all responses,
  25.  
  26. Dan Pleasant
  27.  
  28.