William H. Magill on 28 Feb 2005 15:38:40 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] OSX "middleware"?


On 27 Feb, 2005, at 19:35, Carlos Konstanski wrote:

Got that patch for disabling fsck in the HFS filesystem driver.  Looks
pretty basic.  The file is /usr/src/linux/fs/hfsplus/super.c :

...

Looks like he changed a few messages to the user, and commented out any
place in the code where the sb->s_flags flag gets masked with MS_RDONLY.
My guess is that write functions in the API will not perform a write if
this flag is set. By commenting out all the places where this flag
could get set, he avoids the problem of write functions refusing to
write.


A hack?  Sure, but hopefully its useful lifespan will be short.  All we
need is an fsck.hfsplus program.

? Isn't the OS X version (fsck_hfs) part of Darwin?

There's a version of it in HP-UX and FreeBSD.


T.T.F.N. William H. Magill # Beige G3 [Rev A motherboard - 300 MHz 768 Meg] OS X 10.2.8 # Flat-panel iMac (2.1) [800MHz - Super Drive - 768 Meg] OS X 10.3.8 # PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg] Tru64 5.1a # XP1000 [Alpha 21264-3 (EV6) - 256 meg] FreeBSD 5.3 # XP1000 [Alpha 21264-A (EV 6.7) - 384 meg] FreeBSD 5.3 magill@mcgillsociety.org magill@acm.org magill@mac.com whmagill@gmail.com

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug