Attach file to a block device: # lofiadm -a /export/home/test then /dev/lofi/1 will be created
Create a UFS file system: # newfs /dev/rlofi/1
Mount device: # mount /dev/lofi/1 /mnt
Display the space: # df -h /mnt
Unmount: # umount /mnt
Delete block device: # lofiadm -d /dev/lofi/1
评论:
ha, it's an useful command.
I'd like to try this command, but I have no solaris box. It's said Sun provides solaris box to opensolaris community, developers outside of sun can get account for these solaris boxes, and telnet them to try it. Is that true?
发表于 tubo 在 2007年08月01日, 08:45 下午 CDT #
发表于 Yandong Yao 在 2007年08月01日, 09:08 下午 CDT #
Cool. I have registered an account. thanks a lot:-)
发表于 Tu Bo 在 2007年08月17日, 03:21 上午 CDT #