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

Re: Tool for blessing HFS+ filesystems required



On 2/3/21 2:52 PM, John Paul Adrian Glaubitz wrote:
> I quickly hacked that together now, but it's not really working yet as some size
> calculations are incorrect:

Works:

root@z6:..hfsprogs/newfs_hfs.tproj> ./newfs_hfs -h /dev/sdl2
Initialized /dev/sdl2 as a 3863 MB HFS volume
root@z6:..hfsprogs/newfs_hfs.tproj> 
root@z6:..hfsprogs/newfs_hfs.tproj> mount /dev/sdl2 /mnt2/
root@z6:..hfsprogs/newfs_hfs.tproj> touch /mnt2/test
root@z6:..hfsprogs/newfs_hfs.tproj> umount /mnt2/
root@z6:..hfsprogs/newfs_hfs.tproj> hmount /dev/sdl2
Volume name is ""
Volume was created on Wed Feb  3 15:19:39 2021
Volume was last modified on Wed Feb  3 15:20:01 2021
Volume has 4048625152 bytes free
root@z6:..hfsprogs/newfs_hfs.tproj> hdir
f  ????/????         0         0 Feb  3 15:19 test
root@z6:..hfsprogs/newfs_hfs.tproj> humount
root@z6:..hfsprogs/newfs_hfs.tproj>

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: