gmzang / maczfs

Automatically exported from code.google.com/p/maczfs
Other
0 stars 0 forks source link

Cannot empty trash on ZFS filesystem #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Emptying the trash with a ZFS-mounted home directory fails to work. Apparently, 
this is an 
"iterator problem" according to Noël:

  Also, the Trash not emptying bug was due to an iterator issue (ZFS counts '.' and '..' as items) 
and not a Finder issue.

Original issue reported on code.google.com by alex.ble...@gmail.com on 24 Oct 2009 at 9:26

GoogleCodeExporter commented 8 years ago

Original comment by alex.ble...@gmail.com on 24 Oct 2009 at 9:29

GoogleCodeExporter commented 8 years ago
Try applying 
http://github.com/jasonrm/mac-zfs/commit/11c1e187f7bd0697f7d4961b3a4ef1bf319c89f
9 and 
see if that fixes it for others as well.

As far as I can tell, that should be the only change needed. This fix comes 
directly from the 10a286 code that 
Apple provided.

Original comment by jason.richard.mcneil on 28 Feb 2010 at 10:55

GoogleCodeExporter commented 8 years ago
Jason,

Great stuff. I'll try this out in the near future.

Original comment by alex.ble...@gmail.com on 28 Feb 2010 at 11:37

GoogleCodeExporter commented 8 years ago
This didn't work for me - when I tried to delete something that I'd put in the 
trash, I got a kernel panic. I'm 
going to reopen this one in the interim. I suspect there might be some more 
cases where we need to do the 
change, and will attach a debugger to see if I can find out what the crash is 
all about.

Original comment by alex.ble...@gmail.com on 6 Mar 2010 at 1:24

GoogleCodeExporter commented 8 years ago

Original comment by alex.ble...@gmail.com on 6 Mar 2010 at 1:30

GoogleCodeExporter commented 8 years ago
Even though 
https://github.com/alblue/mac-zfs/commit/613276b9c2e874eecbee8223d1c957a58f7ee77
9 and 
http://github.com/jasonrm/mac-zfs/commit/11c1e187f7bd0697f7d4961b3a4ef1bf319c89f
9  are basically the same thing, I can't figure out what the problem was for 
the issue raised in comment 4 by me.

I have built MacZFS-74.0.1 with this patch and it works for me on Intel (10.5.8 
and 10.6.5) and PowerPC (10.5.8).

http://code.google.com/p/maczfs/downloads/detail?name=MacZFS-74.0.1.pkg&can=2&q=

Original comment by alex.ble...@gmail.com on 9 Dec 2010 at 1:29

GoogleCodeExporter commented 8 years ago

Original comment by alex.ble...@gmail.com on 20 Jan 2011 at 1:09