• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Sparsebundle disk images and F_FULLFSYNC -- Yosemite doesn't care?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sparsebundle disk images and F_FULLFSYNC -- Yosemite doesn't care?


  • Subject: Sparsebundle disk images and F_FULLFSYNC -- Yosemite doesn't care?
  • From: Mike Bombich <email@hidden>
  • Date: Thu, 06 Nov 2014 11:12:17 -0500

The hdiutil man page states:

> OS X 10.5 introduced sparse bundle images which compact quickly but are not recognized by previous OS versions.  OS X 10.6 removed support for attaching SPARSEBUNDLE images from network file servers that don't support F_FULLFSYNC.

Up to and including Mavericks, I cannot attach a sparsebundle disk image on, for example, an SMB sharepoint because it lacks support for F_FULLFSYNC:

*****
Mavericks:~ $ sw_vers -productVersion
10.9.2

Mavericks:~ $ mount
...
//email@hidden/Backup on /Volumes/Backup (smbfs, nodev, nosuid, mounted by mike)

Mavericks:~ $ ~/fullfsync /Volumes/Backup
fcntl(fd, F_FULLFSYNC, 1) returned -1, errno: 45
/Volumes/Backup does not support F_FULLFSYNC

Mavericks:~
 $ hdiutil attach /Volumes/Backup/Macintosh.sparsebundle
hdiutil: attach failed - Resource temporarily unavailable

*****

Yosemite, however, allows the attach, on the same filesystem:

*****
Yosemite:~ $ sw_vers -productVersion
10.10.1

Yosemite:~ $ mount
...
//mike@baltar.local/Backup on /Volumes/Backup (smbfs, nodev, nosuid, mounted by mike)

Yosemite:~ $ ./fullfsync /Volumes/Backup
fcntl(fd, F_FULLFSYNC, 1) returned -1, errno: 45
/Volumes/Backup does not support F_FULLFSYNC

Yosemite:~ $ hdiutil attach /Volumes/Backup/Macintosh.sparsebundle
/dev/disk4                                           /Volumes/Macintosh

*****

I don't see any changes in the hdiutil man page or any other Yosemite documentation that would suggest that sparsebundle disk images can now be used on filesystems that do not support F_FULLFSYNC. Is this a bug in Yosemite, or a change in policy for disk images?

Mike
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: read() slower than write() on the same disk
  • Next by Date: Unmounted icon lingering on Desktop
  • Previous by thread: Re: read() slower than write() on the same disk
  • Next by thread: Unmounted icon lingering on Desktop
  • Index(es):
    • Date
    • Thread