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