- 论坛徽章:
- 0
|
原帖由 cockroachzl 于 2006-9-8 00:46 发表
那请问solaris分区的-t后的参数是什么?
都是使用 -t ufs,只是你要自己传入 -o ufstype=xxxx 项目。这个 mount manpage 都可以找到,您可以自己先看看。
- Mount options for ufs
- ufstype=value
- UFS is a file system widely used in different operating systems.
- The problem are differences among implementations. Features of
- some implementations are undocumented, so its hard to recognize
- the type of ufs automatically. That's why the user must specify
- the type of ufs by mount option. Possible values are:
- old Old format of ufs, this is the default, read only.
- (Don't forget to give the -r option.)
- 44bsd For filesystems created by a BSD-like system
- (NetBSD,FreeBSD,OpenBSD).
- sun For filesystems created by SunOS or Solaris on Sparc.
- sunx86 For filesystems created by Solaris on x86.
- hp For filesystems created by HP-UX, read-only.
- nextstep
- For filesystems created by NeXTStep (on NeXT station)
- (currently read only).
- nextstep-cd
- For NextStep CDROMs (block_size == 2048), read-only.
- openstep
- For filesystems created by OpenStep (currently read
- only). The same filesystem type is also used by Mac OS
- X.
复制代码还有,怎么知道我的内核是否支持ufs文件系统,谢谢
要支援,系统就是:
1. 编译核心时有 bsd partition 的支援,可以参阅编译核心时于 Filesystem 项目内的 Partition Types,可以选:
- │[*] PC BIOS (MSDOS partition tables) support
- │ │[*] BSD disklabel (FreeBSD partition tables) support
复制代码
2. 编译核心时于 Filesystem 项目内的 Miscellaneous filesystem,可以选:
- <M> UFS file system support (read only)
复制代码
简单说,开机跑 dmesg 自己确认一下,一般会看到像是:
- Partition check:
- hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 > hda4 < hda9 hda10 >
复制代码
若你的 freebsd 分割区是划分在 hda4 上,那有看到 hda9 与 hd10 这类那就是 kernel 支援 bsd partition了。
剩下就是 mount 动作,是否支援 ufs filesystem,mount 时会告诉你。不支援就是 kernel don't support .. 的提示。
== |
|