戻る

hfsutils Debian

だれか 個猫に説明 してくれないだろうか? 英語英語英語! 勝手な解釈を しておきます。

http://www.mars.org/home/rob/proj/hfs/
http://linux.die.net/man/1/hfsutils

https://sites.google.com/site/shawnhcorey/howto-create-a-bootable-usb-drive-from-an-iso-image-for-apple-powerpcs-in-linux

...
The hmount command mounts the partition so the other commands can work with it. The hcopy command copies the yaboot program to the USB drive. Its -r option means copy raw; no conversion takes place. The colon is the HFS root directory. HFS uses colons where Linux uses slashes. The first hattrib commands sets the attributes of the yaboot program. The tbxi code is a special code used by Apple to signify that the program is the bootloader program. There should be only one of these on a device. The second hattrib commands blesses the root directory. I'm not sure what this means but it is required for the device to boot. Finally, the humount dismounts the partition. ....

https://sites.google.com/site/shawnhcorey/system/app/pages/sitemap/hierarchy
https://sites.google.com/site/shawnhcorey/howto-boot-apple-powerpcs-from-a-usb-drive-in-open-firmware

また 次のような 確認もしておきました。容量について

# hformat /dev/sda2
Volume name is "Untitled"
Volume was created on Sun Nov 20 21:48:41 2011
Volume was last modified on Sun Nov 20 21:48:41 2011
Volume has 206427648 bytes free

# hmount /dev/sda2
Volume name is "Untitled"
Volume was created on Sun Nov 20 21:48:41 2011
Volume was last modified on Sun Nov 20 21:48:41 2011
Volume has 206427648 bytes free

当然 ここまで同じでしょう でも mount はされていないようです (ここで いう mount はどういうものか はおいといて )

# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda15            13388696   3828816   8879772  31% /
tmpfs                   320844         0    320844   0% /lib/init/rw
udev                    315784       236    315548   1% /dev
tmpfs                   320844         0    320844   0% /dev/shm

書き込んだ後で 再度確認すると 当然 yaboot の容量 189996 位少なくなっ ている筈 なんですが 如何でしょうか?

# hmount /dev/sda2
Volume name is "Untitled"
Volume was created on Sun Nov 20 21:48:41 2011
Volume was last modified on Sun Nov 20 22:08:41 2011
Volume has 206234112 bytes free
# humount

勘違いですか 合わないな??

206427648-189996=206237652

まあ 良く理解 していないので 追求は これ以上 止めておきまあーす!

にゃんたろう 拝!

2011年12月 3日 (土) 21:08:55 JST 作成


戻る

Copyright © 2006.-2012. nyantarou All Rights Reserved.